{"name":"umi-plugin-routes","version":"1.8.6-beta.1","main":"./lib/index.js","devDependencies":{"umi-types":"0.5.11-beta.1"},"repository":{"type":"git","url":"git+ssh://git@github.com/umijs/umi.git","directory":"packages/umi-plugin-routes"},"authors":["chencheng <sorrycc@gmail.com> (https://github.com/sorrycc)"],"license":"MIT","readme":"# umi-plugin-routes\n\nroutes modification plugin for umi.\n\n---\n\nSuggest to use together with umi-plugin-react, see our website [umi-plugin-react](https://umijs.org/plugin/umi-plugin-react.html) for more.\n\n---\n\n## Usage\n\nInstall via yarn or npm.\n\n```bash\n$ yarn add umi-plugin-routes\n```\n\nConfigure it in the `.umirc.js`.\n\n```js\nexport default {\n  plugins: [['umi-plugin-routes', option]],\n};\n```\n\n## Option\n\n### option.exclude\n\ntype: `Array(RegExp|Function)`\n\ne.g.\n\n```js\n{\n  exclude: [\n    // exclude all the `models` directory\n    /models\\//,\n    // exclude ./pages/a.js\n    (route) { return route.component === './pages/a.js' },\n  ],\n}\n```\n\n### option.update\n\ntype: `Function`\n\ne.g.\n\n```\n{\n  update(routes) {\n    return [\n      { path: '/foo', component: './bar.js' },\n      ...routes,\n    ];\n  }\n}\n```\n","readmeFilename":"README.md","description":"routes modification plugin for umi.","bugs":{"url":"https://github.com/umijs/umi/issues"},"homepage":"https://github.com/umijs/umi#readme","_id":"umi-plugin-routes@1.8.6-beta.1","_nodeVersion":"10.16.0","_npmVersion":"6.13.1","dist":{"integrity":"sha512-PmnYCTgPsD/AkQFqrQyO48O+DFT9DWWiQsk+mOC0UXDbRnguBk4IVCtKG1rggwNMoBJv4tIzDQUKUGK+oiZchQ==","shasum":"ecd4723208dad0928c3e1d78344f8697389330e2","tarball":"http://registry-npm.ywwl.com/umi-plugin-routes/download/umi-plugin-routes-1.8.6-beta.1.tgz","fileCount":7,"unpackedSize":6955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeDrzZCRA9TVsSAnZWagAA3NEP/A3nlTEMQEV+KZKrJqQV\ntLJ7GUtEFYqztwfq35/RRmErjIO/lWXJBCgmVLgIPcBgcCocZ+DbJQ0jZEae\nySyChQkvsDiEB8pbZZarsNW9ULRFEdbb3pVbAb8vUYhlv67uecx+NLFRULCG\nB18PKcWCDCEel2EGaoSnXaF9ZCqwZHPZfuCHBOTigJS272FaL80mC2l6MlEM\ncV3cUjrNcq1JYMQRZCNfoqTlFLRwP+L/LLANCQ/T3wYZfrYeq1kpVCW3qN9n\niaSBvSBi5VVYTs+S4xsdqoqwn0tonNDwXHyRudNS2b8IK3BnOzvzSwGvXGR9\nZw6kyNS6FTwYztnbcKSvXBouyzaqBDPOAiANoG5Q88uOr45btUfGm24zzB9Z\n+MfJx4fZmQnB0N2PSWrwfSZZ2jz4G2Fj3KS4G0KRAFu0GdJ4kUhXTUF5jz+g\nQAW28cAGq2GEYILdeLBJkC+3VHXuPVzlHxAhX3nuZrYkkS8wYNu2Pl4Eb9tk\nRtp0nZrsXCEGugTDuIiTvqkjwMy3JOSsLu5wovrcBahkIWZqoQu8lRJlGaur\nst45b59OlTy7sDimv3DcZrmGBfLXUMpsAbGmGtwJyEYj5veEZ9fuOEZ/DT4J\nKLoM+r4iwwX/DiIzI8rqGJ/22nvdNZEAM2gCaWTbM08iPuHsVD6ihnFWfSRC\nARYi\r\n=WzTK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdH2sK2QJMYNnqeoq9+mr5oEjwKYTGAqSQDohW5h+ULgIhAJ+tYnkCMtRTwDE+Qc1steoOOMqSfo3fPcJQUKlD5rIU"}],"size":2144,"noattachment":false,"key":"/umi-plugin-routes/-/umi-plugin-routes-1.8.6-beta.1.tgz"},"maintainers":[{"email":"sorrycc@gmail.com","name":"sorrycc"},{"email":"45808948@qq.com","name":"ycjcl868"},{"email":"yutingzhao1991@sina.com","name":"yutingzhao1991"}],"_npmUser":{"name":"ycjcl868","email":"45808948@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/umi-plugin-routes_1.8.6-beta.1_1578024153586_0.2051025162018154"},"_hasShrinkwrap":false,"publish_time":1578024153723,"_cnpm_publish_time":1578024153723,"dist-tags":{"latest":"1.8.9","next":"1.8.6-beta.1"}}