Back to Gems
react-component/rc-tools(opens in a new tab)
Language: JavaScript
Tools For React Component
- stars
- 201
- watchers
- 6
- forks
- 57
- open issues
- 30
- Last updated
- 07/20/2021
Language: JavaScript
Tools For React Component
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 umd port: 8000, // dev server port output:{}, // webpack output for build dist umd } })
test task