-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
135 lines (135 loc) · 6.93 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "eKMap-Client-SDKs",
"description": "eKMap Client SDKs",
"version": "0.0.1",
"directories": {
"doc": "doc",
"example": "examples"
},
"scripts": {
"start-watch": "watch \"npm run release-mapboxgl-es5\" src",
"dev": "node ./build/server.js",
"lint": "eslint src",
"release": "npm run release-mapboxgl && npm run release-ol && npm run release-leaflet",
"release-mapboxgl": "npm run release-mapboxgl-es5 && npm run release-mapboxgl-es6",
"release-mapboxgl-es5": "cross-env moduleVersion=es5 npm run deploy-mapboxgl ./src/mapboxgl/index.js ./src/mapboxgl/css/index.js && uglifyjs ./dist/mapboxgl/ekmap-mapboxgl.js --ecma 5 --comments /Copyright©/i -c -m -o ./dist/mapboxgl/ekmap-mapboxgl.min.js && cleancss -o ./dist/mapboxgl/ekmap-mapboxgl.min.css ./dist/mapboxgl/ekmap-mapboxgl.css",
"release-mapboxgl-es6": "cross-env moduleVersion=es6 npm run deploy-mapboxgl ./src/mapboxgl/index.js ./src/mapboxgl/css/index.js && node ./node_modules/uglify-es/bin/uglifyjs ./dist/mapboxgl/ekmap-mapboxgl-es6.js --ecma 6 --comments /Copyright©/i -c -m -o ./dist/mapboxgl/ekmap-mapboxgl-es6.min.js && cleancss -o ./dist/mapboxgl/ekmap-mapboxgl.min.css ./dist/mapboxgl/ekmap-mapboxgl.css",
"release-ol": "npm run release-ol-es5 && npm run release-ol-es6",
"release-ol-es5": "cross-env moduleVersion=es5 npm run deploy-ol ./src/openlayers/namespace.js ./src/openlayers/css/index.js && uglifyjs ./dist/ol/ekmap-ol.js --ecma 5 --comments /Copyright©/i -c -m -o ./dist/ol/ekmap-ol.min.js && cleancss -o ./dist/ol/ekmap-ol.min.css ./dist/ol/ekmap-ol.css",
"release-ol-es6": "cross-env moduleVersion=es6 npm run deploy-ol ./src/openlayers/namespace.js ./src/openlayers/css/index.js && node ./node_modules/uglify-es/bin/uglifyjs ./dist/ol/ekmap-ol-es6.js --ecma 6 --comments /Copyright©/i -c -m -o ./dist/ol/ekmap-ol-es6.min.js && cleancss -o ./dist/ol/ekmap-ol.min.css ./dist/ol/ekmap-ol.css",
"release-leaflet": "npm run release-leaflet-es5 && npm run release-leaflet-es6",
"release-leaflet-es5": "cross-env moduleVersion=es5 npm run deploy-leaflet ./src/leaflet/index.js ./src/leaflet/css/index.js && uglifyjs ./dist/leaflet/ekmap-leaflet.js --ecma 5 --comments /Copyright©/i -c -m -o ./dist/leaflet/ekmap-leaflet.min.js && cleancss -o ./dist/leaflet/ekmap-leaflet.min.css ./dist/leaflet/ekmap-leaflet.css",
"release-leaflet-es6": "cross-env moduleVersion=es6 npm run deploy-leaflet ./src/leaflet/index.js ./src/leaflet/css/index.js && node ./node_modules/uglify-es/bin/uglifyjs ./dist/leaflet/ekmap-leaflet-es6.js --ecma 6 --comments /Copyright©/i -c -m -o ./dist/leaflet/ekmap-leaflet-es6.min.js && cleancss -o ./dist/leaflet/ekmap-leaflet.min.css ./dist/leaflet/ekmap-leaflet.css",
"deploy": "webpack --color",
"deploy-mapboxgl": "webpack --config ./build/webpack.config.mapboxgl.js --color",
"deploy-ol": "webpack --config ./build/webpack.config.openlayers.js --color",
"deploy-leaflet": "webpack --config ./build/webpack.config.leaflet.js --color",
"build-docs": "npm run build-docs-mapboxgl && npm run build-docs-ol && npm run build-docs-leaflet",
"build-docs-mapboxgl": "jsdoc -c ./build/jsdocs/mapboxgl/docs.json -R ./build/jsdocs/mapboxgl/index.md",
"build-docs-ol": "jsdoc -c ./build/jsdocs/openlayers/docs.json -R ./build/jsdocs/openlayers/index.md",
"build-docs-leaflet": "jsdoc -c ./build/jsdocs/leaflet/docs.json -R ./build/jsdocs/leaflet/index.md",
"build-docs-tutorial": "jsdoc -u ./tutorials/mapboxgl ./src/mapboxgl",
"pre-publish": "node ./build/publish.js --leaflet && node ./build/publish.js --mapboxgl && node ./build/publish.js --ol",
"publish": "npm run pre-publish && npm publish && cd ../mapboxgl && npm publish && cd ../ol && npm publish && cd ../leaflet && npm publish"
},
"keywords": [],
"homepage": "https://ekgis.com.vn/",
"repository": {},
"author": "eKGIS",
"license": "Apache-2.0",
"devDependencies": {
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@geoman-io/leaflet-geoman-free": "2.3.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-plugin-istanbul": "^5.2.0",
"babelify": "^10.0.0",
"browserify": "^16.5.0",
"browserify-css": "^0.15.0",
"browserify-imgify": "^0.0.1",
"chromedriver": "75.1.0",
"clean-css-cli": "^4.3.0",
"commander": "^4.0.1",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"es3ify-loader": "^0.2.0",
"eslint": "^6.7.1",
"eslint-loader": "^3.0.2",
"eslint-plugin-import": "^2.18.2",
"express": "^4.16.3",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^5.0.2",
"get-pixels": "^3.3.0",
"image-size": "^0.8.3",
"imports-loader": "^0.8.0",
"istanbul": "^0.4.5",
"jasmine-core": "^3.5.0",
"jsdoc": "^3.5.5",
"karma": "^4.4.1",
"karma-browserify": "^6.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-coverage": "^2.0.1",
"karma-jasmine": "^2.0.1",
"karma-teamcity-reporter": "^1.1.0",
"mock-socket": "^9.0.2",
"nightwatch": "^1.3.1",
"open": "^7.0.0",
"pngjs": "^3.4.0",
"request": "^2.88.0",
"selenium-server": "3.141.59",
"serve-index": "^1.9.1",
"shelljs": "^0.8.3",
"style-loader": "^1.0.0",
"uglify-es": "^3.3.9",
"url-loader": "^3.0.0",
"watchify": "^3.11.1",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-middleware": "^3.7.2",
"webpack-node-externals": "^1.7.2"
},
"dependencies": {
"@babel/plugin-transform-runtime": "^7.12.1",
"@mapbox/mapbox-gl-draw": "^1.2.0",
"@mapbox/mapbox-sdk": "^0.11.0",
"@turf/intersect": "^6.3.0",
"@turf/turf": "5.1.6",
"@widgetjs/tree": "^1.8.3",
"canvg": "3.0.2",
"echarts": "4.5.0",
"elasticsearch": "16.5.0",
"fetch-ie8": "1.5.0",
"fetch-jsonp": "1.1.3",
"jsonsql": "0.2.5",
"leaflet": "1.6.0",
"leaflet-vector-tile-layer": "^0.5.1",
"lightslider": "^1.1.6",
"lodash.remove": "^4.7.0",
"lodash.topairs": "4.3.0",
"mapbox-gl": "1.6.1",
"mapbox-gl-circle": "^1.6.5",
"mapbox-gl-draw-circle": "^1.1.2",
"mapv": "2.0.43",
"ol": "6.1.1",
"ol-mapbox-style": "^6.3.2",
"pbf": "^3.2.1",
"proj4": "^2.6.0",
"promise-polyfill": "8.1.3",
"sortablejs": "^1.13.0",
"suggestions": "^1.7.1",
"three": "0.92.0",
"watch": "^1.0.2",
"xlsx": "0.15.4",
"xml-js": "1.6.11"
},
"pre-commit": [
"lint"
],
"env": {
"development": {
"compact": false
}
}
}