vega-embed
v3.13.3 vega data visualization component embed
lint
tslint -p . && prettier --list-different '{src,test}/**/*.ts'
test
jest
build
rollup -c
clean
rm -rf build && mkdir build
serve
browser-sync start --directory -s -f build *.html
start
npm run build && concurrently --kill-others -n Server,Typescript,Rollup 'npm run serve' 'tsc -w' 'rollup -c -w'
format
tslint -p . --fix && prettier --write '{src,test}/**/*.ts'
prebuild
npm run clean && tsc
postbuild
uglifyjs build/vega-embed.js -cm > build/vega-embed.min.js
preversion
npm run lint && npm run test
watch:test
jest --watch
test:inspect
node --inspect-brk ./node_modules/.bin/jest --runInBand
prepublishOnly
npm run build
npm i [email protected]
Metadata
- BSD-3-Clause
- Whatever
- UW Interactive Data Lab
- released 5/29/2018