{"_id":"rollup-plugin-flow","_rev":"2882871","name":"rollup-plugin-flow","description":"Remove Flow type annotations before bundling.","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"leebyron","email":"lee@leebyron.com"}],"time":{"modified":"2022-10-06T07:33:36.000Z","created":"2016-07-24T11:00:55.757Z","1.1.1":"2016-12-08T20:41:44.321Z","1.1.0":"2016-12-08T20:36:21.913Z","1.0.1":"2016-08-08T03:52:09.672Z","1.0.0":"2016-07-24T11:00:55.757Z"},"users":{},"author":{"name":"Lee Byron","email":"lee@leebyron.com","url":"http://leebyron.com/"},"repository":{"type":"git","url":"git+ssh://git@github.com/leebyron/rollup-plugin-flow.git"},"versions":{"1.1.1":{"name":"rollup-plugin-flow","version":"1.1.1","description":"Remove Flow type annotations before bundling.","author":{"name":"Lee Byron","email":"lee@leebyron.com","url":"http://leebyron.com/"},"license":"BSD-3-Clause","main":"index.js","files":["index.js","LICENSE"],"homepage":"https://github.com/leebyron/rollup-plugin-flow","bugs":{"url":"https://github.com/leebyron/rollup-plugin-flow/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/leebyron/rollup-plugin-flow.git"},"scripts":{"test":"DIFF=$(rollup -c test/rollup.config.js test/source.js | diff test/expected.js -); if [ -n \"$DIFF\" ]; then echo \"$DIFF\"; exit 1; fi;","test-update":"rollup -c test/rollup.config.js test/source.js > test/expected.js"},"keywords":["rollup-plugin","flow","flowtype","strip"],"dependencies":{"flow-remove-types":"^1.1.0","rollup-pluginutils":"^1.5.1"},"devDependencies":{"rollup":"^0.36.0"},"gitHead":"7e78cdddadab9c6532fa2d7025bc081008dca864","_id":"rollup-plugin-flow@1.1.1","_shasum":"6ce568f1dd559666b77ab76b4bae251407528db6","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"leebyron","email":"lee@leebyron.com"},"dist":{"shasum":"6ce568f1dd559666b77ab76b4bae251407528db6","size":2914,"noattachment":false,"key":"/rollup-plugin-flow/-/rollup-plugin-flow-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-flow/download/rollup-plugin-flow-1.1.1.tgz"},"maintainers":[{"name":"leebyron","email":"lee@leebyron.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-flow-1.1.1.tgz_1481229702430_0.34101062291301787"},"directories":{},"publish_time":1481229704321,"_hasShrinkwrap":false,"_cnpm_publish_time":1481229704321,"_cnpmcore_publish_time":"2021-12-16T20:08:58.711Z"},"1.1.0":{"name":"rollup-plugin-flow","version":"1.1.0","description":"Remove Flow type annotations before bundling.","author":{"name":"Lee Byron","email":"lee@leebyron.com","url":"http://leebyron.com/"},"license":"BSD-3-Clause","main":"index.js","homepage":"https://github.com/leebyron/rollup-plugin-flow","bugs":{"url":"https://github.com/leebyron/rollup-plugin-flow/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/leebyron/rollup-plugin-flow.git"},"scripts":{"test":"DIFF=$(rollup -c test/rollup.config.js test/source.js | diff test/expected.js -); if [ -n \"$DIFF\" ]; then echo \"$DIFF\"; exit 1; fi;","test-update":"rollup -c test/rollup.config.js test/source.js > test/expected.js"},"keywords":["rollup-plugin","flow","flowtype","strip"],"dependencies":{"flow-remove-types":"^1.1.0","rollup-pluginutils":"^1.5.1"},"devDependencies":{"rollup":"^0.36.0"},"gitHead":"94fe28093f40deab2b6258a52e41ca655aede358","_id":"rollup-plugin-flow@1.1.0","_shasum":"e30b53ba05890e719820756f2b889cff9e35dd3f","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"leebyron","email":"lee@leebyron.com"},"dist":{"shasum":"e30b53ba05890e719820756f2b889cff9e35dd3f","size":2736,"noattachment":false,"key":"/rollup-plugin-flow/-/rollup-plugin-flow-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-flow/download/rollup-plugin-flow-1.1.0.tgz"},"maintainers":[{"name":"leebyron","email":"lee@leebyron.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-flow-1.1.0.tgz_1481229380144_0.21416110871359706"},"directories":{},"publish_time":1481229381913,"_hasShrinkwrap":false,"_cnpm_publish_time":1481229381913,"_cnpmcore_publish_time":"2021-12-16T20:08:58.913Z"},"1.0.1":{"name":"rollup-plugin-flow","version":"1.0.1","description":"Remove Flow type annotations before bundling.","author":{"name":"Lee Byron","email":"lee@leebyron.com","url":"http://leebyron.com/"},"license":"BSD-3-Clause","main":"index.js","homepage":"https://github.com/leebyron/rollup-plugin-flow","bugs":{"url":"https://github.com/leebyron/rollup-plugin-flow/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/leebyron/rollup-plugin-flow.git"},"scripts":{"test":"DIFF=$(rollup -c test/rollup.config.js test/source.js | diff test/expected.js -); if [ -n \"$DIFF\" ]; then echo \"$DIFF\"; exit 1; fi;","test-update":"rollup -c test/rollup.config.js test/source.js > test/expected.js"},"keywords":["rollup-plugin","flow","flowtype","strip"],"dependencies":{"flow-remove-types":"^1.0.0","rollup-pluginutils":"^1.5.1"},"devDependencies":{"rollup":"^0.34.1"},"gitHead":"783d8b41f55cccbf048571a55a21fdca7a0b86c2","_id":"rollup-plugin-flow@1.0.1","_shasum":"a63a27a3cec2ced9e20604f507f8edd9a1b93e01","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"leebyron","email":"lee@leebyron.com"},"dist":{"shasum":"a63a27a3cec2ced9e20604f507f8edd9a1b93e01","size":2410,"noattachment":false,"key":"/rollup-plugin-flow/-/rollup-plugin-flow-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-flow/download/rollup-plugin-flow-1.0.1.tgz"},"maintainers":[{"name":"leebyron","email":"lee@leebyron.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-flow-1.0.1.tgz_1470628326426_0.8012858622241765"},"directories":{},"publish_time":1470628329672,"_hasShrinkwrap":false,"_cnpm_publish_time":1470628329672,"_cnpmcore_publish_time":"2021-12-16T20:08:59.108Z"},"1.0.0":{"name":"rollup-plugin-flow","version":"1.0.0","description":"Remove Flow type annotations before bundling.","author":{"name":"Lee Byron","email":"lee@leebyron.com","url":"http://leebyron.com/"},"license":"BSD-3-Clause","main":"index.js","homepage":"https://github.com/leebyron/rollup-plugin-flow","bugs":{"url":"https://github.com/leebyron/rollup-plugin-flow/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/leebyron/rollup-plugin-flow.git"},"keywords":["rollup-plugin","flow","flowtype","strip"],"dependencies":{"flow-remove-types":"^1.0.0","rollup-pluginutils":"^1.5.1"},"gitHead":"f93799eb3b58d644dc6c58b3494f6631675876d2","_id":"rollup-plugin-flow@1.0.0","scripts":{},"_shasum":"db9505b8d0dbe744860e9356efaf05b57a5613dd","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"leebyron","email":"lee@leebyron.com"},"dist":{"shasum":"db9505b8d0dbe744860e9356efaf05b57a5613dd","size":1512,"noattachment":false,"key":"/rollup-plugin-flow/-/rollup-plugin-flow-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-flow/download/rollup-plugin-flow-1.0.0.tgz"},"maintainers":[{"name":"leebyron","email":"lee@leebyron.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-flow-1.0.0.tgz_1469358052540_0.3525079933460802"},"directories":{},"publish_time":1469358055757,"_hasShrinkwrap":false,"_cnpm_publish_time":1469358055757,"_cnpmcore_publish_time":"2021-12-16T20:08:59.325Z"}},"readme":"Rollup Flow plugin\n==================\n\n[![Build Status](https://travis-ci.org/leebyron/rollup-plugin-flow.svg?branch=master)](https://travis-ci.org/leebyron/rollup-plugin-flow)\n\nThis [Rollup](http://rollupjs.org/) plugin will remove [Flow](https://flowtype.org)\ntype annotations during bundling using [`flow-remove-types`](https://github.com/leebyron/flow-remove-types).\n\n## Install\n\n```\nnpm install --save rollup-plugin-flow\n```\n\n```js\nvar rollup = require('rollup').rollup;\nvar flow = require('rollup-plugin-flow');\n\nrollup({\n  entry: 'main.js',\n  plugins: [ flow() ]\n}).then(...);\n```\n\n## Options\n\nProvide options as an object argument to `flow()`.\n\n#### `all` - Transform all files, not just those containing `@flow` comments.\n\n*Default:* `false`\n\n```js\nvar flow = require('../');\n\nmodule.exports = {\n  plugins: [ flow({ all: true }) ],\n  format: 'cjs'\n};\n```\n\n#### `pretty` - Remove flow types without replacing them with whitespace.\n\n*Default:* `false`\n\n*Note:* Typically source maps are not necessary for this transform, however\nsource maps are recommended when generating \"pretty\" results.\n\n```js\nvar flow = require('../');\n\nmodule.exports = {\n  plugins: [ flow({ pretty: true }) ],\n  format: 'cjs'\n};\n```\n","_attachments":{},"homepage":"https://github.com/leebyron/rollup-plugin-flow","bugs":{"url":"https://github.com/leebyron/rollup-plugin-flow/issues"},"license":"BSD-3-Clause"}