npm.io
9.6.1-alpha.1 • Published 6 years agoCLI

rc-tools

Licence
MIT
Version
9.6.1-alpha.1
Deps
112
Size
335 kB
Vulns
4
Weekly
0
Stars
202
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

rc-tools

offline tools for react component

NPM version gemnasium deps node version npm download david-dm

Usage

$ 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
  }
})

History

9.0.0
  • upgrade all deps
  • add test task
8.0.0
  • upgrade eslint to the latest version
  • introduce prettier
7.0.0
  • upgrade to webpack3
6.0.0
  • move test to rc-test

Keywords