{"name":"umi-plugin-routes","version":"1.5.0-beta.3","main":"./lib/index.js","devDependencies":{"umi-types":"0.4.0-beta.3"},"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.5.0-beta.3","_nodeVersion":"10.13.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-djABRwgvvZtSZ6C0irC8PE8GnH49Komh53zYYCPf0BX2wxMs/2DLNmzQbsYLkW3KU8BSpBZqANQgQA5CbIXUvw==","shasum":"6e1c6da8f7d72d4da7abf801aac71de79029c598","tarball":"http://registry-npm.ywwl.com/umi-plugin-routes/download/umi-plugin-routes-1.5.0-beta.3.tgz","fileCount":7,"unpackedSize":6954,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdagBiCRA9TVsSAnZWagAA4W0QAIi2VKsSDUrzXiAdKwjv\ntK4GIMD98+9kUZ1Q7AKEarvTIKMra0v/8hPnOo28xI8IrFSQwwLd7Of4jLcb\nJBKZGj9UeXcinj+g+1YPTuP8vQkaqig+VzIiZSQNKueRO4OJ55eutlH3WYbz\nCCK8DIvyP4YGysApOtDqHsYECoj0Ad41tzlbmz/tPbwYFCJjU+R6o4RpGydW\nH14DIucLFXzjveLfDTWXlOzVyAHirRv2p2IOrCfNMyMso+Y+ssCf+DftDzMf\ndGP0dELC7hzQjP0+xIRmU5dmbmtIHtN8VkhQOOiZXwDa1tGolBAn7CDawvgx\nVybtdMYmIBHoCTdzuJX1/jsVFjP6s4hUbDU2l9ACptdzbbnLKMyDpCHbWxFT\n86yg9tCYUoODyylezYB+yRERGJnk6x1paDLzAjZX0NF2kCHOl7VJttHDQwFd\nHYvlzHNbOiVi4e2NkcKsM/RkQSe71XqYBdKdToDZLlgaDI/EbWfJh6SpQLco\n2rgZoEj6sRfCa8tbQ/I/02p7f9K+skvSRm7FuWr0nqSJClQqGcLvlyJy6dje\nbGk5n5LNzW/qPThBr40gZDVdvVQ8it8ILZyiJ0butIRJTTKsRxKqZmO7tjDo\n21VgBXu9cq/Hx/UfLYDvDlB1GF2cHIC/T6nz28iplyxbnuf1oyP/X7b2ao+n\nm4hT\r\n=ZQSX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhdS9tvklImx8l2fWdJ2lVZHYxS5KWeTXigTd8lbYX0QIhAMs0ufnhr2iae9FAasSvyzbfXxGsQ1CWhID3avQWIveb"}],"size":2154,"noattachment":false,"key":"/umi-plugin-routes/-/umi-plugin-routes-1.5.0-beta.3.tgz"},"maintainers":[{"email":"sorrycc@gmail.com","name":"sorrycc"},{"email":"45808948@qq.com","name":"ycjcl868"},{"email":"yutingzhao1991@sina.com","name":"yutingzhao1991"}],"_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/umi-plugin-routes_1.5.0-beta.3_1567228001566_0.9766736977147987"},"_hasShrinkwrap":false,"publish_time":1567228001713,"_cnpm_publish_time":1567228001713,"dist-tags":{"latest":"1.8.9","next":"1.8.6-beta.1"}}