-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
43 lines (43 loc) · 1.34 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
{
"name": "d3-annotate",
"author": {
"name": "Chris Polis",
"url": "https://twitter.com/ChrisPolis"
},
"version": "0.2.0",
"description": "Interactively and programmatically add, edit, move and save SVG chart annotations",
"keywords": [
"d3",
"d3-module",
"svg",
"chart",
"datavis",
"visualization"
],
"license": "MIT",
"main": "build/d3-annotate.js",
"jsnext:main": "index",
"homepage": "https://github.com/cmpolis/d3-annotate",
"repository": {
"type": "git",
"url": "https://github.com/cmpolis/d3-annotate.git"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup -g d3-drag:d3,d3-selection:d3,d3-selection-multi:d3 -f umd -n d3 -o build/d3-annotate.js -- index.js",
"test": "tape 'test/**/*-test.js'",
"prepublish": "npm run test && echo 'skipping: ./node_modules/.bin/babel build/d3-annotate.js -o build/d3-annotate-es5.js && uglifyjs build/d3-annotate-es5.js -c -m -o build/d3-annotate.min.js'",
"postpublish": "zip -j build/d3-annotate.zip -- LICENSE README.md build/d3-annotate.js build/d3-annotate.min.js"
},
"dependencies": {
"d3-drag": "1.0",
"d3-selection": "1.0",
"d3-selection-multi": "1.0"
},
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-preset-es2015": "^6.14.0",
"rollup": "0.35",
"tape": "4",
"uglify-js": "2"
}
}