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