react-vis

v1.6.7
Data visualization library based on React and d3.
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 && BABEL_ENV=es babel src -d es --copy-files && node-sass src/main.scss dist/style.css --output-style compressed && npm run build:browser

clean

rm -rf dist es bundle.* index.html && mkdir dist es

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

Metadata

  • MIT
  • >=0.10.0
  • Visualization Team
  • released 7/7/2017

Downloads

Maintainers