forked from d3/d3-path
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.48 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
{
"name": "d3-path",
"version": "1.0.2",
"description": "Serialize Canvas path commands to SVG.",
"keywords": [
"d3",
"d3-module",
"canvas",
"path",
"svg",
"graphics",
"CanvasRenderingContext2D",
"CanvasPathMethods",
"Path2D"
],
"homepage": "https://d3js.org/d3-path/",
"license": "BSD-3-Clause",
"author": {
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/d3-path.js",
"module": "index",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-path.git"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -n d3 -o build/d3-path.js -- index.js",
"test": "tape 'test/**/*-test.js' && eslint index.js src",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-path.js -c -m -o build/d3-path.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-path/build/d3-path.js d3-path.v1.js && cp ../d3-path/build/d3-path.min.js d3-path.v1.min.js && git add d3-path.v1.js d3-path.v1.min.js && git commit -m \"d3-path ${VERSION}\" && git push && cd - && zip -j build/d3-path.zip -- LICENSE README.md build/d3-path.js build/d3-path.min.js"
},
"devDependencies": {
"eslint": "3",
"package-preamble": "0.0",
"rollup": "0.35",
"tape": "4",
"uglify-js": "2"
}
}