{"_id":"@alexrafael10/gulp-vue-compiler","_rev":"2-91df04cf35a60adcd49b142fbc2cd8f3","name":"@alexrafael10/gulp-vue-compiler","dist-tags":{"latest":"1.0.0-beta.2"},"versions":{"1.0.0-beta.1":{"name":"@alexrafael10/gulp-vue-compiler","version":"1.0.0-beta.1","description":"Vue single file component compiler plugin for Gulp","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/frandiox/gulp-vue-compiler.git"},"keywords":["vue","single","file","component","compiler","gulp","plugin"],"author":{"name":"Fran Dios"},"license":"MIT","bugs":{"url":"https://github.com/frandiox/gulp-vue-compiler/issues"},"homepage":"https://github.com/frandiox/gulp-vue-compiler#readme","dependencies":{"@babel/core":"^7.x.x","plugin-error":"^1.0.1","replace-ext":"^1.0.0","through2":"^2.0.5","vue-component-compiler":"github:frandiox/vue-component-compiler"},"gitHead":"34c45e8612f15fc1025db43c37fcb5951ecf40ea","_id":"@alexrafael10/gulp-vue-compiler@1.0.0-beta.1","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-ukA60AfRsFAo4iSXMNbSMW1sa0zLGvXsmjmGoaHP8BoXUM93CFST6j2ylNOE3yZ5q4SkUX7u3d6DPRPFiFtQzA==","shasum":"66c7b761efb657bf958010c3346e0524258a9c3d","tarball":"https://registry.npmjs.org/@alexrafael10/gulp-vue-compiler/-/gulp-vue-compiler-1.0.0-beta.1.tgz","fileCount":3,"unpackedSize":5106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdztmOCRA9TVsSAnZWagAA6dcP/0kdaRGpRe8fbwissNIA\nUjHGfaJtBxI8kjNUpvznW4WplpXY33SAjgP2IWwPgbb2BSjqfQ9RI+dVgcjP\nUCzpduuAhraERIzH9xw5DRe6Zxz/tRb/s/50iG4F7WdDFut7UtrFUX8L4Fn+\n5cfhtmWpQmIH8oOfToQAHlUQw0KyVmEWpQYCEqs0ZeT2R7r4e1cK7pSq7iPl\nCROtp1ba4IDs8/0PeaJM2UtOdKwYt5GBzGdqYGsX2X1VTH2dTBQHshR/gslv\nN45RteiawS1G4KtYEYo0qzNHuQEuQdNfBYcjvVDontZML6ZDPt8w2uxZEUef\nMtaqpierFY6ddMimZqZ4iY/bcyOZ0WRVqd3sWoKsKBLkZ0J0BfCEYwmNP3NN\n/QPF+FjMFykcdadtzM7FUWEIrm/RX+V18BgIL5sAa7zZouANJ6HXsHqGU/Vm\nAke0190W2aFikC4m7nbz3r9mTa39YS/SxmLaG/Cr2COU9aEXxzFPGDvooj9Q\nwp2fhpwCI/+Vd14/57pOUqrQp5yFFkk/cywxxAF6hCsKQRDoKoQY1gu4oYyn\nKbbVruXWMl/4tG2UU1SWyrpIBdHsv8n7Myr21XHHeNFHWK9fg5CdOKf1ZtYE\nSD0Suaic1WlOqpeKZ5nOKWXF1EXKR3krmQ15IuVIoVnQfBLkVA4FG4vcRBsr\no4Di\r\n=Izg3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrYZAUdm1MbIvzKBR69zCFXYAFVUEAGyZ9TLY35UwaUwIgI7HPSS5p/g+QPkrhh58ybQRSGyQyrIW0VaVsCu/+wVo="}]},"maintainers":[{"name":"alexrafael10","email":"alexrafael10@gmail.com"}],"_npmUser":{"name":"alexrafael10","email":"alexrafael10@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-vue-compiler_1.0.0-beta.1_1573837198308_0.45742186464906487"},"_hasShrinkwrap":false},"1.0.0-beta.2":{"name":"@alexrafael10/gulp-vue-compiler","version":"1.0.0-beta.2","description":"Vue single file component compiler plugin for Gulp","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/frandiox/gulp-vue-compiler.git"},"keywords":["vue","single","file","component","compiler","gulp","plugin"],"author":{"name":"Fran Dios"},"license":"MIT","bugs":{"url":"https://github.com/frandiox/gulp-vue-compiler/issues"},"homepage":"https://github.com/frandiox/gulp-vue-compiler#readme","dependencies":{"@babel/core":"^7.x.x","plugin-error":"^1.0.1","replace-ext":"^1.0.0","through2":"^2.0.5","vue-component-compiler":"github:frandiox/vue-component-compiler"},"gitHead":"2ca364adebd2c8ec6bcb7d89a5b746a61f547339","_id":"@alexrafael10/gulp-vue-compiler@1.0.0-beta.2","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-eGR9ghWvtU5Eb+xn84hMk3+SX8Iv1BmLQejjjt4uud6Zdt9eWhIBknHeHRFuAmmIiRKMdrBMmG7DY+wm9fSpKA==","shasum":"530ecc527b734e9966c73b75af04ece5e1dbf72c","tarball":"https://registry.npmjs.org/@alexrafael10/gulp-vue-compiler/-/gulp-vue-compiler-1.0.0-beta.2.tgz","fileCount":3,"unpackedSize":5106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdztpLCRA9TVsSAnZWagAAi3EP/RaWJyY/yRbdlgMp2fy2\n13BYUj52Wrf/tY+afxHr2wPl+MU8cMsF4xwVzIeFwfCtwOiIOzeN5BAmGCB7\nAU5jAdF6TKgrLus+5KNXy7h3Xgk++A+rKtchDsAS360opPPrRNS3I5ovRfJm\nfkoX6E4Hs0uXC3EvcAozJlTV3jFINid0HOPIrAtcBArUvLjsvIPD9QDZ2lO6\nP37VVs3lLrcu+3z35k+nPmGzemNyppN7DyaGzsu6qkvXMPAYki4zHjsq709C\n9vBkMA9nMrCYIkNmJK7T2szrsQsidEQ5Do3QRDKecmeXqoIB1s5jhrF6jhGj\n/3yuY0ns2CHrE2qqBCEiKndOtsOdHCM0MWoX3EJL+zIN7hTpqP02tC14qWcz\nmXcWoSr908Hb1MROfB4L3ubPuJXEvvzD5997n4b0nIJ5K1sV8XmRPVZDnX8f\nP3BbR0JVJsPsHiqNnoowCKrjkn3EkRnKw99P0Sihp8CL93Sdn93qaRqqw4Dn\nt2z+ebGODLB5V9P2zzmlNmfNHgYB/Yap9YN6tP7my/9osd5FmhFvufNaOr3D\nq0is4njNY/chf1qBuGlU2qrIkTL7cXaqzABt4WOEwNXnuaiF+6m2JaI7BeV5\nCloJ3HfVxE8CSXuaHgS0sGmUPAeARqQxcB+wTPX9dqkyRUeWi+dQforF7IEI\nOyxc\r\n=q6SJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0qG4geS1iU5raDI0FUjJTtombV2dVH6zOzhmIBQd8tgIhAPjgN4he8ibfsoAosqCaKL8x/aJcEXzLmerQiw7UGDRT"}]},"maintainers":[{"name":"alexrafael10","email":"alexrafael10@gmail.com"}],"_npmUser":{"name":"alexrafael10","email":"alexrafael10@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-vue-compiler_1.0.0-beta.2_1573837386736_0.11234450449778333"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-15T16:59:58.076Z","1.0.0-beta.1":"2019-11-15T16:59:58.425Z","modified":"2022-04-04T12:41:29.599Z","1.0.0-beta.2":"2019-11-15T17:03:06.867Z"},"maintainers":[{"name":"alexrafael10","email":"alexrafael10@gmail.com"}],"description":"Vue single file component compiler plugin for Gulp","homepage":"https://github.com/frandiox/gulp-vue-compiler#readme","keywords":["vue","single","file","component","compiler","gulp","plugin"],"repository":{"type":"git","url":"git+https://github.com/frandiox/gulp-vue-compiler.git"},"author":{"name":"Fran Dios"},"bugs":{"url":"https://github.com/frandiox/gulp-vue-compiler/issues"},"license":"MIT","readme":"# gulp-vue-compiler\n\nThis plugin compiles [Vue](https://vuejs.org/) single file components ([SFC](https://vuejs.org/v2/guide/single-file-components.html)) to plain JavaScript.\n\n## Installation\n\n```bash\nnpm install gulp-vue-compiler --save-dev\n```\n\nAny other plugin or dependency such as `babel-core` should be installed as well.\n\n\n## Usage\n\n```javascript\nvar vueCompiler = require('gulp-vue-compiler');\n\ngulp.task('vue-compile', function() {\n  return gulp.src('components/**/*.vue')\n    .pipe(vueCompiler({ /* options */ }))\n    .pipe(gulp.dest('./dist/'));\n});\n```\n\n### Implementation details and options\n\n* `options.newExtension`: Optionally modifies the output files extension to the new string.\n\n* v0: Vueify's API is used internally. Therefore, any valid option for Vueify is valid here as well. See [Vueify options here](https://github.com/vuejs/vueify#configuring-options). Additionally, `options.ESModules` boolean option is available for removing the closure that Vueify adds automatically (which breaks ES modules). Passing `modules: false` in Babel's `env` preset automatically activates this option.\n\n* v1: Uses [`vue-component-compiler`](https://github.com/vuejs/vue-component-compiler) internally ([more info here](https://github.com/vuejs/vue-component-compiler/issues/28)). `options.esModule` (default `true`), `options.parserConfig`, `options.templateCompilerConfig`, `options.babel`. Beta release does not support `style` tags.\n\n## Examples\n\n* Compiling `*.vue` components to plain JavaScript using Babel and ES modules:\n\n```javascript\nreturn gulp.src('components/**/*.vue')\n  .pipe(vueCompiler({\n    newExtension: 'js', // *.vue => *.js\n    babel: {\n      babelrc: false,\n      presets: [\n        ['env', {\n          modules: false, // Keep ES modules in 'script' tag\n          targets: {\n            browsers: [ '> 1%', 'last 2 versions' ]\n          }\n        }],\n        'stage-3'\n      ]\n    }\n  }))\n  .pipe(gulp.dest('./dist/'));\n```\n","readmeFilename":"README.md"}