forked from mapbox/mapbox-gl-draw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.69 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "@meteogrid/mapbox-gl-draw",
"version": "1.0.4",
"description": "A drawing component for Mapbox GL JS",
"homepage": "https://github.com/mapbox/mapbox-gl-draw",
"author": "mapbox",
"license": "ISC",
"main": "index.js",
"browserify": {
"transform": [
"babelify"
]
},
"scripts": {
"docs": "npm run docs-modes-life-cycle && npm run docs-modes-get-and-set",
"docs-modes-get-and-set": "documentation readme --readme-file ./docs/MODES.md -s \"Setters and Getters\" src/modes/mode_interface_accessors.js --shallow",
"docs-modes-life-cycle": "documentation readme --readme-file ./docs/MODES.md -s \"Life Cycle Functions\" src/modes/mode_interface.js --shallow",
"test": "npm run lint && npm run tape",
"lint": "eslint --no-eslintrc -c .eslintrc index.js src test",
"tape": "tape -r ./test/mock-browser.js -r babel-register test/*.test.js",
"coverage": "NODE_ENV=test nyc --reporter html npm run tape && opener coverage/index.html",
"build": "NODE_ENV=production browserify index.js --standalone MapboxDraw > dist/mapbox-gl-draw.js",
"prepublish": "NODE_ENV=production browserify index.js --standalone MapboxDraw | uglifyjs -c -m > dist/mapbox-gl-draw.js",
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "git://github.com/mapbox/mapbox-gl-draw.git"
},
"keywords": [
"webgl",
"mapbox",
"draw",
"drawing"
],
"bugs": {
"url": "https://github.com/mapbox/mapbox-gl-draw/issues"
},
"nyc": {
"sourceMap": false,
"instrument": false
},
"devDependencies": {
"@mapbox/mapbox-gl-draw-static-mode": "^1.0.1",
"@turf/centroid": "^5.0.4",
"babel-core": "^6.9.1",
"babel-eslint": "^7.1.0",
"babel-plugin-__coverage__": "^11.0.0",
"babel-preset-es2015": "^6.3.13",
"babel-register": "^6.5.2",
"babelify": "^8.0.0",
"browserify": "^14.1.0",
"browserify-middleware": "^7.0.0",
"envify": "^4.0.0",
"eslint": "^4.2.0",
"eslint-config-mourner": "^2.0.1",
"express": "^4.13.4",
"mapbox-gl": "0.40.0",
"mapbox-gl-js-mock": "^0.28.0",
"mock-browser": "^0.92.10",
"nyc": "^11.0.2",
"opener": "^1.4.1",
"sinon": "^4.0.0",
"synthetic-dom-events": "^0.3.0",
"tape": "^4.0.0",
"uglify-js": "^3.0.22",
"unassertify": "^2.0.3"
},
"peerDependencies": {
"mapbox-gl": ">=0.27.0 <=0.41.0"
},
"dependencies": {
"@mapbox/geojson-area": "^0.2.1",
"@mapbox/geojson-normalize": "0.0.1",
"@mapbox/geojsonhint": "^2.0.0",
"@mapbox/geojson-extent": "^0.3.2",
"hat": "0.0.3",
"lodash.isequal": "^4.2.0",
"@mapbox/point-geometry": "0.1.0",
"viewport-mercator-project": "^4.1.1",
"xtend": "^4.0.1"
}
}