- quick start for web project
- collect urban frameworks
$ npm i -g jdc-webcli
# install
npm i -g jdc-webcli
# create base project
node src example
# cmd help
node src
# publish
npm run release
$ webcli -h
Usage: index [options] <name>
Options:
-V, --version output the version number
-q --quiet will not print anything
-h, --help output usage information
webcli demo
vue base project
- stack:
vue+vuex+vue-router+axios - style sheet:
stylusvariable.stylinclude variable, function etc
- eslint:
airbnb-base
react+antd base project
- stack:
react+react-router+mobx+antd+axios - styl sheet:
stylus - eslint:
airbnb-base
javascript node_module package base project
- webpack: build JavaScript to dist/index.min.js
- unit test:
mocha+power-assert+sinon+nyc - eslint:
airbnb-base