{"_id":"vue-compiler","_rev":"35-5f1c2a5a1bc643bc6895a99db12252d1","name":"vue-compiler","description":"A standalone vue component compiler","dist-tags":{"latest":"4.2.1","beta":"4.0.5-beta"},"versions":{"0.0.1":{"name":"vue-compiler","description":"a simple cli wrapper around the vue-component-compiler","version":"0.0.1","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"bin":{"vue-compiler":"./index.js"},"repository":{"type":"git","url":"git://github.com/paulpflug/vue-compiler"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{"babel":"^5.6.14","coffee-script":"^1.9.3","commander":"^2.8.1","jade":"^1.11.0","less":"^2.5.1","myth":"^1.4.0","node-sass":"^3.2.0","stylus":"^0.51.1","vue-component-compiler":"^1.1.10"},"devDependencies":{"rimraf":"^2.3.1","nodemon":"^1.3.7"},"keywords":["vue","component","compiler","cli"],"scripts":{"clean":"rimraf lib/ && mkdir lib","prebuild":"npm run clean","build":"coffee --compile --output lib/ src/*.coffee","watch":"coffee --compile --watch --output lib/ src/*.coffee","test":"./index.js --out tests/ tests/test.vue"},"gitHead":"a70096a8b0712e98bc60ac2f3b4716be4d066457","bugs":{"url":"https://github.com/paulpflug/vue-compiler/issues"},"_id":"vue-compiler@0.0.1","_shasum":"58f4e4e45f05cc5a233a6d7129da6d89aa348ad4","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"58f4e4e45f05cc5a233a6d7129da6d89aa348ad4","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-0.0.1.tgz","integrity":"sha512-8kPW81354QVZ8QPO2Xghtgd3Rzq0sUl2w9AbTk6vgSbaz4uTluIXa77VlwnbNd2egEgb41tSPhqVtJngpY24WA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpMTm3679Rqu+7WrXLHfAHs8zzck6M8Sc01OAZ8DbvNwIgKN5T7oWn1DZHeeONRprluWHmtk3CnTDCLUZNll67kOQ="}]},"directories":{}},"0.0.2":{"name":"vue-compiler","description":"a simple cli wrapper around the vue-component-compiler","version":"0.0.2","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"bin":{"vue-compiler":"./index.js"},"repository":{"type":"git","url":"git://github.com/paulpflug/vue-compiler.git"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{"babel":"^6.3.13","babel-plugin-transform-runtime":"^6.3.13","babel-preset-es2015":"^6.3.13","coffee-script":"^1.10.0","commander":"^2.9.0","jade":"^1.11.0","less":"^2.5.3","myth":"^1.5.0","node-sass":"^3.4.2","stylus":"^0.53.0","vue-hot-reload-api":"^1.2.2","vueify":"^7.2.0","vueify-insert-css":"^1.0.0"},"devDependencies":{"rimraf":"^2.4.4","nodemon":"^1.8.1"},"keywords":["vue","component","compiler","cli"],"scripts":{"clean":"rimraf lib/ && mkdir lib","prebuild":"npm run clean","build":"coffee --compile --output lib/ src/*.coffee","watch":"coffee --compile --watch --output lib/ src/*.coffee","test":"./index.js --out tests/ tests/test.vue"},"gitHead":"5309ccd0e244ea5b42fe8bb12c837b0b04c0afa9","bugs":{"url":"https://github.com/paulpflug/vue-compiler/issues"},"_id":"vue-compiler@0.0.2","_shasum":"21b5441ce0277d021379995686fe6c9cec518a12","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"21b5441ce0277d021379995686fe6c9cec518a12","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-0.0.2.tgz","integrity":"sha512-9nc2WHKv2QpPJkrsHvfTjFtVru5hFpZ95eFIcXIiOjHSP7R3H45+mf6hbR5mE4hFobKTuPZM5Sye3JtIXIz1yw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHizJOWRSmEdhptooXyLjgLV5M1/cyoZNmLz5+2GVzKgAiAv64By/eXsvC6EvSJL5EiA00Gsu8iPyNYM2GOmBYaWtA=="}]},"directories":{}},"0.1.0":{"name":"vue-compiler","description":"a simple cli wrapper around the vue-component-compiler","version":"0.1.0","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","bin":{"vue-compiler":"./index.js"},"repository":{"type":"git","url":"git://github.com/paulpflug/vue-compiler.git"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{"babel":"^6.5.1","babel-core":"^6.5.1","babel-runtime":"^5.8.0","babel-plugin-transform-runtime":"^6.5.0","babel-preset-es2015":"^6.5.0","coffee-script":"^1.10.0","commander":"^2.9.0","jade":"^1.11.0","less":"^2.6.0","myth":"^1.5.0","node-sass":"^3.4.2","stylus":"^0.53.0","vueify":"^8.3.5"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5","rimraf":"^2.5.1"},"keywords":["vue","component","compiler","cli"],"scripts":{"clean":"rimraf lib/ && mkdir lib","prebuild":"npm run clean","build":"coffee --no-header --compile --output lib/ src/*.coffee","watch":"coffee --no-header --compile --watch --output lib/ src/*.coffee","test":"mocha","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"863abad91d1b1a4c8b4937d62b364c507a5cc171","bugs":{"url":"https://github.com/paulpflug/vue-compiler/issues"},"_id":"vue-compiler@0.1.0","_shasum":"1ae9e0f43b29cd0a44d183b02142962b008f452d","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"1ae9e0f43b29cd0a44d183b02142962b008f452d","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-0.1.0.tgz","integrity":"sha512-OfvRDPd3i9xwe+6NZwU9RDeLNoBTAJDwZi9rDoE4ZOHX8JI4PRNbLbjjzESRjSlzyPYyyGtOgGyFT5qKsfepnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5iljfIZ9EqY6RC5mlNdg+kDWbbpbKzN7c6yNTQwI7AgIgcg0nLq7d6J6c38SMrbjTm3d4h1DaYFtJYKHlLPI2+Hw="}]},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/vue-compiler-0.1.0.tgz_1455205673917_0.010052706813439727"},"directories":{}},"0.1.1":{"name":"vue-compiler","description":"a simple cli wrapper around the vue-component-compiler","version":"0.1.1","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","bin":{"vue-compiler":"./index.js"},"repository":{"type":"git","url":"git://github.com/paulpflug/vue-compiler.git"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{"babel":"^6.5.2","babel-core":"^6.7.6","babel-runtime":"^5.8.0","babel-plugin-transform-runtime":"^6.7.5","babel-preset-es2015":"^6.6.0","coffee-script":"^1.10.0","commander":"^2.9.0","jade":"^1.11.0","less":"^2.6.1","myth":"^1.5.0","node-sass":"^3.4.2","stylus":"^0.54.2","vueify":"^8.3.9"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5","rimraf":"^2.5.2"},"keywords":["vue","component","compiler","cli"],"scripts":{"clean":"rimraf lib/ && mkdir lib","prebuild":"npm run clean","build":"coffee --no-header --compile --output lib/ src/*.coffee","watch":"coffee --no-header --compile --watch --output lib/ src/*.coffee","test":"mocha","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"00bfae0a127206e01a44fb94298fb8cd39395431","bugs":{"url":"https://github.com/paulpflug/vue-compiler/issues"},"_id":"vue-compiler@0.1.1","_shasum":"f9f0c2d65af0dd61d01db9b420e2fdf4b9cfd8d8","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"f9f0c2d65af0dd61d01db9b420e2fdf4b9cfd8d8","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-0.1.1.tgz","integrity":"sha512-2eTOP0/Jvp6Vhde3GLp4tW5oSBUc0B+a7I/nZjPjhsRLe7SZnWrRoWNeuy2jAl1jqotwVqGh+KCpAHJ64QWFpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHenTI/QYBrHnE0KpAATNIJr1Um6w92eBJoojS9fZsuOAiBk2yyF/alk46kxg//lapmpl1Y4Qn02K5dMLmfBToIHrg=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vue-compiler-0.1.1.tgz_1460678679814_0.3932632377836853"},"directories":{}},"0.1.2":{"name":"vue-compiler","description":"a simple cli wrapper around the vue-component-compiler","version":"0.1.2","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","bin":{"vue-compiler":"./index.js"},"repository":{"type":"git","url":"git://github.com/paulpflug/vue-compiler.git"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{"babel-core":"^6.8.0","babel-runtime":"^6.0.0","babel-preset-es2015":"^6.6.0","babel-plugin-transform-runtime":"^6.8.0","vue-hot-reload-api":"^1.3.2","vueify-insert-css":"^1.0.0","coffee-script":"^1.10.0","commander":"^2.9.0","jade":"^1.11.0","pug":"^2.0.0-alpha6","less":"^2.6.1","myth":"^1.5.0","node-sass":"^3.7.0","stylus":"^0.54.5","vueify":"^8.4.1"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5","rimraf":"^2.5.2"},"keywords":["vue","component","compiler","cli"],"scripts":{"clean":"rimraf lib/ && mkdir lib","prebuild":"npm run clean","build":"coffee --no-header --compile --output lib/ src/*.coffee","watch":"coffee --no-header --compile --watch --output lib/ src/*.coffee","test":"mocha","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"b7921f5dc21062081eef28ca37d11e207b1e5f57","bugs":{"url":"https://github.com/paulpflug/vue-compiler/issues"},"_id":"vue-compiler@0.1.2","_shasum":"9c563d7476287a1048d906053ec85f954cf3e5f9","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"9c563d7476287a1048d906053ec85f954cf3e5f9","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-0.1.2.tgz","integrity":"sha512-m+Z9zryaB7md1QHoAJqrR0XVelgUSzP0c/B62t8FbsDW0JINN3g3AXuqQ26FwvzMIFQZ592eJ8a0gPgcWFmw3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm5qiX+62lleGN8AiSRaKKTG+08Oewwwz/+28pFiFwPQIhALnjE4Q20hkD4ym2HXR/HFcRVb1ZSLlpWvI0sL3WXgjW"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vue-compiler-0.1.2.tgz_1462396353817_0.4825557984877378"},"directories":{}},"0.2.0":{"name":"vue-compiler","description":"a simple cli wrapper around the vue-component-compiler","version":"0.2.0","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","bin":{"vue-compiler":"./index.js"},"repository":{"type":"git","url":"git://github.com/paulpflug/vue-compiler.git"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{"babel-core":"^6.8.0","babel-runtime":"^6.0.0","babel-preset-es2015":"^6.6.0","babel-plugin-transform-runtime":"^6.8.0","vue-hot-reload-api":"^1.3.2","vueify-insert-css":"^1.0.0","coffee-script":"^1.10.0","commander":"^2.9.0","pug":"^2.0.0","less":"^2.6.1","myth":"^1.5.0","node-sass":"^3.7.0","stylus":"^0.54.5","vueify":"^8.4.1"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5","rimraf":"^2.5.2"},"keywords":["vue","component","compiler","cli"],"scripts":{"clean":"rimraf lib/ && mkdir lib","prebuild":"npm run clean","build":"coffee --no-header --compile --output lib/ src/*.coffee","watch":"coffee --no-header --compile --watch --output lib/ src/*.coffee","test":"mocha","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"364cef48c84861ea46239c42e3b93fb796f0be8e","bugs":{"url":"https://github.com/paulpflug/vue-compiler/issues"},"_id":"vue-compiler@0.2.0","_shasum":"e4e251a89840c1319060ee2d9fa533c6caa1be16","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"e4e251a89840c1319060ee2d9fa533c6caa1be16","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-0.2.0.tgz","integrity":"sha512-iP3G+Nb++v5lzGDKszO4IKrXB1dVP/i8rU+Taw03N+ERpfM78y25KZ8qSGklBOaseAVx1cnL9+GUdQAq1s25Zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCM0w3j4AA5JOgmmzDkjPqylMzWLZYMnZeOB6q8FrRz+gIgCQMh/Tsf643Tdt2AXSjyguMHrUzG2eGchQx1oPocKug="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vue-compiler-0.2.0.tgz_1462396704256_0.910795686300844"},"directories":{}},"0.2.1":{"name":"vue-compiler","description":"a simple cli wrapper around the vue-component-compiler","version":"0.2.1","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","bin":{"vue-compiler":"./index.js"},"repository":{"type":"git","url":"git://github.com/paulpflug/vue-compiler.git"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{"babel-core":"^6.8.0","babel-runtime":"^6.0.0","babel-preset-es2015":"^6.6.0","babel-plugin-transform-runtime":"^6.8.0","vue-hot-reload-api":"^1.3.2","vueify-insert-css":"^1.0.0","coffee-script":"^1.10.0","commander":"^2.9.0","pug":"^2.0.0-alpha6","less":"^2.6.1","myth":"^1.5.0","node-sass":"^3.7.0","stylus":"^0.54.5","vueify":"^8.4.1"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5","rimraf":"^2.5.2"},"keywords":["vue","component","compiler","cli"],"scripts":{"clean":"rimraf lib/ && mkdir lib","prebuild":"npm run clean","build":"coffee --no-header --compile --output lib/ src/*.coffee","watch":"coffee --no-header --compile --watch --output lib/ src/*.coffee","test":"mocha","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"173027ecca5c9687c07abfbd33520b7bb170fc55","bugs":{"url":"https://github.com/paulpflug/vue-compiler/issues"},"_id":"vue-compiler@0.2.1","_shasum":"fdd004ee03617712b92be706a5b0dba05b2d1541","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"fdd004ee03617712b92be706a5b0dba05b2d1541","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-0.2.1.tgz","integrity":"sha512-N+aMIw+zlVuRFGDn6eGq+UTCcVDsahHwzlke6r0Z+cOE7eIXmas4Uhoi8mvPOVoprhNBYoslj2/fMXWroRxdKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC9RtgDUCnqi2aVVgjHKcpk6EYx56hXm83Crnfsyt3t9AiA/ZVFxjRKQZiPfSQgBZSPyQfI+CBy1Zn5rbqFqy3RwHw=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vue-compiler-0.2.1.tgz_1462396925400_0.9214062453247607"},"directories":{}},"0.3.0":{"name":"vue-compiler","description":"a simple cli wrapper around the vue-component-compiler","version":"0.3.0","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","bin":{"vue-compiler":"./index.js"},"repository":{"type":"git","url":"git://github.com/paulpflug/vue-compiler.git"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{"commander":"^2.9.0","vueify":"github:vuejs/vueify#7683c39b5d2f2b3e92881b01de4129b6f611bd77"},"devDependencies":{"atom-ui-reporter":"0.0.1","chai":"^3.5.0","coffee-script":"^1.10.0","mocha":"^2.4.5","pug":"^2.0.0-alpha6","rimraf":"^2.5.2","stylus":"^0.54.5","vue-hot-reload-api":"^1.3.2","vueify-insert-css":"^1.0.0"},"keywords":["vue","component","compiler","cli"],"scripts":{"clean":"rimraf lib/ && mkdir lib","prebuild":"npm run clean","build":"coffee --no-header --compile --output lib/ src/*.coffee","watch":"coffee --no-header --compile --watch --output lib/ src/*.coffee","test":"mocha","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"84f434e8c092724ba9ce40e8ac70210d59e90aa4","bugs":{"url":"https://github.com/paulpflug/vue-compiler/issues"},"_id":"vue-compiler@0.3.0","_shasum":"7de4c8d6e28183a67840d672827a47d710cbda7f","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"7de4c8d6e28183a67840d672827a47d710cbda7f","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-0.3.0.tgz","integrity":"sha512-L4a2CP5CPuWuphN34KAIoE8TcPz4qTUe5lJ/DEtAi828GFU5JxIVNevic8jKvzf8Cj+yXHDRmg79jJ2qYzceyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv86EBKwINXuEZnRXb5eVEB0Bc+Z213i+5GjJbk5rVNgIgYkegnSuRucm/SviwitpwsM0NpCBXe2NwVGITjBhDgF0="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vue-compiler-0.3.0.tgz_1462521619799_0.9928072870243341"},"directories":{}},"1.0.0":{"name":"vue-compiler","description":"a simple cli wrapper around the vue-component-compiler","version":"1.0.0","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","bin":{"vue-compiler":"./index.js"},"repository":{"type":"git","url":"git://github.com/paulpflug/vue-compiler.git"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{"commander":"^2.9.0","vueify":"^8.7.0"},"devDependencies":{"atom-ui-reporter":"0.0.1","chai":"^3.5.0","coffee-script":"^1.11.1","mocha":"^3.1.1","pug":"^2.0.0-beta6","rimraf":"^2.5.4","stylus":"^0.54.5","vue-hot-reload-api":"^1.3.3","vueify-insert-css":"^1.0.0"},"keywords":["vue","component","compiler","cli"],"scripts":{"clean":"rimraf lib/ && mkdir lib","prebuild":"npm run clean","build":"coffee --no-header --compile --output lib/ src/*.coffee","watch":"coffee --no-header --compile --watch --output lib/ src/*.coffee","test":"mocha","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"cd2aa5d8aad41bb888b5af674056b14d6a2fe833","bugs":{"url":"https://github.com/paulpflug/vue-compiler/issues"},"_id":"vue-compiler@1.0.0","_shasum":"e213a6879ac59c6a14764f1dea2fe417c67e5072","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"e213a6879ac59c6a14764f1dea2fe417c67e5072","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-1.0.0.tgz","integrity":"sha512-AIaEsLDMKgnNiFU6kNJwChh8esnOLbu1oOdHQFSsLg+1vYBvt/lEtyFDnrLrKfw6OIdbkHIArmmjCqQBTUeHyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2izRmakmNDkcgheRxRfdhENGnql4cx0zodIGcsQ009gIgHdiX4j+cj/QgPuuwbc0LcQoEKddPl0spx4P2TLEgpzw="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/vue-compiler-1.0.0.tgz_1476104729338_0.9621572431642562"},"directories":{}},"2.0.0":{"name":"vue-compiler","description":"a simple cli wrapper around the vue-component-compiler","version":"2.0.0","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","bin":{"vue-compiler":"./index.js"},"repository":{"type":"git","url":"git://github.com/paulpflug/vue-compiler.git"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{"commander":"^2.9.0","vueify":"^9.2.4"},"devDependencies":{"atom-ui-reporter":"0.0.1","chai":"^3.5.0","coffee-script":"^1.11.1","mocha":"^3.1.1","pug":"^2.0.0-beta6","rimraf":"^2.5.4","stylus":"^0.54.5","vue-hot-reload-api":"^2.0.6","vueify-insert-css":"^1.0.0"},"keywords":["vue","component","compiler","cli"],"scripts":{"clean":"rimraf lib/ && mkdir lib","prebuild":"npm run clean","build":"coffee --no-header --compile --output lib/ src/*.coffee","watch":"coffee --no-header --compile --watch --output lib/ src/*.coffee","test":"mocha","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"99c72be7de4e1899a1e43d3b648fd3c17e3ad84c","bugs":{"url":"https://github.com/paulpflug/vue-compiler/issues"},"_id":"vue-compiler@2.0.0","_shasum":"3a1c17ece803ff8bb07b3e0c13f47911c91597d2","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"3a1c17ece803ff8bb07b3e0c13f47911c91597d2","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-2.0.0.tgz","integrity":"sha512-PL9GIGvhj0o2/QSljXxwv7/PMFQPx4AWFcrV6RQakF8toDiwuzLaVvMU1HQGI9BQLcyFKQqpvHuUq1a3jW4I8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDX67jzndQrJ3ZbLZJkXYpfotE6sl3kuINb7I/2+ofeuAiBPIo+YuaLiu1GMb44ymouo6Pytlcl4fc7eHrztdfnbJw=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vue-compiler-2.0.0.tgz_1476105919588_0.6907614117953926"},"directories":{}},"3.0.0":{"name":"vue-compiler","version":"3.0.0","main":"lib","scripts":{"watch":"babel src -d lib --watch","build":"babel src -d lib","postinstall":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"hash-sum":"^1.0.2","postcss":"^6.0.14","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","postcss-selector-parser":"^2.2.2","source-map":"^0.5.6","vue-template-compiler":"^2.5.8","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"babel-cli":"^6.18.0","babel-plugin-transform-async-to-generator":"^6.16.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-component-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-component-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-component-compiler#readme","description":"A standalone vue component compiler","gitHead":"c7372110dc2569ea8cc28d19798df340620e7f91","_id":"vue-compiler@3.0.0","_shasum":"74d0d0ffbcbdbaa20c0f005536fdfd5b31f05a8a","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"shasum":"74d0d0ffbcbdbaa20c0f005536fdfd5b31f05a8a","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-3.0.0.tgz","integrity":"sha512-Jx7v8iZ8w9rivBWRj5l2BBJaLEM/5PqeCLBPkGS2DKaPr7RPX6ctbKolgdZTk/sQAKkcwrm07agWPaoCS5kO0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDROXRcIv0YZ7mN5vd1kL5tPO+D3qkvBSo5gHzG9mpLjAIhANs0SU9GSJIsLjN4f4wSQfOAGmDq68w1kmtFySnUufIN"}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler-3.0.0.tgz_1512354330457_0.30670465575531125"},"directories":{}},"3.0.1":{"name":"vue-compiler","version":"3.0.1","main":"lib","scripts":{"watch":"babel src -d lib --watch","build":"babel src -d lib","postinstall":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"hash-sum":"^1.0.2","postcss":"^6.0.14","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","postcss-selector-parser":"^2.2.2","source-map":"^0.5.6","vue-template-compiler":"^2.5.8","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"babel-cli":"^6.18.0","babel-plugin-transform-async-to-generator":"^6.16.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-compiler#readme","description":"A standalone vue component compiler","gitHead":"fd9aa0dd128146f9171eb923fcfeebf0ee86b58f","_id":"vue-compiler@3.0.1","_shasum":"ce0f1d6b6555e9870269cc8bb96c6ffefd7f34c2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"shasum":"ce0f1d6b6555e9870269cc8bb96c6ffefd7f34c2","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-3.0.1.tgz","integrity":"sha512-FEfNJMuzq07q2ZIksCLNpvE3yaOP8OJami/FueQ7FjTLc0t/oF7dEdWKeEwz2DEukGywYB8tMyVqp4tVk7iNYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCk2hxAWkQzDVJ5fsotk35kSArmpfs7+6mh7OjPd0hkWQIgXT/9zjRvIirtXtGZC6FQsjAHBp54d3uoMSIg/wNfB4Q="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler-3.0.1.tgz_1513051016683_0.25867624511010945"},"directories":{}},"3.0.2":{"name":"vue-compiler","version":"3.0.2","main":"lib","scripts":{"watch":"babel src -d lib --watch","build":"babel src -d lib","postinstall":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"hash-sum":"^1.0.2","postcss":"^6.0.14","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","postcss-selector-parser":"^2.2.2","source-map":"^0.5.6","vue-template-compiler":"^2.5.8","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"babel-cli":"^6.18.0","babel-plugin-transform-async-to-generator":"^6.16.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-compiler#readme","description":"A standalone vue component compiler","gitHead":"6784e6208daacc83f2517864dc17a13656d3b2a6","_id":"vue-compiler@3.0.2","_shasum":"a63a5f69c47358971152cdd7c1ff205d2319ed77","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"shasum":"a63a5f69c47358971152cdd7c1ff205d2319ed77","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-3.0.2.tgz","integrity":"sha512-fDt9ET82plmm+vDYflMSBUqVs8aaYRhEc8XJdajmNAoNoyqxJqVdVUL18fdsCRubE8kZByAgOoMQJlmSsyUu5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/Ljz3t80H5CEovW0MMUmkPWMf7m1oJV0v5N5r5IeaQwIhAKmVk87+MSZsdDH7nDUQnHyW7ro20zlAFtPSA4A3QHqu"}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler-3.0.2.tgz_1514288196146_0.6660260120406747"},"directories":{}},"3.1.0":{"name":"vue-compiler","version":"3.1.0","main":"lib","scripts":{"watch":"babel src -d lib --watch","build":"babel src -d lib","postinstall":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"hash-sum":"^1.0.2","postcss":"^6.0.14","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","postcss-selector-parser":"^2.2.2","source-map":"^0.5.6","vue-template-compiler":"^2.5.8","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"babel-cli":"^6.18.0","babel-plugin-transform-async-to-generator":"^6.16.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-compiler#readme","description":"A standalone vue component compiler","gitHead":"e2bb1b7eecf6a4c55ea128798d9c7316f0397744","_id":"vue-compiler@3.1.0","_shasum":"aeaaaa846a03876ed81bfdfcba1723929183ba0f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.2","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"shasum":"aeaaaa846a03876ed81bfdfcba1723929183ba0f","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-3.1.0.tgz","fileCount":12,"unpackedSize":115696,"integrity":"sha512-2gOmS2J1kdgXiA0Utx+n3VH2duiXt6GBNKAlXYShgVq+UuMnoFTcNNzdM0U10RPGsRvuEsZ88+ACRftAl46jlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAnKN0HPkvQtG4MHm490WOhpdsxtclQig6nMnhy/I+0jAiANXwx324Bi8krMkQ4SWLoeBS9pOFu1mRDiktPAENevFw=="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_3.1.0_1519993779366_0.31837737858908266"},"_hasShrinkwrap":false},"4.0.0-dev":{"name":"vue-compiler","version":"4.0.0-dev","main":"lib","scripts":{"watch":"babel src -d lib --watch","build":"babel src -d lib","postinstall":"npm run build","test":"jest --coverage"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"hash-sum":"^1.0.2","postcss":"^6.0.21","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","postcss-selector-parser":"^2.2.2","source-map":"^0.5.6","vue-template-compiler":"^2.5.16","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"@vue/test-utils":"^1.0.0-beta.13","babel-cli":"^6.18.0","babel-jest":"^22.4.3","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2","es6-promisify":"^6.0.0","jest":"^22.4.3","vue":"^2.5.16"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-compiler#readme","description":"A standalone vue component compiler","gitHead":"e86585b843c46680b2701e9ef1f5a60bd6e39438","_id":"vue-compiler@4.0.0-dev","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-hqVexx39w4G4uTDGQaG0l6nR4aN5iJvVVtg1B9ZGoV0+zS39plErfnV368qUnrSJH8D0o0Jdn+3kPxjYLrqiSA==","shasum":"342a872044ce18183c7479627b18d98e823090c6","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.0.0-dev.tgz","fileCount":22,"unpackedSize":45223,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcwlWYp1LrAHcBpMcZ1Qw0V8nIIWBiElbDPBj5ssU/hgIhAKOWIwBlo6C/AqNOmZzlOGIRMbbIjncTDkWhk7ilaJ28"}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.0.0-dev_1522323794022_0.6084314057446019"},"_hasShrinkwrap":false,"deprecated":"version 4.x is unstable now, use v3.x instead"},"4.0.1-beta":{"name":"vue-compiler","version":"4.0.1-beta","main":"lib","scripts":{"watch":"babel src -d lib --watch","build":"babel src -d lib","postinstall":"npm run build","test":"jest --coverage"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"hash-sum":"^1.0.2","postcss":"^6.0.21","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","postcss-selector-parser":"^2.2.2","source-map":"^0.5.6","vue-template-compiler":"^2.5.16","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"@vue/test-utils":"^1.0.0-beta.13","babel-cli":"^6.18.0","babel-jest":"^22.4.3","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2","es6-promisify":"^6.0.0","jest":"^22.4.3","vue":"^2.5.16"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-compiler#readme","description":"A standalone vue component compiler","readme":"# Vue compiler\n\nA standalone vue component compiler.\n\n__NOTE: Please check out [vue-loader](https://github.com/vuejs/vue-loader) and [vueify](https://github.com/vuejs/vueify) if you'd like to run the compiler with webpack or browserify__\n\n## Usage\n\n```javascript\nconst compile = require('vue-compiler').default\n\nconst filePath = 'index.vue'\n\nconst content = `\n  <template>\n    <div> component contents </div>\n  </template>\n`\n\nconst options = {\n  // compiler options\n}\n\ncompile(filePath, content, options).then(res => {\n  if (res.errors) {\n    console.log(res.errors)\n    return\n  }\n  console.log(res.code)\n  // commonjs module code\n})\n```\n\n## API\n\n```typescript\ntype CompilerOptions = {\n\n  includeFileName?: boolean // false\n  // inject file path as module.__file\n\n  compilerOptions?: Vue.CompilerOptions // null\n  // options for vue template compiler\n\n  extractStyles?: boolean // false\n  // extract styles from the component\n  // extracted styles are available in 'styles' field\n\n  styleLoader?: string // \"loadCss\"\n  // method to load css strings if not extracted\n  // styles will be loaded with `${styleLoader}(${cssString}, ${scopeId})`\n\n  postcss?: Array<PostCSSPlugin> // []\n  // PostCSS plugin list\n\n  postcssModules?: Object // null\n  // options for PostCSS modules\n\n  sourceMap?: boolean // false\n  // enable sourcemap\n\n  styleSourceMap?: boolean // false\n  // enable sourcemap for styles\n  // style's sourcemap will be inlined in the css string if not extracted\n\n  sourceMapRoot?: string // \"vue:///\"\n  // source root\n\n  getCompiler?: CustomCompilerGetter // noop\n  // get compiler for a block\n  // return false to prevent resolving compiler from options.compilers\n\n  compilers?: {\n    // custom compilers for other languages\n\n    [key: string]: CustomCompiler\n    // keys will be matched to block's lang attribute and type\n  }\n\n  hotReload?: { // false\n    // hot reload options\n\n    hotAPI?: string // 'require(\"vue-hot-reload-api\")'\n    // reference to vue hot reload api\n\n    vueModule?: string // 'require(\"vue\")'\n    // reference to vue module\n  }\n}\n\ntype BuildResult = CodeResult & {\n\n  warnings: Array<WarningMessage>\n  // compiler warnings\n\n  scopeId?: string\n  // component scope id\n\n  styles?: Array<CodeResult>\n  // extracted styles\n}\n\ntype CodeResult = {\n  code: string\n  map?: SourceMapGenerator\n}\n\ntype ErrorResult = {\n\n  errors?: Array<WarningMessage>\n  // vue parser errors\n}\n\ninterface Compiler {\n\n  default(filePath: string, content: string, options?: CompilerOptions): Promise<BuildResult | ErrorResult>\n}\n\ntype WarningMessage = {\n  msg: string\n  start?: number\n  end?: number\n}\n\ntype CustomCompilerGetter = (item: BlockItem, options: CompilerOptions)?: Promise<CustomCompiler | false>\n\ntype CustomCompiler = (item: BlockItem, options: Object): Promise<CodeResult & { warnings }>\n\ntype BlockItem = SFCBlock & {\n\n  warnings: Array<WarningMessage>\n  // warnings comes from custom compilers\n\n  line: number\n  // zero-based line number that block begins\n\n  sourceContent: string\n  // origin block content\n\n  content: string\n  // line-padded block content\n\n  index?: number\n  // exists if the block is a style block or a custom block\n\n  filePath: string\n  // file path passed to the compiler\n\n  node: SourceNode\n  // source node generated from filePath and content\n}\n```\n","readmeFilename":"README.md","gitHead":"e86585b843c46680b2701e9ef1f5a60bd6e39438","_id":"vue-compiler@4.0.1-beta","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-KkubbwOIupXjAiVbXhlpBwAeO8ZjbuNz4TH5t/RMRb1lOyeP9q2VoR7fM1jXK1fiEP/cMhQjnwalSwwJaiAByg==","shasum":"659d04652c246a24729d2694f6637a59fb90dd89","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.0.1-beta.tgz","fileCount":22,"unpackedSize":45224,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICOcUMjQ/FErtVnTkyqtF/+mc6iRIKFcF2Uocd6QOAXLAiBUYAqKHFm+RDEBLtJ3C883TdX+6MiWyaAjLPBKDjYIbw=="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.0.1-beta_1522324195774_0.29016095329997427"},"_hasShrinkwrap":false},"3.1.1":{"name":"vue-compiler","version":"3.1.1","main":"lib","scripts":{"watch":"babel src -d lib --watch","build":"babel src -d lib","postinstall":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"hash-sum":"^1.0.2","postcss":"^6.0.14","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","postcss-selector-parser":"^2.2.2","source-map":"^0.5.6","vue-template-compiler":"^2.5.8","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"babel-cli":"^6.18.0","babel-plugin-transform-async-to-generator":"^6.16.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-compiler#readme","description":"A standalone vue component compiler","gitHead":"396d7c2f1b5d626f10eb40500bfe32105a597a2d","_id":"vue-compiler@3.1.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-y4svrAOJ5PWpPP0hqCuxzKSU5PiY0/SWOlXbYFad4PoDElMWO6s7hgNYotx6SmX9aSIy4UEu1ZfMtI3Q8OktmQ==","shasum":"35da2ede4c388992334f79de9f4e82a5abfa0fdb","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-3.1.1.tgz","fileCount":11,"unpackedSize":38828,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEcJXd4r7HEVxqdGz8XCeC3LJgfsjrC4Aul3Ufv8Va0oAiEAlAXE8YytaSthuDGsmIhb2m5jdPozul8EVOyat+9ckjM="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_3.1.1_1522331788708_0.654976792469308"},"_hasShrinkwrap":false},"4.0.2-beta":{"name":"vue-compiler","version":"4.0.2-beta","main":"lib","scripts":{"build":"tsc","test":"jest"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"@vue/component-compiler-utils":"^1.0.0","hash-sum":"^1.0.2","lodash.defaultsdeep":"^4.6.0","postcss":"^6.0.21","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","postcss-selector-parser":"^3.1.1","source-map":"^0.7.2","vue-template-compiler":"^2.5.16","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"@types/lodash.defaultsdeep":"^4.6.3","@types/node":"^9.6.1","@vue/test-utils":"^1.0.0-beta.13","babel-cli":"^6.18.0","babel-eslint":"^8.2.2","babel-jest":"^22.4.3","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2","es6-promisify":"^6.0.0","eslint":"^4.19.1","eslint-config-google":"^0.9.1","jest":"^22.4.3","ts-jest":"^22.4.2","typescript":"^2.8.1","typescript-eslint-parser":"^14.0.0","vue":"^2.5.16"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-compiler#readme","description":"A standalone vue component compiler","readme":"# Vue compiler\n\nA standalone vue component compiler.\n\n__NOTE: Please check out [vue-loader](https://github.com/vuejs/vue-loader) and [vueify](https://github.com/vuejs/vueify) if you'd like to run the compiler with webpack or browserify__\n\n## Usage\n\n```javascript\nconst compile = require('vue-compiler').default\n\nconst filePath = 'index.vue'\n\nconst content = `\n  <template>\n    <div> component contents </div>\n  </template>\n`\n\nconst options = {\n  // compiler options\n}\n\ncompile(filePath, content, options).then(res => {\n  if (res.errors) {\n    console.log(res.errors)\n    return\n  }\n  console.log(res.code)\n  // commonjs module code\n})\n```\n\n## API\n\n```typescript\ntype CompilerOptions = {\n\n  includeFileName?: boolean // false\n  // inject file path as module.__file\n\n  compilerOptions?: Vue.CompilerOptions // null\n  // options for vue template compiler\n\n  extractStyles?: boolean // false\n  // extract styles from the component\n  // extracted styles are available in 'styles' field\n\n  styleLoader?: string // \"loadCss\"\n  // method to load css strings if not extracted\n  // styles will be loaded with `${styleLoader}(${cssString}, ${scopeId})`\n\n  postcss?: Array<PostCSSPlugin> // []\n  // PostCSS plugin list\n\n  postcssModules?: Object // null\n  // options for PostCSS modules\n\n  sourceMap?: boolean // false\n  // enable sourcemap\n\n  styleSourceMap?: boolean // false\n  // enable sourcemap for styles\n  // style's sourcemap will be inlined in the css string if not extracted\n\n  sourceMapRoot?: string // \"vue:///\"\n  // source root\n\n  getCompiler?: CustomCompilerGetter // noop\n  // get compiler for a block\n  // return false to prevent resolving compiler from options.compilers\n\n  compilers?: {\n    // custom compilers for other languages\n\n    [key: string]: CustomCompiler\n    // keys will be matched to block's lang attribute and type\n  }\n\n  hotReload?: { // false\n    // hot reload options\n\n    hotAPI?: string // 'require(\"vue-hot-reload-api\")'\n    // reference to vue hot reload api\n\n    vueModule?: string // 'require(\"vue\")'\n    // reference to vue module\n  }\n}\n\ntype BuildResult = CodeResult & {\n\n  warnings: Array<WarningMessage>\n  // compiler warnings\n\n  scopeId?: string\n  // component scope id\n\n  styles?: Array<CodeResult>\n  // extracted styles\n}\n\ntype CodeResult = {\n  code: string\n  map?: SourceMapGenerator\n}\n\ntype ErrorResult = {\n\n  errors?: Array<WarningMessage>\n  // vue parser errors\n}\n\ninterface Compiler {\n\n  default(filePath: string, content: string, options?: CompilerOptions): Promise<BuildResult | ErrorResult>\n}\n\ntype WarningMessage = {\n  msg: string\n  start?: number\n  end?: number\n}\n\ntype CustomCompilerGetter = (item: BlockItem, options: CompilerOptions)?: Promise<CustomCompiler | false>\n\ntype CustomCompiler = (item: BlockItem, options: Object): Promise<CodeResult & { warnings }>\n\ntype BlockItem = SFCBlock & {\n\n  warnings: Array<WarningMessage>\n  // warnings comes from custom compilers\n\n  line: number\n  // zero-based line number that block begins\n\n  sourceContent: string\n  // origin block content\n\n  content: string\n  // line-padded block content\n\n  index?: number\n  // exists if the block is a style block or a custom block\n\n  filePath: string\n  // file path passed to the compiler\n\n  node: SourceNode\n  // source node generated from filePath and content\n}\n```\n","readmeFilename":"README.md","gitHead":"f8b48716178381f97a4caaf883195852c82f9ac1","_id":"vue-compiler@4.0.2-beta","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-yQukU0lkNThKT4WYa0nM9dtf8jX7kB8EQ8mnHbXWDrCJoFSC90LMD2svaBOpmDwLUlLj22WQ3NElmfjBNis3Ig==","shasum":"804beb9a754ba3cf4c7b2021be4272550ccfba30","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.0.2-beta.tgz","fileCount":57,"unpackedSize":55995,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCW+dqSltfJXQiEI4q8sydg1Df6rseZW8c6d/bVHGbvBwIhAJZOK7fRvfMeMhZiH8fOQBLHYhWVcMmGRFVhxxJxxoIG"}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.0.2-beta_1522414513143_0.5898303126968967"},"_hasShrinkwrap":false},"4.0.3-beta":{"name":"vue-compiler","version":"4.0.3-beta","main":"lib","scripts":{"build":"tsc","test":"jest","prepublishOnly":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"@vue/component-compiler-utils":"^1.0.0","hash-sum":"^1.0.2","lodash.defaultsdeep":"^4.6.0","postcss":"^6.0.21","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","source-map":"^0.7.2","vue-template-compiler":"^2.5.16","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"@types/lodash.defaultsdeep":"^4.6.3","@types/node":"^9.6.1","@vue/test-utils":"^1.0.0-beta.13","babel-cli":"^6.18.0","babel-eslint":"^8.2.2","babel-jest":"^22.4.3","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2","es6-promisify":"^6.0.0","eslint":"^4.19.1","eslint-config-google":"^0.9.1","jest":"^22.4.3","ts-jest":"^22.4.2","typescript":"^2.8.1","typescript-eslint-parser":"^14.0.0","vue":"^2.5.16"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-compiler#readme","description":"A standalone vue component compiler","gitHead":"05c3b226ec8d360d88489829cb894dd5e3135a4c","_id":"vue-compiler@4.0.3-beta","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-pM/p4PNWHxjlebmNn3dQtjl+fv5LVOJz+i187hTz5LoX7TGxlaw3ZTPCdUqJzH9sJ7CUYWgaJaxFi+kHcv/YRg==","shasum":"7830cf3aa26906b81cfd7cd4452768cd2ab05726","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.0.3-beta.tgz","fileCount":57,"unpackedSize":55973,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx0ewVYjEA4OT3FTW7B9cu6seQVhjQ7gDWhHWU99AzCgIgUkIlFUBnG/UotzgVI05jWNPqRGesaEqwfLwPdw+bb44="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.0.3-beta_1522415555255_0.8878284528068674"},"_hasShrinkwrap":false},"3.1.2":{"name":"vue-compiler","version":"3.1.2","main":"lib","scripts":{"watch":"babel src -d lib --watch","build":"babel src -d lib","postinstall":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"hash-sum":"^1.0.2","postcss":"^6.0.14","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","postcss-selector-parser":"^2.2.2","source-map":"^0.5.6","vue-template-compiler":"^2.5.8","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"babel-cli":"^6.18.0","babel-plugin-transform-async-to-generator":"^6.16.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-compiler#readme","description":"A standalone vue component compiler","gitHead":"396d7c2f1b5d626f10eb40500bfe32105a597a2d","_id":"vue-compiler@3.1.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-O05JYRWj43xD6l/+1O8/9jTEb+XQlnR430JNUyYJ89xpgBraQEDJvDiasm6dYr+bXqGMPv1aWXN4A51Nj3QzPg==","shasum":"be6d55de60b609a274c3087e83b9a93897fe483e","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-3.1.2.tgz","fileCount":7,"unpackedSize":20951,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD79zRNoIOuRrgulM6TZS9+xDwbj1xuiBIYVM7ncHUjrQIhAP/DqxDa+7I0CimFRBAbnB4cziAaCZ6B5wjYVdP70wEC"}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_3.1.2_1522415665290_0.0036790566298716687"},"_hasShrinkwrap":false},"4.0.4-beta":{"name":"vue-compiler","version":"4.0.4-beta","main":"lib","scripts":{"build":"tsc","test":"jest","prepublishOnly":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"@vue/component-compiler-utils":"^1.0.0","hash-sum":"^1.0.2","lodash.defaultsdeep":"^4.6.0","postcss":"^6.0.21","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","source-map":"^0.7.2","vue-template-compiler":"^2.5.16","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"@types/lodash.defaultsdeep":"^4.6.3","@types/node":"^9.6.1","@vue/test-utils":"^1.0.0-beta.13","babel-cli":"^6.18.0","babel-eslint":"^8.2.2","babel-jest":"^22.4.3","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2","es6-promisify":"^6.0.0","eslint":"^4.19.1","eslint-config-google":"^0.9.1","jest":"^22.4.3","ts-jest":"^22.4.2","typescript":"^2.8.1","typescript-eslint-parser":"^14.0.0","vue":"^2.5.16"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-compiler#readme","description":"A standalone vue component compiler","readme":"# Vue compiler\n\nA standalone vue component compiler.\n\n__NOTE: Please check out [vue-loader](https://github.com/vuejs/vue-loader) and [vueify](https://github.com/vuejs/vueify) if you'd like to run the compiler with webpack or browserify__\n\n## Usage\n\n```javascript\nconst compile = require('vue-compiler').default\n\nconst filePath = 'index.vue'\n\nconst content = `\n  <template>\n    <div> component contents </div>\n  </template>\n`\n\nconst options = {\n  // compiler options\n}\n\ncompile(filePath, content, options).then(res => {\n  if (res.errors) {\n    console.log(res.errors)\n    return\n  }\n  console.log(res.code)\n  // commonjs module code\n})\n```\n\n## API\n\n```typescript\ntype CompilerOptions = {\n\n  includeFileName?: boolean // false\n  // inject file path as module.__file\n\n  compilerOptions?: Vue.CompilerOptions // null\n  // options for vue template compiler\n\n  extractStyles?: boolean // false\n  // extract styles from the component\n  // extracted styles are available in 'styles' field\n\n  styleLoader?: string // \"loadCss\"\n  // method to load css strings if not extracted\n  // styles will be loaded with `${styleLoader}(${cssString}, ${scopeId})`\n\n  postcss?: Array<PostCSSPlugin> // []\n  // PostCSS plugin list\n\n  postcssModules?: Object // null\n  // options for PostCSS modules\n\n  sourceMap?: boolean // false\n  // enable sourcemap\n\n  styleSourceMap?: boolean // false\n  // enable sourcemap for styles\n  // style's sourcemap will be inlined in the css string if not extracted\n\n  sourceMapRoot?: string // \"vue:///\"\n  // source root\n\n  getCompiler?: CustomCompilerGetter // noop\n  // get compiler for a block\n  // return false to prevent resolving compiler from options.compilers\n\n  compilers?: {\n    // custom compilers for other languages\n\n    [key: string]: CustomCompiler\n    // keys will be matched to block's lang attribute and type\n  }\n\n  hotReload?: { // false\n    // hot reload options\n\n    hotAPI?: string // 'require(\"vue-hot-reload-api\")'\n    // reference to vue hot reload api\n\n    vueModule?: string // 'require(\"vue\")'\n    // reference to vue module\n  }\n}\n\ntype BuildResult = CodeResult & {\n\n  warnings: Array<WarningMessage>\n  // compiler warnings\n\n  scopeId?: string\n  // component scope id\n\n  styles?: Array<CodeResult>\n  // extracted styles\n}\n\ntype CodeResult = {\n  code: string\n  map?: SourceMapGenerator\n}\n\ntype ErrorResult = {\n\n  errors?: Array<WarningMessage>\n  // vue parser errors\n}\n\ninterface Compiler {\n\n  default(filePath: string, content: string, options?: CompilerOptions): Promise<BuildResult | ErrorResult>\n}\n\ntype WarningMessage = {\n  msg: string\n  start?: number\n  end?: number\n}\n\ntype CustomCompilerGetter = (item: BlockItem, options: CompilerOptions)?: Promise<CustomCompiler | false>\n\ntype CustomCompiler = (item: BlockItem, options: Object): Promise<CodeResult & { warnings }>\n\ntype BlockItem = SFCBlock & {\n\n  warnings: Array<WarningMessage>\n  // warnings comes from custom compilers\n\n  line: number\n  // zero-based line number that block begins\n\n  sourceContent: string\n  // origin block content\n\n  content: string\n  // line-padded block content\n\n  index?: number\n  // exists if the block is a style block or a custom block\n\n  filePath: string\n  // file path passed to the compiler\n\n  node: SourceNode\n  // source node generated from filePath and content\n}\n```\n","readmeFilename":"README.md","gitHead":"9f3bb75bc7d80a5d6a34946c5d0aacf3ec3166de","_id":"vue-compiler@4.0.4-beta","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-jn0aMqLW1fVogVp0bGTKEwRTwnL934aokXftOwk9aLYBBpGgTSiI0DCrBARZRjN1sE4LY3KEmM5gDgUN5KP/cA==","shasum":"e6eed68d28c153b7653acd66f323b93609d9850b","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.0.4-beta.tgz","fileCount":57,"unpackedSize":55919,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDohnJ0VuVOoZ1boawPfs7sxPn2ohZvtRJpaGSPQA3negIgMeVCj1SW44NJMAc9BjGXgwHOItyJkubJ3ncao+ohpxw="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.0.4-beta_1522415789538_0.33426611604546297"},"_hasShrinkwrap":false},"4.0.5-beta":{"name":"vue-compiler","version":"4.0.5-beta","main":"lib","scripts":{"build":"tsc","test":"jest","prepublishOnly":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"license":"MIT","dependencies":{"@vue/component-compiler-utils":"^1.0.0","hash-sum":"^1.0.2","lodash.defaultsdeep":"^4.6.0","postcss":"^6.0.21","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","source-map":"^0.7.2","vue-template-compiler":"^2.5.16","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"@types/lodash.defaultsdeep":"^4.6.3","@types/node":"^9.6.1","@vue/test-utils":"^1.0.0-beta.13","babel-cli":"^6.18.0","babel-eslint":"^8.2.2","babel-jest":"^22.4.3","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2","es6-promisify":"^6.0.0","eslint":"^4.19.1","eslint-config-google":"^0.9.1","jest":"^22.4.3","ts-jest":"^22.4.2","typescript":"^2.8.1","typescript-eslint-parser":"^14.0.0","vue":"^2.5.16"},"repository":{"type":"git","url":"git+https://github.com/gzzhanghao/vue-compiler.git"},"bugs":{"url":"https://github.com/gzzhanghao/vue-compiler/issues"},"homepage":"https://github.com/gzzhanghao/vue-compiler#readme","description":"A standalone vue component compiler","readme":"# Vue compiler\n\nA standalone vue component compiler.\n\n__NOTE: Please check out [vue-loader](https://github.com/vuejs/vue-loader) and [vueify](https://github.com/vuejs/vueify) if you'd like to run the compiler with webpack or browserify__\n\n## Usage\n\n```javascript\nconst compile = require('vue-compiler').default\n\nconst filePath = 'index.vue'\n\nconst content = `\n  <template>\n    <div> component contents </div>\n  </template>\n`\n\nconst options = {\n  // compiler options\n}\n\ncompile(filePath, content, options).then(res => {\n  if (res.errors) {\n    console.log(res.errors)\n    return\n  }\n  console.log(res.code)\n  // commonjs module code\n})\n```\n\n## API\n\n```typescript\ntype CompilerOptions = {\n\n  includeFileName?: boolean // false\n  // inject file path as module.__file\n\n  compilerOptions?: Vue.CompilerOptions // null\n  // options for vue template compiler\n\n  extractStyles?: boolean // false\n  // extract styles from the component\n  // extracted styles are available in 'styles' field\n\n  styleLoader?: string // \"loadCss\"\n  // method to load css strings if not extracted\n  // styles will be loaded with `${styleLoader}(${cssString}, ${scopeId})`\n\n  postcss?: Array<PostCSSPlugin> // []\n  // PostCSS plugin list\n\n  postcssModules?: Object // null\n  // options for PostCSS modules\n\n  sourceMap?: boolean // false\n  // enable sourcemap\n\n  styleSourceMap?: boolean // false\n  // enable sourcemap for styles\n  // style's sourcemap will be inlined in the css string if not extracted\n\n  sourceMapRoot?: string // \"vue:///\"\n  // source root\n\n  getCompiler?: CustomCompilerGetter // noop\n  // get compiler for a block\n  // return false to prevent resolving compiler from options.compilers\n\n  compilers?: {\n    // custom compilers for other languages\n\n    [key: string]: CustomCompiler\n    // keys will be matched to block's lang attribute and type\n  }\n\n  hotReload?: { // false\n    // hot reload options\n\n    hotAPI?: string // 'require(\"vue-hot-reload-api\")'\n    // reference to vue hot reload api\n\n    vueModule?: string // 'require(\"vue\")'\n    // reference to vue module\n  }\n}\n\ntype BuildResult = CodeResult & {\n\n  warnings: Array<WarningMessage>\n  // compiler warnings\n\n  scopeId?: string\n  // component scope id\n\n  styles?: Array<CodeResult>\n  // extracted styles\n}\n\ntype CodeResult = {\n  code: string\n  map?: SourceMapGenerator\n}\n\ntype ErrorResult = {\n\n  errors?: Array<WarningMessage>\n  // vue parser errors\n}\n\ninterface Compiler {\n\n  default(filePath: string, content: string, options?: CompilerOptions): Promise<BuildResult | ErrorResult>\n}\n\ntype WarningMessage = {\n  msg: string\n  start?: number\n  end?: number\n}\n\ntype CustomCompilerGetter = (item: BlockItem, options: CompilerOptions)?: Promise<CustomCompiler | false>\n\ntype CustomCompiler = (item: BlockItem, options: Object): Promise<CodeResult & { warnings }>\n\ntype BlockItem = SFCBlock & {\n\n  warnings: Array<WarningMessage>\n  // warnings comes from custom compilers\n\n  line: number\n  // zero-based line number that block begins\n\n  sourceContent: string\n  // origin block content\n\n  content: string\n  // line-padded block content\n\n  index?: number\n  // exists if the block is a style block or a custom block\n\n  filePath: string\n  // file path passed to the compiler\n\n  node: SourceNode\n  // source node generated from filePath and content\n}\n```\n","readmeFilename":"README.md","gitHead":"053c8c3a2f3b293b99aa54d0c5554bdf58c62957","_id":"vue-compiler@4.0.5-beta","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-p6uQEskzDsukTrASdSY2tXhZhtD56uvK1wvG547Jmq2H9FnS0y1sz9DSSu6A1VGPCUnSb16xh4HDTQQssuQelA==","shasum":"807d093e6f54f0568ad3e30c72dca6189ad2abfc","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.0.5-beta.tgz","fileCount":57,"unpackedSize":56096,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEe3W5xz7RUIOa9NEb2l9cX8MpbkYUqrE4rShaW/eJ1oAiBEQNwqTZUIC9rjFKx0v4h/4XGn91yEsx3kAFIh1Q5EYw=="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.0.5-beta_1522417649243_0.6351195694729124"},"_hasShrinkwrap":false},"4.0.0":{"name":"vue-compiler","version":"4.0.0","main":"lib","scripts":{"build":"tsc","test":"jest","prepublishOnly":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"dependencies":{"@vue/component-compiler-utils":"^1.0.0","hash-sum":"^1.0.2","lodash.defaultsdeep":"^4.6.0","postcss":"^6.0.21","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","source-map":"^0.7.2","vue-template-compiler":"^2.5.16","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"@types/jest":"^22.2.2","@types/lodash.defaultsdeep":"^4.6.3","@types/node":"^9.6.1","@vue/test-utils":"^1.0.0-beta.13","es6-promisify":"^6.0.0","eslint":"^4.19.1","eslint-config-google":"^0.9.1","jest":"^22.4.3","ts-jest":"^22.4.2","typescript":"^2.8.1","typescript-eslint-parser":"^14.0.0","vue":"^2.5.16"},"description":"A standalone vue component compiler","gitHead":"349b6ce0a46ca027513b21a0369dc8c27f56dd42","_id":"vue-compiler@4.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-IK8vSEI97JZfvXCoiBB3ydhWcsZ7M1V5CIW7vTcBSfnQKprD6x25JFca6qo9zN9DbPcMxLv39VdL3n+x1AZO/A==","shasum":"ca0b8849e913114868c5ab14363738c3e473897b","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.0.0.tgz","fileCount":57,"unpackedSize":62418,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDovmMUnXZQ5HFpjX+OD/ALYLacLl/hZpHgs4TAGc6QXwIgYDZMGoArKkVKuMzYWfE632znjOI/B3m0fLLXE/p8/xI="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.0.0_1522660912276_0.173518617149945"},"_hasShrinkwrap":false},"4.0.1":{"name":"vue-compiler","version":"4.0.1","main":"lib","scripts":{"build":"tsc","dev":"tsc -w","test":"jest","prepublishOnly":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"dependencies":{"@vue/component-compiler-utils":"^2.1.0","hash-sum":"^1.0.2","lodash.defaultsdeep":"^4.6.0","postcss":"^7.0.0","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","source-map":"^0.7.2","vue-template-compiler":"^2.5.16","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"@types/jest":"^23.3.0","@types/lodash.defaultsdeep":"^4.6.3","@types/node":"^10.5.2","@vue/test-utils":"^1.0.0-beta.13","es6-promisify":"^6.0.0","eslint":"^5.1.0","eslint-config-google":"^0.9.1","jest":"^23.4.1","prettier":"^1.11.1","ts-jest":"^23.0.1","typescript":"^2.8.1","typescript-eslint-parser":"^16.0.1","vue":"^2.5.16"},"description":"A standalone vue component compiler","gitHead":"44f7c39603140ef12948531f4bce4c016d5e9a3f","_id":"vue-compiler@4.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-xpNXWbSj+AC4KhxM8Q4EmZNbnOSb3V1fxN22/FBHptOHUekTRfm/005dqdz/6xMs9FFOUaQrCdTci5OR3OLVHA==","shasum":"b4b73c47f41d20e3b28e56e4a307afa956492d00","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.0.1.tgz","fileCount":57,"unpackedSize":65128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTtYdCRA9TVsSAnZWagAAuokP+gLbEotAF23cVKYXK8Lt\nJBz/hW1n9AV3SBUjTBfgO3OEveGWModcZp7N3iUGqb8kP0wGNxqW3RPkfOAF\nUjFoEFI1E/mUVFSp12vpkPXUXkRjLOgzA2uGPyypwHH2G8QrHZOyQwM0DZjo\nv/uDGPmu8utwg3tTEehcxRKIxA/vYuJAKrdHKsEHcy9u3TdKDvV8+WatqJiw\n6HcKz7s9Guh0poDFRS0JdK40xnrBOWQQXpfQC1+xn9yrDnQCdUxgBDrypMjf\nWEczU7JD2p7jHf4In7xMuRr2Gz5LDWFIQERyq6+yw9HyfmJ53ZMw5TH3fM4S\nF7Tg1ItNM3H44XwUQzotzpOJ6tC2vdSlme+pYTFvgOks/BHKJajbfw0aZCXI\nCG5JctjZQ98W/DYvwH+0GQN07+UfoBKvmuG92oMTpwHzDaYOeqHcIiUVC2tG\n/6HmFQa01uWlWseUJ5sjfN8kjvTHB4nj8jggwCExUOGJWyq+VOenwA4/QyLq\nteG6Ia9D/qlNkfYSdCSW06goJyM0QOpNcEN/pdWyuxXy4hLPmGp47quuhVkG\nPu9Mkr0HGazoETs09E7egmv0RuXXUiP5xSn/Oxu4oJ/bI8q4lqVhoNloMVpW\nq6hugnTWXHXIUEB1dYNkqyCJ+BuZIyE/c7aW1qMuG/kvcHg32M3KM4sLQuQq\nZ7K3\r\n=FQ9s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHNoKG7K5qxM+7u/cqZEEh3kcARkAi04SGWGtIw9Ko9aAiEA0S9o3XLCjQ3Xp/GQyl4s4G0kvZkArALLdLuTfVZ5qXw="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.0.1_1531893277521_0.8640780024878596"},"_hasShrinkwrap":false},"4.1.0":{"name":"vue-compiler","version":"4.1.0","main":"lib","scripts":{"build":"tsc","dev":"tsc -w","test":"jest","prepublishOnly":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"dependencies":{"@vue/component-compiler-utils":"^2.1.0","hash-sum":"^1.0.2","lodash.defaultsdeep":"^4.6.0","postcss":"^7.0.0","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","source-map":"^0.6.1","vue-template-compiler":"^2.5.16","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"@types/jest":"^23.3.0","@types/lodash.defaultsdeep":"^4.6.3","@types/node":"^10.5.2","@vue/test-utils":"^1.0.0-beta.13","es6-promisify":"^6.0.0","eslint":"^5.1.0","eslint-config-google":"^0.9.1","jest":"^23.4.1","prettier":"^1.11.1","ts-jest":"^23.0.1","typescript":"^2.8.1","typescript-eslint-parser":"^17.0.1","vue":"^2.5.16"},"description":"A standalone vue component compiler","gitHead":"e8ee175efc179c373315e28babf6c586be7952fc","_id":"vue-compiler@4.1.0","_npmVersion":"6.2.0","_nodeVersion":"10.4.1","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-67/GY25yfCe8j59OpQCtYLz1vRVQCSMNgur9swHvSJ3yUmReX+Hj0e0Q4jGlQQaPAeqjaTDV7hzR0c+4HUhpRQ==","shasum":"74743e51b477f60395308467fa054b61f1f31370","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.1.0.tgz","fileCount":49,"unpackedSize":221318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbXLV/CRA9TVsSAnZWagAAdT0P/RD7FyugmC24sc40izMY\nIE0MuXbQZAxvxbGyloEFRc9O6d9CkUEhfAcqPu3HJ+/NS7YA8k4iy9/w05Ak\nVGrQk7CtvS965Dd2lsAP0csvikYx0+jef6f3UgVwxnMAS8PMkygrBL1dkdLo\nn+5/AjjCzv45optKwW+7yuA78CfsJ8wbgnu9xqP0UnYRaJnqN1JIYqkLPQVq\nF63dubw/wBDNFUQujXlLYA9KyIvbsBilmq0K8c/67OH5AfjxQqO1bLSsywBn\n3z3s08T6o9deo7VwjONEh+w5nUoxUZjo6bIa+shv6y1Om1XttjMWKctFMzy7\nXmqWyYoFp/2/SjO7XYlPbUh3Exk80qECGh7Wt7IWndyqTSFUB8qRsj3h/mWp\nWdx1/JkhD8gXMK7B7lryzS2sD9F9V0JIKC3wL/D360RHm6JI5ghV80qLr4WQ\nahTFEzzs56RLoGrVp4VS8LmZykvutu992XccLsvdApFs1F7hl4dIHdqYobSa\nZhHLIQA9o0BQe49bkEnrzx+mLMx+/gcu2WF+wAW/Q8iQwV60kxLmVPEm7jKR\nbUnZkx914p46ZL6tOjJQn23uOEwgi9Y6140YzfnmF0F0TcGJK8D6NSu2uSIY\nz9yVAocetfVkMADzYKaRH7qbmFsnx+3buOOlH67HpXKWdb3i4YoZFq1hS5oR\n2DCf\r\n=TkUr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDxbjdi2DOdoLnS+p9PATynzlb7aR0XF5J4ajz3xFDVDAiBzRjK2dzR/ee7BlORtz0lJvXAtpP+LGKhfi0gowZ2RlQ=="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.1.0_1532802431510_0.7116883749534875"},"_hasShrinkwrap":false},"4.1.1":{"name":"vue-compiler","version":"4.1.1","main":"lib","scripts":{"build":"tsc","dev":"tsc -w","test":"jest","prepublishOnly":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"dependencies":{"@vue/component-compiler-utils":"^2.1.0","hash-sum":"^1.0.2","lodash.defaultsdeep":"^4.6.0","postcss":"^7.0.0","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","source-map":"^0.6.1","vue-template-compiler":"^2.5.16","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"@types/jest":"^23.3.0","@types/lodash.defaultsdeep":"^4.6.3","@types/node":"^10.5.2","@vue/test-utils":"^1.0.0-beta.13","es6-promisify":"^6.0.0","eslint":"^5.1.0","eslint-config-google":"^0.9.1","jest":"^23.4.1","prettier":"^1.11.1","ts-jest":"^23.0.1","typescript":"^2.8.1","typescript-eslint-parser":"^17.0.1","vue":"^2.5.16"},"description":"A standalone vue component compiler","gitHead":"8e6bf994a196c0ab857c9031813554a24c404f17","_id":"vue-compiler@4.1.1","_npmVersion":"6.2.0","_nodeVersion":"10.4.1","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-rXsVd3YKXKzCickajssOgwiPCKPbfMCwDAiipts9yvL1l09l6djLrGU4s+K81uKok6RGrxy6bvjgLjIFgOxecQ==","shasum":"4f2e10ae1fe2c85dea2d4242955917df587fe5d9","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.1.1.tgz","fileCount":49,"unpackedSize":221494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbXLgFCRA9TVsSAnZWagAAwFMQAJbJCq6KWNJT/uCiJg38\nBR714q/0UKrWb5f9U5A9zK0aavd90qKzR8Xb9E/dnq/DgG8680lqkdpir/Ii\n794NuWNHwqMkjr1Ghk6fTc9zhX4ZFQW6ULeJxLtRBeIH+nQVaOujfjvgY5VP\nixV/tUOYqM8SZqpXYGad0pZxQvKjfcsyx/LdJWeF2IM4bqHXa/IZm9rRJ6yc\nI1tvuKN5Gjwe5M0ZAetE53QXEsT48FMgTtWV7mzpRqeDdg8TBGRsxZiKfgyl\n94WP3r5lkR7i+dSNWpvdi/4TnvKg2UVWn3sv1lsHavPIzYRNHnx14JnHtrNO\nHQUOpR7ocRyqeisKr0xCPL5oC/shh3lJSIHHRNLTPc13Kbajpyj7I+2TUfbl\ntkSWMKqS5FfKHGKQ6B+AfoosDquNGy2GCsUICKspNCWJk1aeAKpUEjGzqDwf\n1axo0xdurY4FhQVl1AnnNKZ+N4v8g/JbveN6bpV9fBhAEnFZfBOuQOlp8FSw\n+A+Dxve16sGM2UxB3q7NoO4eHPOWtSEwOL4mmB3bj+qWStM6HHfhEExppiro\nPa1EQ1pMdVy9jIXzt6naXJDSqnYdJHLltqijIoALcH9J2N1fn7XIc14s4EVU\nJJDFVZ0EkqgOVovCsKdrx2UzoAfWfhnQwUd0ceXO/nZBVn8Zsou2TvJZmw1b\nNxU6\r\n=J8OV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFmjI9KiDdQ29n2WcFg7w3VOkHsuMJzb4GWjSFGstymgAiAQU+8+Uo8mAEmGStKhIwVcsSLHwTa5aTG70NP8scv6Zw=="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.1.1_1532803077742_0.10816942254068529"},"_hasShrinkwrap":false},"4.1.2":{"name":"vue-compiler","version":"4.1.2","main":"lib","scripts":{"build":"tsc","dev":"tsc -w","test":"jest","prepublishOnly":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"dependencies":{"@vue/component-compiler-utils":"^2.1.0","hash-sum":"^1.0.2","lodash.defaultsdeep":"^4.6.0","postcss":"^7.0.0","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","source-map":"^0.6.1","vue-template-compiler":"^2.5.16","vue-template-es2015-compiler":"^1.6.0"},"devDependencies":{"@types/jest":"^23.3.0","@types/lodash.defaultsdeep":"^4.6.3","@types/node":"^10.5.2","@vue/test-utils":"^1.0.0-beta.13","es6-promisify":"^6.0.0","eslint":"^5.1.0","eslint-config-google":"^0.9.1","jest":"^23.4.1","prettier":"^1.11.1","ts-jest":"^23.0.1","typescript":"^2.8.1","typescript-eslint-parser":"^17.0.1","vue":"^2.5.16"},"description":"A standalone vue component compiler","gitHead":"a114ad16db24038dabf40fe19c9d20ed90291af1","_id":"vue-compiler@4.1.2","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-qRGXyICz5Z9+Vxr7T+tpetdSv88LTQP9hj+k6JiVxHwbWjehO9g44HjVzJgj1HC6S+Mz6QqiLnpjTdE94DWmgA==","shasum":"4cba5cd4292e13a898bbf062e4f959181a0fed56","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.1.2.tgz","fileCount":59,"unpackedSize":223865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYBmoCRA9TVsSAnZWagAAmI8P/1Ox/vnJAcY2ThQElxJG\na+ryg1LGwSJlJlPd2Z34yIwYqhNcBkwHKcY35HdmHaxpVx//aJGi0HzekeNz\nA0sn0v3QYZjs46GKA1XCkF4Ss3pcXBDbZ6gtWV8mWMaMUN11mM14FcgyAa47\nb95KMdjoDXv8B6jE6y+9yqJxP2Nb9OIksqyq2VtZZLGQZOZ3Jh9O4zVyhSL9\nZJb67pkYcoonVmfZ672YRRN21ha2KuI6JcVcG5wonoMgip9F++ILhQKsQBJj\nl5pNObrTKHh22XXvL1Oxv/af94KY0vZjSJrtYPRj5zYg6DJQESHtE266Jiac\nduZHGPjbY9t3LZ2L2J2EF+vdkI8bxBt4x2dlFlSqNNyf+op1Co6vhuLPEntN\nhTzTxPL/3NZs0jFWH298Te4UM3nInhYJHh3+zqkD9b6oBsHe+dwNXaGGECBq\nLxJagkIVwMm/MRwKT/OC8fBVdReP/IG1bxd5ZTLuqfVJeUp06sLqqMM6RbvI\n1TP/BigquH9fO8U5iWxOhjISNHvoEVmI1srNHoT+qp3M4DWAiixx4J567ibR\nbljJw8tGJbQe2FUL+POKR7342ZAtGhgmlhe/WJX9HOmf3iIYuvuStTYiKIXY\nf5+hPemp0BMyALhXvaax95BGccP6qAhbRVy9e2sLl8i7rOcwNmEXpfMKFZFK\ngZ2O\r\n=M9y7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFxKqJKUPaTKXepaTF+28Gls2Vq85lcHa1AvLmpjgRrTAiEA+QnbMD1ziad7ZkFn2rl0yguo/ZFZPfhRDjC+L9nHqhI="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.1.2_1533024680297_0.16521231006641468"},"_hasShrinkwrap":false},"4.2.0":{"name":"vue-compiler","version":"4.2.0","main":"lib","scripts":{"build":"tsc","dev":"tsc -w","test":"jest","prepublishOnly":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"dependencies":{"@vue/component-compiler-utils":"^2.1.0","hash-sum":"^1.0.2","lodash.defaultsdeep":"^4.6.0","postcss":"^7.0.0","postcss-modules":"^1.1.0","postcss-plugin-composition":"^0.1.1","source-map":"^0.6.1","vue-template-es2015-compiler":"^1.6.0"},"peerDependencies":{"vue-template-compiler":"^2.5.16"},"devDependencies":{"@types/jest":"^23.3.0","@types/lodash.defaultsdeep":"^4.6.3","@types/node":"^10.5.2","@vue/test-utils":"^1.0.0-beta.13","es6-promisify":"^6.0.0","eslint":"^5.1.0","eslint-config-google":"^0.9.1","jest":"^23.4.1","prettier":"^1.11.1","ts-jest":"^23.0.1","typescript":"^2.8.1","typescript-eslint-parser":"^17.0.1","vue":"^2.5.16","vue-template-compiler":"^2.5.16"},"description":"A standalone vue component compiler","gitHead":"77fc59690d0994db2288796fe81951ccc9aef076","_id":"vue-compiler@4.2.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"dist":{"integrity":"sha512-ILCG2YjGVUQ0QpHuWw3fPnEjwM6qr0BNNgommMZxNE+qos/Gh1zu9GaRiDHYvIxJkK6p80YRuUzlVMLGKQi65w==","shasum":"6099af6ec87fcbf8c4d12b16776c319972d36bf7","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.2.0.tgz","fileCount":59,"unpackedSize":223933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPqurCRA9TVsSAnZWagAA83oP/Rd3HGt7PGQpMpVjM76N\nL2hBqqrmaZzgtDWC1k71Oor1O7A7R6X/TAokjPWM2qOFiRPobTFQfSLLKZUi\nYGRoXaXZ2gEtEH/M+BSQD0VPsmPKqM8MPc7n/qX8wCdkElSOyBHfLNkQXp6A\n20rAHxWuzG0n2QOLDMS6/OT/wCSRO+G+b7W1Uh3P37SbzqPm0P3jDaCglwBm\nGjSnqd2DnmEhNCXN0MZCka989uYfW+NY0WMrhC2zvyB0U6ZNcTCMGfyNSgzJ\nqy3I2kv85NZ/VEkQtzu4myvJzzYmrwKw4int8WfkXLuMwReal+EP3zrWZ0Pd\nxPNmXd5MMzIlL2ZrS9335Ic1vZYSTxPKxtFBFBTO8tmP3F05PHViTENFntPB\nb662k7UxH49qroWFh5V6EHTrRWvJncrGJFMAdTV0ti+Hr39JVfeuIwVzhTSs\nlNCpuE1FElbPQLP9OWL/DPj24ffG6OqpOV+QOG+Ka32KbsGDPzeW1tLr8LaT\nzj3qv2QQqT3Y6XpMvZL3vQ+zYH3OS48/9bChbjKN0ZD8Amfa7ILTLvIgba7G\nX456cDolJlB8nkAQfm5jsla5H05wZH2D0pK2Iz1L3lP+obPX22+QBIREUsAW\nrea1ylSVhYZ40rnT2pWpcFVFDfBKpqnZy6vD6Ifa4d7YeooWDJXZp66dmP2k\nRNSY\r\n=iDR7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDR2EnG9gcMpKk3dD+TLOJemFEodMk6q9HcsXsv48y9NgIgUueJ11cKxnthd0TCiGNlYKThaKX5tM2oobis0wP2xbo="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.2.0_1547611050477_0.4024460398005425"},"_hasShrinkwrap":false},"4.2.1":{"name":"vue-compiler","version":"4.2.1","main":"lib","scripts":{"build":"tsc","dev":"tsc -w","test":"jest","prepublishOnly":"npm run build"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"dependencies":{"@vue/component-compiler-utils":"2.6.0","hash-sum":"^1.0.2","lodash.defaultsdeep":"^4.6.0","postcss":"7.0.14","postcss-modules":"1.4.1","postcss-plugin-composition":"^0.1.1","source-map":"^0.6.1","vue-template-es2015-compiler":"1.9.1"},"peerDependencies":{"vue-template-compiler":"^2.6.10"},"devDependencies":{"@types/jest":"24.0.9","@types/lodash.defaultsdeep":"^4.6.3","@types/node":"^11.9.5","@types/prettier":"^1.16.1","@vue/test-utils":"^1.0.0-beta.13","es6-promisify":"6.0.1","eslint":"5.14.1","eslint-config-google":"0.12.0","jest":"24.1.0","prettier":"1.16.4","ts-jest":"24.0.0","typescript":"3.3.3333","typescript-eslint-parser":"22.0.0","vue":"2.6.10","vue-template-compiler":"2.6.10"},"description":"A standalone vue component compiler","gitHead":"c6c7de035e51ffec1721e62ef6e1df0320e765ab","_id":"vue-compiler@4.2.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-EFNRKmq1loIqeGKJOAqau5W68n9v6WFll9RTRz/eIDKmk9hj6BnVYCNygfDBhKA2eAO0bL4w7ZHiP6Pkz2cBBA==","shasum":"8199790ab74fbcc1d2342554062d618e3f6c7ba7","tarball":"https://registry.npmjs.org/vue-compiler/-/vue-compiler-4.2.1.tgz","fileCount":59,"unpackedSize":72329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEcCkCRA9TVsSAnZWagAALUoP/RQgYmo94SfeLclqoso3\nqTQMYplT473zgrCB2STyHabbUe0GU1JMaH8UVxLE6Kt3V6ma7LoUTa+Hb0RV\nYT5HhRV2HSg9ULNG9JzYnbLp8pu424D1C5tk8JCzcGZrkAT1mzyyceBuqZau\neYGbYb0zh8ZCgFyw7k0Z2WAw3q5xseA/xEpyGN5wJZeuN29xVHNr01TGQcsc\ncVmzPXDH6cSuB7QPQdj6VFl38ywUM9Os+PexlWHZ51o3dlDJaHDytNlTCVd2\nT0/VfjYcd19u9ny74fY/ArLPiqk5O9jZojqctvjKHiYR09Cp57KV+lidQXXW\n6fBjqtLLbPPFhKg9xX4Nsjm4Ddu6+FfDYboteicSmuegk0EtNGlPUBvwNHkB\nhDt0WRsQr2/fDsTCBlXLF6AcapQo9gQ0N7DhrkyPySe1Ml+YpZAIuGeJ7Aip\noemMfwzATFiZqFjgy/OkFNLjGUJ+0Xg/n+CH0jKYOAjmaA83tZm9e7o/z8Uv\n4cG7sS6brR4X4r/q1Zt9nU/YqK5F3B6WLvJl7dGDpwLQcPrIyzG7pAd5Q306\nMj2+6vwQaDu+KCocQ65WrHyTAvQJat+9gFsOv+6MukarCQQ7OWVXv4v7GTvH\nZ4p144H9vaJxetXo6u5YPmyypO49VSsVHfO/LvVoIqE2290vsWBsRdCgwii3\nDXmy\r\n=n7iS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5Be7GUCu178b9ZWnQtJu2sE7DfjVR9oDAUB5x9STayAIgYJ19qSF1I562DPPg74dQYtYcXFP2Pr5P/7mRgm5Pr7Q="}]},"maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"_npmUser":{"name":"gzzhanghao","email":"jason.daurus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-compiler_4.2.1_1594998948105_0.9088246897828898"},"_hasShrinkwrap":false}},"readme":"# vue-compiler\n\nFor those who can't use webpack in their project.\n\n## Basic Usage\n\n```javascript\nimport compile from 'vue-compiler'\n\nconst { code, map } = await compile(source)\n\n// :tada:\n```\n\n## Table of Contents\n\n- [vue-compiler](#vue-compiler)\n  - [Basic Usage](#basic-usage)\n  - [Table of Contents](#table-of-contents)\n  - [API](#api)\n    - [compile(source: string, options: CompileOptions): Promise&lt;CompileResult&gt;](#compilesource-string-options-compileoptions-promisecompileresult)\n    - [compileSync(source: string, options: CompileOptions): CompileResult](#compilesource-string-options-compileoptions-promisecompileresult)\n    - [parse(source: string, options: ParseOptions): SFCDescriptor](#parsesource-string-options-parseoptions-sfcdescriptor)\n    - [compileTemplate(block: SFCBlock, options: CompileTemplateOptions): SFCTemplateBlock](#compiletemplateblock-sfcblock-options-compiletemplateoptions-sfctemplateblock)\n    - [compileStyle(block: SFCBlock, options: CompileStyleOptions): Promise&lt;SFCStyleBlock&gt;](#compilestyleblock-sfcblock-options-compilestyleoptions-promisesfcstyleblock)\n    - [assemble(components: AssembleInput, options: AssembleOptions): AssembleResult](#assemblecomponents-assembleinput-options-assembleoptions-assembleresult)\n    - [normalize(runtime: NormalizerRuntime): (component: ComponentDescriptor) => any](#normalizeruntime-normalizerruntime-component-componentdescriptor--any)\n\n## API\n\n### compile(source: string, options: CompileOptions): Promise&lt;CompileResult&gt;\n\nCompile SFC source code to a single cmd module.\n\n```typescript\ninterface CompileOptions {\n\n  mode?: 'development' | 'production' | 'server' // default: 'production'\n  // compile mode, used to determin default options\n\n  filename?: string // default: '<anoymous>'\n  // file name that will be used in sourcemaps and `vm.__file` field\n\n  scopeId?: string // defaulat: hash(filename)\n  // scopeId for scoped css and hmr\n\n  parseOptions?: ParseOptions\n  // options for `parse`\n\n  templateOptions?: CompileTemplateOptions\n  // options for `compileTemplate`\n\n  styleOptions?: CompileStyleOptions\n  // options for `compileStyle`\n\n  assembleOptions?: AssembleOptions\n  // options for `assemble`\n\n  processOptions?: ProcessOptions\n  // options for processing blocks\n\n  sourceMaps?: boolean\n  // enable sourcemaps\n\n  sourceRoot?: string\n  // source root for the sourcemap\n\n  ssrOptimize?: boolean\n  // generate SSR optimized code\n}\n\ninterface CompileResult extends AssembleResult {\n\n  errors?: Array<any>\n  // error from `vue-template-compiler`\n\n  tips?: Array<any>\n  // error from `vue-template-compiler`\n\n  scopeId: string\n  // component's scopeId\n\n  functional?: boolean\n  // whether the component is functional\n}\n\ninterface ProcessOptions {\n  // custom compilers will run before built-in compilers\n\n  getCompiler?: (block: SFCBlock) => CustomCompiler|false|void\n  // get compiler for a specific block\n  //\n  // when return false, processor will NOT try to get compilers\n  // from ProcessOptions.compilers\n\n  compilers?: { [key: string]: CustomCompiler }\n  // compilers for specific blocks and langs\n}\n\ntype BuiltInCompiler = (block?: SFCBlock) => Promise<SFCBlock>\n// built in compiler that returns a SFCStyleBlock or SFCTemplateBlock\n\ntype CustomCompiler = (block: SFCBlock, builtIn: BuiltInCompiler) => void|SFCBlock|Promise<void|SFCBlock>\n// custom compiler that replaces block's properties or\n// returns a new block to replace the origin block\n```\n\n### parse(source: string, options: ParseOptions): SFCDescriptor\n\nParse SFC source into a descriptor.\n\n```typescript\ninterface ParseOptions {\n\n  parseOptions?: Object\n  // options passed to `VueTemplateCompiler.parseComponent`\n\n  filename?: string // default: CompileOptions.filename\n  // file name in SFCBlock\n\n  sourceMaps?: boolean // default: CompileOptions.sourceMaps\n  // enable sourcemap\n\n  sourceRoot?: string // default: CompileOptions.sourceRoot\n  // source root for the sourcemap\n}\n\ninterface SFCDescriptor {\n\n  script?: SFCBlock\n  // script block\n\n  template?: SFCBlock\n  // template block\n\n  styles: Array<SFCBlock>\n  // style blocks\n\n  customBlocks: Array<SFCBlock>\n  // custom blocks\n}\n\ninterface SFCBlock {\n\n  type: string\n  // block type\n\n  src?: string\n  // block's src attribute\n\n  attrs: { [key: string]: string|boolean }\n  // block's attributes\n\n  sourceNode: SourceNode\n  // source node for block's content\n  // will be `require(\"${src}\")` if src attribute is present\n\n  index?: number\n  // index of the block for style and custom blocks\n\n  loc: { start: Loc, end: Loc }\n  // location info\n}\n\ninterface Loc {\n\n  index: number\n  // location index\n\n  line: number\n  // zero-based line number\n\n  column: number\n  // zero-based column number\n}\n\n```\n\n### compileTemplate(block: SFCBlock, options: CompileTemplateOptions): SFCTemplateBlock\n\nTakes a block comes from `parse` method and transform it into a template block.\n\nThe `sourceNode` of the origin block will be compiled with `vue-template-compiler`, and additional info will be added to the block.\n\n```typescript\ninterface CompileTemplateOptions {\n\n  filename?: string // default: CompileOptions.filename\n  // file name for the result source node\n\n  ssrOptimize?: boolean // default: CompileOptions.ssrOptimize\n  // generate SSR optimized code\n\n  compile?: (template: string, options: Object) => any // default: VueTemplateCompiler.compile\n  // custom compile function\n\n  compileOptions?: Object\n  // compile options passed to `VueTemplateCompiler.compile`\n}\n\ninterface SFCTemplateBlock extends SFCBlock {\n\n  errors?: Array<any>\n  // error from `vue-template-compiler`\n\n  tips?: Array<any>\n  // error from `vue-template-compiler`\n\n  compileResult?: any\n  // result from compile method\n\n  functional: boolean\n  // whether the template is functional\n}\n```\n\n### compileStyle(block: SFCBlock, options: CompileStyleOptions): Promise&lt;SFCStyleBlock&gt;\n\nTakes a block comes from `parse` method and transform it into a style block.\n\nThe `sourceNode` of the origin block will be compiled with `scoped-id` and `postcss-modules` plugin, and additional info will be added to the block.\n\n```typescript\ninterface CompileStyleOptions {\n\n  scopeId?: string\n  // scopeId for scoped css\n\n  postcssPlugins?: Array<any>\n  // additional postcss plugins\n\n  postcssModules?: Object\n  // options for `postcss-modules`\n\n  filename?: string // default: CompileOptions.filename\n  // file name in SFCBlock\n\n  sourceMaps?: boolean // default: CompileOptions.sourceMaps\n  // enable sourcemap\n\n  sourceRoot?: string // default: CompileOptions.sourceRoot\n  // source root for the sourcemap\n}\n\ninterface SFCStyleBlock extends SFCBlock {\n\n  scoped: boolean\n  // whether the style block is scoped\n\n  cssModules?: { name: string, mapping: { [key: string]: string } }\n  // css modules info when `module` attribute is present\n}\n```\n\n### assemble(components: AssembleInput, options: AssembleOptions): AssembleResult\n\nAssemble blocks into a code block that evaluates to a `ComponentDescriptor`.\n\n```typescript\ninterface AssembleInput {\n\n  script: SFCBlock\n  // script block\n\n  template: SFCTemplateBlock\n  // template block from `compileTemplate`\n\n  styles: Array<SFCStyleBlock>\n  // style blocks from `compileStyles`\n\n  customBlocks: Array<SFCBlock>\n  // custom blocks\n}\n\ninterface AssembleOptions {\n\n  filename?: string // default: CompileOptions.filename\n  // file name in SFCBlock\n\n  sourceMaps?: boolean // default: CompileOptions.sourceMaps\n  // enable sourcemap\n\n  sourceRoot?: string // default: CompileOptions.sourceRoot\n  // source root for the sourcemap\n\n  styleSourceMaps?: boolean // default: AssembleOptions.sourceMaps\n  // emit sourcemaps for styles\n\n  scopeId?: string\n  // component's scopeId\n\n  prefix?: SourceNode|string\n  // prepend to generated code, useful for specifying module normalizer\n  // defulat: 'module.exports = require(\"vue-compiler/lib/normalizer\").default({})'\n  // eg: 'return ' -> return { /* component descriptor */ }\n  // eg: 'define(' -> define({ /* component descriptor */ })\n\n  postfix?: SourceNode|string\n  // append to generated code\n\n  extractStyles?: boolean\n  // extract styles\n\n  ssrOptimize?: boolean\n  // generate SSR optimized code\n\n  hotAPI?: string\n  // enable hmr and specify hot reload API\n  // eg: 'module.hot'\n\n  includeFileName?: boolean\n  // set `vm.__file` to AssembleOptions.filename\n}\n\ninterface AssembleResult {\n\n  code: string\n  // result code\n\n  map?: SourceMapGenerator\n  // result sourcemap\n\n  extractedStyles?: Array<{ code: string, map?: SourceMapGenerator }>\n  // extracted styles\n}\n\ninterface ComponentDescriptor {\n\n  script?: ModuleDefinition\n  // module definition for script block\n\n  template?: { render: string, staticRenderFns: Array<string> }\n  // render functions for template block\n\n  functional?: boolean\n  // whether the component is functional\n\n  file?: string\n  // filename from AssembleOptions\n\n  hasScopedStyles?: boolean\n  // whether the component has scoped styles\n  // when falsy, `scopeId` should not be added to the component options\n\n  scopeId?: string\n  // scopeId of the component, used for scoped css and hmr\n\n  inlineStyles?: Array<string>\n  // list of inline styles\n  // sourcemaps will be inlined if `styleSourceMaps` is truthy\n\n  cssModules?: Dictionary<Dictionary<string>>\n  // css modules info\n\n  hotAPI?: any\n  // hot module API evaluates from AssembleOptions.hotAPI\n\n  customBlocks?: Array<ModuleDefinition>\n  // module definitions for custom blocks\n}\n\ntype ModuleDefinition = (module: { exports: Object }, exports: Object) => void\n```\n\n### normalize(runtime: NormalizerRuntime): (component: ComponentDescriptor) => any\n\n```typescript\ninterface NormalizerRuntime {\n\n  injectStyles: (styles: Array<string>, scopeId: string) => void\n  // method to inject styles to document\n\n  hookModule?: (component: ComponentDescriptor, module: ComponentModuleDescriptor) => void\n  // method to hook hmr API with component\n}\n\ninterface ComponentModuleDescriptor {\n\n  hook?: Function\n  // called in `beforeCreate` life-cycle hook\n  // if the component is functional, it'll be called in `render` method\n\n  exports: any\n  // module.exports from script block\n\n  options: any\n  // vue options from script block\n}\n```\n","maintainers":[{"email":"jason.daurus@gmail.com","name":"gzzhanghao"}],"time":{"modified":"2022-06-28T19:12:33.046Z","created":"2015-07-03T18:05:14.690Z","0.0.1":"2015-07-03T18:05:14.690Z","0.0.2":"2015-12-18T10:06:48.195Z","0.1.0":"2016-02-11T15:47:57.041Z","0.1.1":"2016-04-15T00:04:41.822Z","0.1.2":"2016-05-04T21:12:35.176Z","0.2.0":"2016-05-04T21:18:25.597Z","0.2.1":"2016-05-04T21:22:06.805Z","0.3.0":"2016-05-06T08:00:21.313Z","1.0.0":"2016-10-10T13:05:31.396Z","2.0.0":"2016-10-10T13:25:20.609Z","3.0.0":"2017-12-04T02:25:30.523Z","3.0.1":"2017-12-12T03:56:56.822Z","3.0.2":"2017-12-26T11:36:36.227Z","3.1.0":"2018-03-02T12:29:39.439Z","4.0.0-dev":"2018-03-29T11:43:14.104Z","4.0.1-beta":"2018-03-29T11:49:55.855Z","3.1.1":"2018-03-29T13:56:29.283Z","4.0.2-beta":"2018-03-30T12:55:13.227Z","4.0.3-beta":"2018-03-30T13:12:35.372Z","3.1.2":"2018-03-30T13:14:25.358Z","4.0.4-beta":"2018-03-30T13:16:29.617Z","4.0.5-beta":"2018-03-30T13:47:29.326Z","4.0.0":"2018-04-02T09:21:52.512Z","4.0.1":"2018-07-18T05:54:37.629Z","4.1.0":"2018-07-28T18:27:11.658Z","4.1.1":"2018-07-28T18:37:57.865Z","4.1.2":"2018-07-31T08:11:20.379Z","4.2.0":"2019-01-16T03:57:30.617Z","4.2.1":"2020-07-17T15:15:48.291Z"},"author":{"name":"Jason","email":"jason.daurus@gmail.com"},"readmeFilename":"README.md"}