{"_id":"babel-plugin-version-inline","_rev":"396104","name":"babel-plugin-version-inline","description":"Babel plugin for turning __VERSION__ into a package version string","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"gnandretta","email":"gabriel.andretta@gmail.com"}],"time":{"modified":"2021-08-04T04:12:26.000Z","created":"2015-09-11T22:27:14.832Z","1.0.0":"2015-11-15T21:20:08.567Z","0.0.1":"2015-09-11T22:27:14.832Z"},"users":{"ziflex":true},"author":{"name":"Gabriel Andretta"},"repository":{"type":"git","url":"git+https://github.com/gnandretta/babel-plugin-version-inline.git"},"versions":{"1.0.0":{"name":"babel-plugin-version-inline","version":"1.0.0","description":"Babel plugin for turning __VERSION__ into a package version string","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib --copy-files","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gnandretta/babel-plugin-version-inline.git"},"keywords":["babel-plugin"],"author":{"name":"Gabriel Andretta"},"license":"MIT","bugs":{"url":"https://github.com/gnandretta/babel-plugin-version-inline/issues"},"homepage":"https://github.com/gnandretta/babel-plugin-version-inline#readme","devDependencies":{"babel-cli":"^6.1.18","babel-preset-es2015":"^6.1.18"},"gitHead":"fdfa23d4d3f192d602e500e330a02ac71210c7e4","_id":"babel-plugin-version-inline@1.0.0","_shasum":"b99b6f925db4a4c6789eb08836e66d128dd5993f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"gnandretta","email":"gabriel.andretta@gmail.com"},"dist":{"shasum":"b99b6f925db4a4c6789eb08836e66d128dd5993f","size":1878,"noattachment":false,"key":"/babel-plugin-version-inline/-/babel-plugin-version-inline-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-version-inline/download/babel-plugin-version-inline-1.0.0.tgz"},"maintainers":[{"name":"gnandretta","email":"gabriel.andretta@gmail.com"}],"directories":{},"publish_time":1447622408567,"_cnpm_publish_time":1447622408567,"_hasShrinkwrap":false},"0.0.1":{"name":"babel-plugin-version-inline","version":"0.0.1","description":"Babel plugin for turning __VERSION__ into a package version string","main":"lib/index.js","scripts":{"build":"babel-plugin build","push":"babel-plugin publish","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gnandretta/babel-plugin-version-inline.git"},"keywords":["babel-plugin"],"author":{"name":"Gabriel Andretta"},"license":"MIT","bugs":{"url":"https://github.com/gnandretta/babel-plugin-version-inline/issues"},"homepage":"https://github.com/gnandretta/babel-plugin-version-inline#readme","devDependencies":{"babel":"^5.8.23"},"gitHead":"8be46fe0bd902dbab98340b76e0ba01ad1ef8c56","_id":"babel-plugin-version-inline@0.0.1","_shasum":"bc65b74f429c75f320471f68cea1c53c308fdf71","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.6","_npmUser":{"name":"gnandretta","email":"gabriel.andretta@gmail.com"},"dist":{"shasum":"bc65b74f429c75f320471f68cea1c53c308fdf71","size":1854,"noattachment":false,"key":"/babel-plugin-version-inline/-/babel-plugin-version-inline-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-version-inline/download/babel-plugin-version-inline-0.0.1.tgz"},"maintainers":[{"name":"gnandretta","email":"gabriel.andretta@gmail.com"}],"directories":{},"publish_time":1442010434832,"_cnpm_publish_time":1442010434832,"_hasShrinkwrap":false}},"readme":"# babel-plugin-version-inline\n\nTurn `__VERSION__` into the package's version string.\n\n## Example\n\nGiven the following _package.json_.\n\n```json\n{\n  \"name\": \"package-using-babel-plugin-version-inline\",\n  \"version\": \"1.0.0\"\n}\n```\n\n#### in\n\n```js\n__VERSION__\n```\n\n#### out\n\n```js\n\"1.0.0\"\n```\n\n\n## Installation\n\n```sh\n$ npm install babel-plugin-version-inline\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"version-inline\"]\n}\n```\n\n### Via CLI\n\n```sh\n$ babel --plugins version-inline script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"version-inline\"]\n});\n```\n","_attachments":{},"homepage":"https://github.com/gnandretta/babel-plugin-version-inline#readme","bugs":{"url":"https://github.com/gnandretta/babel-plugin-version-inline/issues"},"license":"MIT"}