Debian Codegraph @

topojson/package.json

raw
1 {
2 "name": "topojson",
3 "version": "1.6.27",
4 "description": "An extension to GeoJSON that encodes topology.",
5 "keywords": [
6 "topojson",
7 "geojson",
8 "shapefile"
9 ],
10 "homepage": "https://github.com/mbostock/topojson",
11 "license": "BSD-3-Clause",
12 "author": {
13 "name": "Mike Bostock",
14 "url": "http://bost.ocks.org/mike"
15 },
16 "main": "server.js",
17 "jsnext:main": "client",
18 "browser": "build/topojson.js",
19 "repository": {
20 "type": "git",
21 "url": "https://github.com/mbostock/topojson.git"
22 },
23 "bin": {
24 "topojson": "./bin/topojson",
25 "topojson-geojson": "./bin/topojson-geojson",
26 "topojson-group": "./bin/topojson-group",
27 "topojson-merge": "./bin/topojson-merge",
28 "topojson-svg": "./bin/topojson-svg"
29 },
30 "scripts": {
31 "pretest": "rm -rf build && mkdir 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",
32 "test": "tape 'test/**/*-test.js' && eslint client.js src",
33 "prepublish": "npm run test && uglifyjs build/topojson.js -c -m -o build/topojson.min.js",
34 "postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp -v README.md LICENSE build/topojson.js build/topojson.min.js ../topojson-bower && cd ../topojson-bower && git add README.md LICENSE topojson.js topojson.min.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 && cd - && zip -j build/topojson.zip -- LICENSE README.md build/topojson.js build/topojson.min.js"
35 },
36 "dependencies": {
37 "d3": "3",
38 "d3-geo-projection": "0.2",
39 "d3-queue": "2",
40 "optimist": "0.3",
41 "rw": "1",
42 "shapefile": "0.3"
43 },
44 "devDependencies": {
45 "eslint": "3",
46 "rollup": "0.34",
47 "tape": "4",
48 "uglify-js": "2",
49 "us-atlas": "0.0",
50 "world-atlas": "0.0"
51 }
52 }