-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.5 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-geo",
"version": "0.1.0",
"description": "Shapes and calculators for spherical coordinates.",
"keywords": [
"d3",
"d3-module",
"geo",
"maps",
"cartography"
],
"homepage": "https://d3js.org/d3-geo/",
"license": "BSD-3-Clause",
"author": {
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/d3-geo.js",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-geo.git"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -g d3-array:d3 -n d3 -o build/d3-geo.js -- index.js",
"test": "tape 'test/**/*-test.js' && test/compare-images && eslint index.js src",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-geo.js -c -m -o build/d3-geo.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-geo.js ../d3.github.com/d3-geo.v0.1.js && cp build/d3-geo.min.js ../d3.github.com/d3-geo.v0.1.min.js && cd ../d3.github.com && git add d3-geo.v0.1.js d3-geo.v0.1.min.js && git commit -m \"d3-geo ${VERSION}\" && git push && cd - && zip -j build/d3-geo.zip -- LICENSE README.md build/d3-geo.js build/d3-geo.min.js"
},
"dependencies": {
"d3-array": "1"
},
"devDependencies": {
"canvas": "1",
"eslint": "2",
"package-preamble": "0.0",
"rollup": "0.31",
"tape": "4",
"topojson": "1",
"uglify-js": "2"
}
}