forked from mapbox/mapbox-gl-draw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 3.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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "@mapbox/mapbox-gl-draw",
"version": "1.3.0",
"description": "A drawing component for Mapbox GL JS",
"homepage": "https://github.com/mapbox/mapbox-gl-draw",
"author": "mapbox",
"license": "ISC",
"main": "dist/mapbox-gl-draw.js",
"browser": "dist/mapbox-gl-draw.js",
"style": "dist/mapbox-gl-draw.css",
"browserify": {
"transform": [
"envify",
"babelify"
]
},
"scripts": {
"docs": "run-s docs-modes-life-cycle 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": "NODE_ENV=test npm run lint && npm run tape",
"lint": "eslint --no-eslintrc -c .eslintrc index.js src test",
"tape": "tape -r @babel/register -r ./test/mock-browser.js test/*.test.js",
"coverage": "NODE_ENV=test nyc --reporter html npm run tape && opener coverage/index.html",
"build-token": "node build/generate-access-token-script.js",
"build": "rollup -c",
"build-min": "rollup -c --environment MINIFY:true",
"prepublish": "run-s build build-min",
"watch": "rollup -c --watch",
"watch-bench": "rollup -c bench/rollup.config.js --watch",
"start-server": "node server.js",
"start": "run-p build-token watch watch-bench start-server"
},
"files": [
"dist/mapbox-gl-draw*"
],
"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": {
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@babel/register": "^7.0.0",
"@mapbox/cloudfriend": "^4.0.0",
"@mapbox/flow-remove-types": "^1.3.0-await.upstream.2",
"@mapbox/mapbox-gl-draw-static-mode": "^1.0.1",
"@rollup/plugin-buble": "^0.20.0",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-node-resolve": "^6.0.0",
"@rollup/plugin-replace": "^2.2.1",
"@turf/centroid": "^6.0.0",
"babel-eslint": "10.0.3",
"babel-plugin-istanbul": "^5.1.0",
"babelify": "^10.0.0",
"browserify": "^16.1.1",
"browserify-middleware": "^8.1.0",
"envify": "^4.0.0",
"eslint": "6.7.2",
"eslint-config-mourner": "3.0.0",
"eslint-plugin-import": "^2.19.1",
"express": "^4.13.4",
"mapbox-gl": "1.11.1",
"mapbox-gl-js-mock": "0.28.0",
"mock-browser": "^0.92.10",
"npm-run-all": "^4.1.5",
"nyc": "14.1.1",
"opener": "^1.4.1",
"rollup": "^1.27.13",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-terser": "^5.1.3",
"sinon": "^7.5.0",
"st": "^2.0.0",
"synthetic-dom-events": "0.3.0",
"tape": "4.12.0",
"uglify-js": "^3.0.22",
"unassertify": "^2.0.3"
},
"dependencies": {
"@mapbox/geojson-area": "^0.2.2",
"@mapbox/geojson-extent": "^1.0.0",
"@mapbox/geojson-normalize": "^0.0.1",
"@mapbox/point-geometry": "^0.1.0",
"hat": "0.0.3",
"lodash.isequal": "^4.5.0",
"xtend": "^4.0.2"
}
}