UNPKG

3.52 kBJSONView Raw
1{
2 "version": "0.1.3",
3 "name": "giotto",
4 "description": "GiottoJS - Visualization Library",
5 "homepage": "https://github.com/quantmind/giotto",
6 "repository": {
7 "type": "git",
8 "url": "https://github.com/quantmind/giotto.git"
9 },
10 "keywords": [
11 "visualization",
12 "svg",
13 "canvas",
14 "animation",
15 "data",
16 "d3"
17 ],
18 "license": "BSD-3-Clause",
19 "author": {
20 "name": "quantmind.com",
21 "email": "message@quantmind.com"
22 },
23 "main": "build/giotto.min.js",
24 "module": "index",
25 "jsnext:main": "index",
26 "dependencies": {
27 "crossfilter": "1.3",
28 "d3-axis": "1.0",
29 "d3-brush": "1.0",
30 "d3-chord": "1.0",
31 "d3-dispatch": "1.0",
32 "d3-dsv": "1.0",
33 "d3-ease": "1.0",
34 "d3-force": "1.0",
35 "d3-format": "1.0",
36 "d3-geo": "1.4",
37 "d3-hexbin": "0.2",
38 "d3-hierarchy": "1.0",
39 "d3-let": "0.2",
40 "d3-path": "1.0",
41 "d3-polygon": "1.0",
42 "d3-random": "1.0",
43 "d3-scale": "1.0",
44 "d3-shape": "1.0",
45 "d3-time-format": "2.0",
46 "d3-voronoi": "1.1",
47 "d3-zoom": "1.1",
48 "d3-canvas-transition": "0.2",
49 "d3-view": "0.1"
50 },
51 "devDependencies": {
52 "babelify": "7.3",
53 "babel-eslint": "7.1",
54 "babel-preset-es2015-rollup": "1.2",
55 "bootstrap": "twbs/bootstrap#v4.0.0-alpha.5",
56 "browserify": "13.1",
57 "eslint": "3.11",
58 "karma": "1.3",
59 "karma-babel-preprocessor": "6.0",
60 "karma-browserify": "5.1",
61 "karma-chrome-launcher": "2.0",
62 "karma-coverage": "1.1",
63 "karma-firefox-launcher": "1.0",
64 "karma-phantomjs-launcher": "1.0",
65 "karma-tap": "3.1",
66 "package-preamble": "0.0",
67 "phantomjs-prebuilt": "2.1",
68 "publish": "0.6",
69 "node-sass": "3.13",
70 "requirejs": "2.3",
71 "rollup": "0.36",
72 "rollup-plugin-json": "2.0",
73 "rollup-plugin-babel": "2.6",
74 "rollup-plugin-node-resolve": "2.0",
75 "tape": "4.6",
76 "uglify-js": "2.7",
77 "watchify": "3.7"
78 },
79 "scripts": {
80 "rollup": "rollup -c --banner \"$(preamble)\"",
81 "test": "eslint index.js src test && karma start test/karma.conf.js --single-run",
82 "minify": "uglifyjs --preamble \"$(preamble)\" build/giotto.js -c -m -o build/giotto.min.js",
83 "build": "npm run-script rollup && npm run-script minify && cp build/giotto.js ../giottojs.org/giotto-dev.js",
84 "prepublish": "npm run-script rollup && npm run-script minify",
85 "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",
86 "sitecss": "node-sass scss/giottojs-default.scss ../giottojs.org/giottojs-default.css --include-path node_modules --output-style compressed",
87 "sitejs": "eslint rollup.site.js site && rollup -c rollup.site.js && uglifyjs ../giottojs.org/giottojs.js -c -m -o ../giottojs.org/giottojs.min.js",
88 "giottojs": "npm run-script sitejs && npm run-script sitecss",
89 "release": "publish"
90 }
91}