react-vis
v1.5.7 d3 react visualization chart es6 babel
docs
(cd showcase && npm run build && cp bundle.* .. && cd .. && git checkout gh-pages && git commit -am 'Upgrade docs' && git push && git checkout master)
lint
eslint src tests showcase docs --ignore-pattern node_modules --ignore-pattern bundle.js
test
babel-node tests/index.js
build
npm run clean && babel src -d dist --copy-files && node-sass src/main.scss dist/style.css --output-style compressed && npm run build:browser
clean
rm -rf dist bundle.* index.html && mkdir dist
cover
nyc --reporter=text --reporter=html --reporter=lcov npm test
start
(cd showcase && command -v yarn >/dev/null && yarn && npm start || npm install && npm start)
new-docs
./deploy-docs.sh
full-test
npm run lint && npm run cover
start-docs
(cd docs && command -v yarn >/dev/null && yarn && npm start || npm install && npm start)
lint-styles
stylelint src/styles/*.scss --syntax scss
build:browser
browserify src/index.js -t [ babelify ] --standalone reactVis | uglifyjs > dist/dist.min.js
remove-unpm-rfs
./remove-refs-to-unpm.pl
npm i [email protected]
Metadata
- MIT
- >=0.10.0
- Visualization Team
- released 6/15/2017