{"name":"umi-plugin-routes","version":"1.3.0-beta.2","main":"./lib/index.js","devDependencies":{"umi-types":"0.3.5"},"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: [\n    ['umi-plugin-routes', option],\n  ],\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.3.0-beta.2","_nodeVersion":"10.13.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-xh5A77tSsAsn63OK1ZPKV8p6UUceHQx/qf583SonxdoWJJ1YhDFBnBZTr4+wUet6UWfJqjkPwqIi20yS2ySXgA==","shasum":"d3addfe4d6ec3d8852c66702e90b0eee1735fdf2","tarball":"http://registry-npm.ywwl.com/umi-plugin-routes/download/umi-plugin-routes-1.3.0-beta.2.tgz","fileCount":8,"unpackedSize":7668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5VFuCRA9TVsSAnZWagAAUGEP/12IeY7of3sVh2B2ORos\nODrV911PKNFfba6P9N/1g8eSU6/Z0ar866qjNpDNH1C/UB9u6g/rw2vtF9mt\nOMIdIFrSZSzyqwCYQXcSKtmZjuxOOaaEb1d1VdMoOdAJEyLdlv5C51o6xpcB\njaFcG/TAG5v2U8tiJmKleogvnv6vNbSQsWVEqBi+4yd/qBMIU0L8KGu9Es+Z\nWDxPD1msY/3YrZtiWQ2K0bPZozJgER1pVez8wAO64oExGqEYFZlOUkOzgItZ\nipUBIiiIL0zObZzQTovwE/Wz+7IGKZV/GwZ5LKq/+D6qKGASZ76WKNi8swh5\nMX7uiZbv+8mdPBilqEnA5e3BNpkkNPFDriMXQNCv7MuuCJ41M/4wh28xA6O9\nrV8mC0aiRj7NRO8cvassX8FIUkYmxLxTHIEEOekyP1swcOla/lDDZVx1mY2P\nXpSnV5tJPFk1xQbzW5L0j4vD3RJZAP1QFf/EbXfbhvdYEdkNQn8PeVQ5oq3n\nbXPemMSh9LO6fjdhHog7bd1RNfyOuo+nzAMwcunlOlnTqN3guXGqAyz0Y3WJ\nxrPel407URFfY5spUd0WIiCb5F+ULy+otzbzhP6J/1Wq2ux2p3wIM9CM1j9y\n6fipa5slMgrbEgGCQpDpGP3QajjdYxQm+uG5nxP34b1Rw7LPLNCoA6ZpCqwL\n6d/3\r\n=vwZO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHsPE/Hv0cXgS8PgAJKETWGIEXBAXyjaNCcPQmZ7RzePAiEA6DIn/sjfvwAa4afPW6O3Ite4E468rxgM8FeiL/Jatyk="}],"size":2255,"noattachment":false,"key":"/umi-plugin-routes/-/umi-plugin-routes-1.3.0-beta.2.tgz"},"maintainers":[{"name":"sorrycc","email":"sorrycc@gmail.com"}],"_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/umi-plugin-routes_1.3.0-beta.2_1558532461378_0.5332001728062994"},"_hasShrinkwrap":false,"publish_time":1558532461519,"_cnpm_publish_time":1558532461519,"dist-tags":{"latest":"1.8.9","next":"1.8.6-beta.1"}}