{"name":"umi-plugin-routes","version":"1.5.0-beta.4","main":"./lib/index.js","devDependencies":{"umi-types":"0.4.0-beta.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: [['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.4","_nodeVersion":"10.13.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-6NXQQ+JcEmFT9juEflFsjEhvaNaqSs+EQo873Mr+UrndL/bWjTpD2vdVh2ZuVa0s9kXFFWpDgw5AVRb+pA5T6A==","shasum":"8b8f769bb8810cbfa04b5893f5b53f4af63ecd90","tarball":"http://registry-npm.ywwl.com/umi-plugin-routes/download/umi-plugin-routes-1.5.0-beta.4.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\nwsFcBAEBCAAQBQJda9BjCRA9TVsSAnZWagAAh70P/1A9WsEhkmPjFuuliFY1\nMt62Gk0adW8U1k2C//DzSmmW8DNS7fZ7z9QJmPfbGU+dELFe9Wryfta9hM1U\ngtfFqeKZXDlpb8P/CnzZqRhJh66kWekMRd/ltzBL6nCtGYZ+zJxVwfV8Flno\nuIJ72QvN7FVVl7k7QjYAZ5Y8n6MuP3WTI8LCLdhMU2GoIubDMU/DaAYLApfk\no4H2xAWN2S2DNk/xW2Xg9rfVruqQmh99mP7yvMrx0fZzAgqoZ+KXqGGDSWwV\nMj2yFjXKy2l6HDkyM96ds1YecNy3ePg60Pp5hI8ro8YwrwCJyRo2jh7VQGh3\ntWr7md7YrQZMi1LAGF5V1PTsPWAqu1gvbvYq6ZyJal1aM9wac4htKb6r7hZ8\nDDN0hH+lAk29VjsPdTaNluc1fpUPBdFFbeVlDXJhODt6C2Jlil0bLsWALPS0\nu+n5YviYDfdyFSsZHUALQf6UVZQ5c4IiPTO7Pm+c6jByjOZpMPR83knpXmqw\nC7xEX1C8yWSCb+tb2sAEICt7hRuPMgbpEKvIoAT2x3wWz82MpDias3mYdyq3\ngU1+cCmxqAsv5a6mUwxyT1xoK8B4CWqrDoWcJxNVDvcY6zKZ914dwQFsA/LX\nLyZR8uZCyEA8jeMyi6CE/p/HRrHQzsoCJgvJT3aIeUVjvnT7h8G8QtKaHPiP\nK1Tz\r\n=wZ0r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqXGQ5GQiq7VaYQDf++xlU9IhWMbfxfkBFh/4UtYiRVQIgVQyO7ubdYgkue2tbcAbFFCFWDtxUEcJPPeIC0dMhG2U="}],"size":2154,"noattachment":false,"key":"/umi-plugin-routes/-/umi-plugin-routes-1.5.0-beta.4.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.4_1567346787260_0.9570264971074507"},"_hasShrinkwrap":false,"publish_time":1567346787467,"_cnpm_publish_time":1567346787467,"dist-tags":{"latest":"1.8.9","next":"1.8.6-beta.1"}}