vc-tools
offline tools for vue component
![npm download](https://img.shields.io/npm/dm/vc-tools.svg?style=flat-square)
Usage
$ vc-tools run lint: run lint by https://github.com/vuejs/eslint-plugin-vue-libs
$ vc-tools run pub: compile and npm publish
$ vc-tools run watch --out-dir=/xx: watch and compile to /xx, default to lib
$ vc-tools run build: build examples
$ vc-tools run gh-pages: push example to gh-pages
$ vc-tools run start: start dev server
package.json demo
{
"config": {
"accesslog": true,
"port": 9528,
"entry": {
"my-project": [
"./src/index.ts"
]
},
"parallel": ["es", "js", "css"],
"output": {},
"css": {
"loaderOptions": {
"less": {
"options": {
"javascriptEnabled": true
}
},
"css": {
"options": {
"sourceMap": true
}
}
}
}
}
}