UNPKG

2.81 kBJSONView Raw
1{
2 "version": "0.3.7",
3 "name": "d3-canvas-transition",
4 "title": "d3-canvas-transition",
5 "description": "Animated transitions for D3 selections on svg and canvas",
6 "homepage": "https://github.com/quantmind/d3-canvas-transition",
7 "repository": {
8 "type": "git",
9 "url": "git+https://github.com/quantmind/d3-canvas-transition.git"
10 },
11 "keywords": [
12 "d3",
13 "d3-module",
14 "svg",
15 "canvas",
16 "transition",
17 "animation"
18 ],
19 "license": "BSD-3-Clause",
20 "author": {
21 "name": "quantmind.com",
22 "email": "message@quantmind.com"
23 },
24 "main": "build/d3-canvas-transition.js",
25 "jsnext:main": "ui/js/main",
26 "module": "ui/js/main",
27 "dependencies": {
28 "d3-collection": "1.0",
29 "d3-color": "1.0",
30 "d3-selection": "1.1",
31 "d3-timer": "1.0"
32 },
33 "devDependencies": {
34 "babel-preset-es2015": "6.24",
35 "babel-preset-es2015-rollup": "3.0",
36 "babel-tape-runner": "2.0",
37 "babelify": "7.3",
38 "browserify": "14.4",
39 "canvas": "1.6",
40 "d3-axis": "1.0",
41 "d3-dispatch": "1.0",
42 "d3-ease": "1.0",
43 "d3-interpolate": "1.1",
44 "d3-scale": "1.0",
45 "d3-shape": "1.2",
46 "d3-transition": "1.1",
47 "eslint": "4.2",
48 "faucet": "0.0",
49 "jsdom": "9.9",
50 "package-preamble": "0.1",
51 "publish": "0.6",
52 "rollup": "0.45",
53 "rollup-plugin-babel": "2.7",
54 "rollup-plugin-json": "2.3",
55 "rollup-plugin-sourcemaps": "0.4",
56 "tape": "4.7",
57 "uglify-js": "3.0"
58 },
59 "scripts": {
60 "lint": "eslint index.js rollup.config.js src test",
61 "unit": "babel-tape-runner `find test -name '*-test.js'` | faucet",
62 "test": "npm run-script lint && npm run-script unit",
63 "rollup": "rollup -c --banner \"$(preamble)\"",
64 "minify": "uglifyjs --preamble \"$(preamble)\" build/d3-canvas-transition.js -c -m -o build/d3-canvas-transition.min.js",
65 "build": "npm run-script rollup && npm run-script minify",
66 "prepublish": "npm run-script rollup && npm run-script minify",
67 "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/d3-canvas-transition/${VERSION} && cp build/* ../giottojs.org/d3-canvas-transition/${VERSION}/ && cp build/* ../giottojs.org/latest/ && cd ../giottojs.org && git add d3-canvas-transition/${VERSION} latest && git commit -a -m \"d3-canvas-transition ${VERSION}\" && git push",
68 "release": "publish"
69 },
70 "babel": {
71 "presets": [
72 "es2015"
73 ]
74 }
75}