/
package.json
40 lines (40 loc) · 1.58 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
{
"name": "shapefile2geojson",
"version": "1.0.7",
"description": "Transform shapefile (shp & dbf) to geojson.",
"keywords": [
"shapefile",
"shp",
"dbf",
"geojson"
],
"homepage": "http://github.com/mathieumast/shapefile2geojson",
"author": "mathieumast",
"contributors": [
"mathieumast"
],
"main": "dist/node/shapefile2geojson.js",
"bin": {
"shapefile2geojson": "./dist/node/cli.js"
},
"scripts": {
"test": "mocha --recursive",
"build:node": "rm -f dist/node/shapefile2geojson.js && cp src/shapefile2geojson.js dist/node/shapefile2geojson.js && rm -f dist/node/cli.js && cp src/cli.js dist/node/cli.js ",
"build:browser": "rm -f dist/browser/shapefile2geojson.js && browserify src/shapefile2geojson.js -s shapefile2geojson -t > dist/browser/shapefile2geojson.js",
"build:iconv-lite-browser": "rm -f dist/browser/iconv-lite.js && browserify node_modules/iconv-lite/lib/index.js -s iconv-lite -t > dist/browser/iconv-lite.js",
"build": "npm run test && npm run build:node && npm run build:browser && npm run build:iconv-lite-browser && cp dist/browser/shapefile2geojson.js site/shapefile2geojson.js && cp dist/browser/iconv-lite.js site/iconv-lite.js"
},
"repository": {
"type": "git",
"url": "git://github.com/mathieumast/shapefile2geojson.git"
},
"dependencies": {
},
"devDependencies": {
"browserify": "^16.2.3",
"commander": "^2.19.0",
"iconv-lite": "^0.4.24",
"mocha": "^5.2.0"
},
"license": "MIT"
}