-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
39 lines (39 loc) · 1.19 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
{
"name": "yarrow",
"version": "1.1.1",
"description": "svg animated arrow pointer and tooltip",
"keywords": [
"svg",
"arrow",
"pointer",
"path",
"animate"
],
"homepage": "https://github.com/krispo/yarrow",
"license": "MIT",
"main": "build/yarrow.js",
"jsnext:main": "index",
"scripts": {
"uglify": "uglifyjs build/yarrow.js -c -m -o build/yarrow.min.js",
"build": "mkdir -p build && VERSION=`node -e 'console.log(require(\"./package.json\").version)'` && rollup -f umd --banner \"/* Yarrow, v${VERSION} (https://github.com/krispo/yarrow), MIT Licence */\" -g d3-selection:d3_selection,svg-path-utils:svg_path_utils -n yarrow -o build/yarrow.js -- index.js && cp src/css/yarrow.css build/yarrow.css && npm run uglify",
"pretest": "npm run build",
"test": "faucet test/*-test.js",
"prepublish": "npm run build"
},
"author": "Tin Skipor",
"repository": {
"type": "git",
"url": "https://github.com/krispo/yarrow.git"
},
"devDependencies": {
"faucet": "0.0.1",
"jsdom": "^8.1",
"rollup": "^0.25.4",
"tape": "^4.5",
"uglify-js": "^2.6.1"
},
"dependencies": {
"d3-selection": "^0.7",
"svg-path-utils": "^0.0"
}
}