offline tools for react component
$ rc-tools run lint: run lint by https://github.com/airbnb/javascript
$ rc-tools run pub: compile and npm publish
$ rc-tools run watch --out-dir=/xx: watch and compile to /xx, default to lib
$ rc-tools run build: build examples
$ rc-tools run gh-pages: push example to gh-pages
$ rc-tools run start: start dev server
package.json demo
({config: {entry:{},// webpack entry for build dist umdport: 8000,// dev server portoutput:{},// webpack output for build dist umd}})- upgrade all deps
- add
testtask
- upgrade eslint to the latest version
- introduce prettier
- upgrade to webpack3
- move test to rc-test