rmc-tools

0.0.4 • Public • Published

rmc-tools

offline tools for react component

NPM version gemnasium deps node version npm download

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

Readme

Keywords

Package Sidebar

Install

npm i rmc-tools

Weekly Downloads

4

Version

0.0.4

License

none

Last publish

Collaborators

  • paranoidjk