UNPKG

giotto

Version:

GiottoJS - Visualization Library

92 lines (91 loc) 3.52 kB
{ "version": "0.1.3", "name": "giotto", "description": "GiottoJS - Visualization Library", "homepage": "https://github.com/quantmind/giotto", "repository": { "type": "git", "url": "https://github.com/quantmind/giotto.git" }, "keywords": [ "visualization", "svg", "canvas", "animation", "data", "d3" ], "license": "BSD-3-Clause", "author": { "name": "quantmind.com", "email": "message@quantmind.com" }, "main": "build/giotto.min.js", "module": "index", "jsnext:main": "index", "dependencies": { "crossfilter": "1.3", "d3-axis": "1.0", "d3-brush": "1.0", "d3-chord": "1.0", "d3-dispatch": "1.0", "d3-dsv": "1.0", "d3-ease": "1.0", "d3-force": "1.0", "d3-format": "1.0", "d3-geo": "1.4", "d3-hexbin": "0.2", "d3-hierarchy": "1.0", "d3-let": "0.2", "d3-path": "1.0", "d3-polygon": "1.0", "d3-random": "1.0", "d3-scale": "1.0", "d3-shape": "1.0", "d3-time-format": "2.0", "d3-voronoi": "1.1", "d3-zoom": "1.1", "d3-canvas-transition": "0.2", "d3-view": "0.1" }, "devDependencies": { "babelify": "7.3", "babel-eslint": "7.1", "babel-preset-es2015-rollup": "1.2", "bootstrap": "twbs/bootstrap#v4.0.0-alpha.5", "browserify": "13.1", "eslint": "3.11", "karma": "1.3", "karma-babel-preprocessor": "6.0", "karma-browserify": "5.1", "karma-chrome-launcher": "2.0", "karma-coverage": "1.1", "karma-firefox-launcher": "1.0", "karma-phantomjs-launcher": "1.0", "karma-tap": "3.1", "package-preamble": "0.0", "phantomjs-prebuilt": "2.1", "publish": "0.6", "node-sass": "3.13", "requirejs": "2.3", "rollup": "0.36", "rollup-plugin-json": "2.0", "rollup-plugin-babel": "2.6", "rollup-plugin-node-resolve": "2.0", "tape": "4.6", "uglify-js": "2.7", "watchify": "3.7" }, "scripts": { "rollup": "rollup -c --banner \"$(preamble)\"", "test": "eslint index.js src test && karma start test/karma.conf.js --single-run", "minify": "uglifyjs --preamble \"$(preamble)\" build/giotto.js -c -m -o build/giotto.min.js", "build": "npm run-script rollup && npm run-script minify && cp build/giotto.js ../giottojs.org/giotto-dev.js", "prepublish": "npm run-script rollup && npm run-script minify", "postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && mkdir -p ../giottojs.org/latest && mkdir -p ../giottojs.org/giotto/${VERSION} && cp build/* ../giottojs.org/giotto/${VERSION}/ && cp build/* ../giottojs.org/latest/ && cd ../giottojs.org && git add giotto/${VERSION} latest && git commit -a -m \"giotto ${VERSION}\" && git push", "sitecss": "node-sass scss/giottojs-default.scss ../giottojs.org/giottojs-default.css --include-path node_modules --output-style compressed", "sitejs": "eslint rollup.site.js site && rollup -c rollup.site.js && uglifyjs ../giottojs.org/giottojs.js -c -m -o ../giottojs.org/giottojs.min.js", "giottojs": "npm run-script sitejs && npm run-script sitecss", "release": "publish" } }