Skip to content

paranoidjk/rc-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tools For React/Preact Component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Shell 0.3%