-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
47 lines (47 loc) · 1.46 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
{
"name": "@watergis/mapbox-gl-legend",
"version": "1.2.6",
"description": "This module adds legend control which is able to create legend panel from mapbox style to mapbox-gl",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"css"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc && npm run build:cdn && npm run build:example",
"build:example": "webpack --mode production --config webpack.config.js",
"build:cdn": "webpack --mode production --config webpack.cdn.config.js && cp ./dist/cdn/mapbox-gl-legend.js ./docs/. && cp ./css/styles.css ./docs/mapbox-gl-legend.css",
"dev": "webpack serve --mode development --open --hot --config webpack.config.js",
"deploy": "gh-pages -d docs -m 'deploy to gh-pages'"
},
"keywords": [
"mapbox",
"mapbox-gl-js",
"legend"
],
"author": "Jin IGARASHI",
"license": "MIT",
"devDependencies": {
"@types/mapbox-gl": "^1.13.4",
"css-loader": "^6.7.1",
"gh-pages": "^4.0.0",
"path": "^0.12.7",
"style-loader": "^3.3.1",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.0"
},
"dependencies": {
"@mapbox/mapbox-gl-style-spec": "^13.25.0",
"@watergis/legend-symbol": "^0.2.3",
"axios": "^0.27.2",
"mapbox-gl": "^1.13.2"
}
}