A simple seed project to create testable d3 work
Assumes that npm has been installed
npm install
Then to start the project
# Start http-server
node_modules/http-server/bin/http-server
# Start karma
node_modules/karma/bin/karma start
Compile the assets into a library:
# For compressed
uglifyjs scripts/* > scripts/chart.js
# for hackability, non minified
uglifyjs scripts/* -b
(If you need uglify)
npm install uglify-js -g