-
Notifications
You must be signed in to change notification settings - Fork 153
/
package.json
48 lines (48 loc) · 1.56 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
{
"name": "shapefile",
"version": "0.6.6",
"description": "An implementation of the shapefile (.shp) spatial data format.",
"keywords": [
"geojson",
"shapefile"
],
"homepage": "https://github.com/mbostock/shapefile",
"license": "BSD-3-Clause",
"author": {
"name": "Mike Bostock",
"url": "https://bost.ocks.org/mike"
},
"unpkg": "dist/shapefile.js",
"jsdelivr": "dist/shapefile.js",
"main": "dist/shapefile.node.js",
"module": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/mbostock/shapefile.git"
},
"bin": {
"dbf2json": "bin/dbf2json",
"shp2json": "bin/shp2json"
},
"scripts": {
"pretest": "rm -rf dist && mkdir dist && cp index.node.js dist/shapefile.node.js && rollup -g path-source,array-source,stream-source,slice-source -f cjs -- index.js | tail -n +2 >> dist/shapefile.node.js",
"test": "tape 'test/**/*-test.js'",
"prepublishOnly": "npm run test && rollup -c --banner \"$(preamble)\" && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" -o dist/shapefile.min.js -cm -- dist/shapefile.js",
"postpublish": "git push && git push --tags && zip -j dist/shapefile.zip -- LICENSE.txt README.md dist/shapefile.js dist/shapefile.min.js"
},
"dependencies": {
"array-source": "0.0",
"commander": "2",
"path-source": "0.1",
"slice-source": "0.4",
"stream-source": "0.3",
"text-encoding": "^0.6.4"
},
"devDependencies": {
"package-preamble": "0.1",
"rollup": "0.49",
"rollup-plugin-node-resolve": "3",
"tape": "4",
"uglify-js": "3"
}
}