forked from topojson/topojson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 2.29 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
{
"name": "topojson",
"version": "1.6.24",
"description": "An extension to GeoJSON that encodes topology.",
"keywords": [
"topojson",
"geojson",
"shapefile"
],
"homepage": "https://github.com/mbostock/topojson",
"license": "BSD-3-Clause",
"author": {
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "server.js",
"jsnext:main": "client",
"browser": "build/topojson.js",
"repository": {
"type": "git",
"url": "https://github.com/mbostock/topojson.git"
},
"bin": {
"topojson": "./bin/topojson",
"topojson-geojson": "./bin/topojson-geojson",
"topojson-group": "./bin/topojson-group",
"topojson-merge": "./bin/topojson-merge",
"topojson-svg": "./bin/topojson-svg"
},
"scripts": {
"pretest": "mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../client\\\"; export {version};\");' > build/bundle.js && rollup -f umd -n topojson -o build/topojson.js -- build/bundle.js",
"test": "faucet `find test -name '*-test.js'` && eslint client.js src",
"prepublish": "npm run test && uglifyjs build/topojson.js -c -m -o build/topojson.min.js && rm -f build/topojson.zip && zip -j build/topojson.zip -- LICENSE README.md build/topojson.js build/topojson.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp -v README.md LICENSE build/topojson.js ../topojson-bower && cd ../topojson-bower && git add README.md LICENSE topojson.js && git commit -m \"Release $VERSION.\" && git tag -am \"Release $VERSION.\" v${VERSION} && git push && git push --tags && cd ../topojson && cp build/topojson.js ../d3.github.com/topojson.v1.js && cp build/topojson.min.js ../d3.github.com/topojson.v1.min.js && cd ../d3.github.com && git add topojson.v1.js topojson.v1.min.js && git commit -m \"topojson ${VERSION}\" && git push"
},
"dependencies": {
"d3": "3",
"d3-geo-projection": "0.2",
"d3-queue": "2",
"optimist": "0.3",
"rw": "1",
"shapefile": "0.3"
},
"devDependencies": {
"faucet": "0.0",
"rollup": "0.25",
"tape": "4",
"uglify-js": "2",
"us-atlas": "0.0",
"world-atlas": "0.0"
}
}