rmc-tools
v0.0.4
Published
offline tools for react component
Downloads
23
Readme
rmc-tools
offline tools for react component
Usage
$ rmc-tools run lint: run lint by https://github.com/airbnb/javascript
$ rmc-tools run pub: compile and npm publish
$ rmc-tools run watch --out-dir=/xx: watch and compile to /xx, default to lib
$ rmc-tools run build: build examples
$ rmc-tools run gh-pages: push example to gh-pages
$ rmc-tools run start: start dev server
preact
$ DEMO_ENV=preact rmc-tools run start: start dev server with preact and preact-devtools auto inject
standalone react-devtools
for simulator, safari, react-native debugger etc.
$ DEMO_ENV=debugger rmc-tools run start: start dev server with a standalone react-devtools connected to your page
package.json demo
({
config: {
entry:{}, // webpack entry for build dist umd
port: 8000, // dev server port
output:{}, // webpack output for build dist umd
}
})
History
6.0.0
- move test to rc-test