{"name":"umi-plugin-routes","version":"1.3.0-beta.1","main":"./lib/index.js","devDependencies":{"umi-types":"0.3.4"},"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.1","_nodeVersion":"10.13.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-OzbrSpxzAykhLsjRKrnDv0JpU6WN1C0m9v+iHda8Bv7hloGvxSqPK2ZdoFxg+itpGxVzfLzoDk6OWy8JK5c+vA==","shasum":"f6522eda3d8f359c36c4402ebd154e363f8891b8","tarball":"http://registry-npm.ywwl.com/umi-plugin-routes/download/umi-plugin-routes-1.3.0-beta.1.tgz","fileCount":8,"unpackedSize":7764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3oPgCRA9TVsSAnZWagAAGwsP/3ty/6RmWuxJWcPLClwT\nGzM+d6hWUbU+qfie9Kg1YNAvIS1W8YINYP5s+vOSETRXnv7uwFYLesTn+n7W\nuZUMi47p39zt+wXVzY7d4NDl5vUNo3cycG9uYs3v/JMB0Ng3xzkLQxEm9vlc\n5502wO5/dHPMRvTWSzIX+OGggBxI9Ry1pB3jzxef3ielEoSuqE91Jm+aZpC1\nXtxGz6mEW4k8rTgxf9IN08lt/9ZiWwjDzQ+Y/dvshEB4nkleBYAGFrevqYYK\n20iRe7kzKQVZ1rU0iHX9iWtGc2Dr65TUU1h+HfkqeSEyOiWucQhBSpT90zg0\n83bSVLUU5SfjeFpn02cKrlOZ+zSEvK7X6m71FpTY/2k/UxH85itgeXF49Jpq\ndbswPQejSgFOt3bWtZ03wf43FXkdvZCFU8R/UyaxW/kLgD5xFQvjgoYdmeW7\nCyQBYyr90OvVbGzjYvW1EOETCk0RSy1h05vrigJOyems3WzU5Sz4GXxDw9/k\nCns1JpR5SnEUWl/MS6eOYeKX0RJKNBUKmRJZ3mTFHCKSAg0JkOJx9jSC9wgH\n0bv2f59oGsI02KfxctDVqyca18Tld+m6lSvJ1eGX93CZUeP96hQHaMLNFzVr\nKg04/8Dcylc+BgheNFDh3h2bUvmrRBn8axRMQAuepfWGQP3txQQMr4BE+qhj\n1adM\r\n=clgm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC0gVYT3g1pouQFlPWFc4b38A1uSwK9rGwRuJbBmxa+wAiEAtP5X3j6IYLMlnGTXXUxBpcrIPxRAxLABjs5Fivm7VE0="}],"size":2255,"noattachment":false,"key":"/umi-plugin-routes/-/umi-plugin-routes-1.3.0-beta.1.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.1_1558086623732_0.013798642313882725"},"_hasShrinkwrap":false,"publish_time":1558086623875,"_cnpm_publish_time":1558086623875,"dist-tags":{"latest":"1.8.9","next":"1.8.6-beta.1"}}