-
Notifications
You must be signed in to change notification settings - Fork 282
/
package.json
183 lines (183 loc) · 10.7 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "SuperMapiClient",
"description": "SuperMap iClient JavaScript 是一套由 JavaScript 语言编写的 GIS 客户端应用开发包, 支持多源数据地图,支持多终端,跨浏览器, 通过本产品可快速实现浏览器上美观、流畅的地图呈现。",
"version": "12.0.0-dev",
"directories": {
"doc": "doc",
"example": "examples",
"test": "test",
"exampletest": "examples-test"
},
"scripts": {
"dev": "node ./build/server.js",
"lint": "eslint src",
"release": "npm run release-leaflet && npm run release-openlayers && npm run release-mapboxgl && npm run release-classic && npm run release-maplibregl",
"release-leaflet": "npm run release-leaflet-es5 && npm run release-leaflet-es6",
"release-openlayers": "npm run release-openlayers-es5 && npm run release-openlayers-es6 && npm run release-ol-es5 && npm run release-ol-es6",
"release-mapboxgl": "npm run release-mapboxgl-es5 && npm run release-mapboxgl-es6",
"release-maplibregl": "npm run release-maplibregl-es5 && npm run release-maplibregl-es6",
"release-classic": "npm run release-classic-es5 && npm run release-classic-es6",
"release-leaflet-es5": "cross-env moduleVersion=es5 npm run deploy-leaflet && uglifyjs ./dist/leaflet/iclient-leaflet.js --ecma 5 --comments /iclient-/i -c -m -o ./dist/leaflet/iclient-leaflet.min.js && cleancss -o ./dist/leaflet/iclient-leaflet.min.css ./dist/leaflet/iclient-leaflet.css",
"release-openlayers-es5": "cross-env moduleVersion=es5 npm run deploy-openlayers && uglifyjs ./dist/openlayers/iclient-openlayers.js --ecma 5 --comments /iclient-/i -c -m -o ./dist/openlayers/iclient-openlayers.min.js && cleancss -o ./dist/openlayers/iclient-openlayers.min.css ./dist/openlayers/iclient-openlayers.css",
"release-ol-es5": "cross-env moduleVersion=es5 npm run deploy-ol && uglifyjs ./dist/ol/iclient-ol.js --ecma 5 --comments /iclient-/i -c -m -o ./dist/ol/iclient-ol.min.js && cleancss -o ./dist/ol/iclient-ol.min.css ./dist/ol/iclient-ol.css",
"release-mapboxgl-es5": "cross-env moduleVersion=es5 npm run deploy-mapboxgl && uglifyjs ./dist/mapboxgl/iclient-mapboxgl.js --ecma 5 --comments /iclient-/i -c -m -o ./dist/mapboxgl/iclient-mapboxgl.min.js && cleancss -o ./dist/mapboxgl/iclient-mapboxgl.min.css ./dist/mapboxgl/iclient-mapboxgl.css",
"release-classic-es5": "cross-env moduleVersion=es5 npm run deploy-classic && uglifyjs ./dist/classic/iclient-classic.js --ecma 5 --comments /iclient-/i -c -m -o ./dist/classic/iclient-classic.min.js",
"release-leaflet-es6": "cross-env moduleVersion=es6 npm run deploy-leaflet && node ./node_modules/uglify-es/bin/uglifyjs ./dist/leaflet/iclient-leaflet-es6.js --ecma 6 --comments /iclient-/i -c -m -o ./dist/leaflet/iclient-leaflet-es6.min.js && cleancss -o ./dist/leaflet/iclient-leaflet.min.css ./dist/leaflet/iclient-leaflet.css",
"release-openlayers-es6": "cross-env moduleVersion=es6 npm run deploy-openlayers && node ./node_modules/uglify-es/bin/uglifyjs ./dist/openlayers/iclient-openlayers-es6.js --ecma 6 --comments /iclient-/i -c -m -o ./dist/openlayers/iclient-openlayers-es6.min.js && cleancss -o ./dist/openlayers/iclient-openlayers.min.css ./dist/openlayers/iclient-openlayers.css",
"release-ol-es6": "cross-env moduleVersion=es6 npm run deploy-ol && node ./node_modules/uglify-es/bin/uglifyjs ./dist/ol/iclient-ol-es6.js --ecma 6 --comments /iclient-/i -c -m -o ./dist/ol/iclient-ol-es6.min.js && cleancss -o ./dist/ol/iclient-ol.min.css ./dist/ol/iclient-ol.css",
"release-mapboxgl-es6": "cross-env moduleVersion=es6 npm run deploy-mapboxgl && node ./node_modules/uglify-es/bin/uglifyjs ./dist/mapboxgl/iclient-mapboxgl-es6.js --ecma 6 --comments /iclient-/i -c -m -o ./dist/mapboxgl/iclient-mapboxgl-es6.min.js && cleancss -o ./dist/mapboxgl/iclient-mapboxgl.min.css ./dist/mapboxgl/iclient-mapboxgl.css",
"release-classic-es6": "cross-env moduleVersion=es6 npm run deploy-classic && node ./node_modules/uglify-es/bin/uglifyjs ./dist/classic/iclient-classic-es6.js --ecma 6 --comments /iclient-/i -c -m -o ./dist/classic/iclient-classic-es6.min.js",
"release-maplibregl-es5": "cross-env moduleVersion=es5 npm run deploy-maplibregl && uglifyjs ./dist/maplibregl/iclient-maplibregl.js --ecma 5 --comments /iclient-/i -c -m -o ./dist/maplibregl/iclient-maplibregl.min.js && cleancss -o ./dist/maplibregl/iclient-maplibregl.min.css ./dist/maplibregl/iclient-maplibregl.css",
"release-maplibregl-es6": "cross-env moduleVersion=es6 npm run deploy-maplibregl && node ./node_modules/uglify-es/bin/uglifyjs ./dist/maplibregl/iclient-maplibregl-es6.js --ecma 6 --comments /iclient-/i -c -m -o ./dist/maplibregl/iclient-maplibregl-es6.min.js && cleancss -o ./dist/maplibregl/iclient-maplibregl.min.css ./dist/maplibregl/iclient-maplibregl.css",
"deploy": "webpack --color",
"deploy-leaflet": "webpack --config ./build/webpack.config.leaflet.js --color",
"deploy-openlayers": "webpack --config ./build/webpack.config.openlayers.js --color",
"deploy-ol": "webpack --config ./build/webpack.config.openlayers.js --color",
"deploy-mapboxgl": "webpack --config ./build/webpack.config.mapboxgl.js --color",
"deploy-maplibregl": "webpack --config ./build/webpack.config.maplibregl.js --color",
"deploy-classic": "webpack --config ./build/webpack.config.classic.js --color",
"package": "node ./build/pack.js",
"package-debug": "node ./build/pack.js - debug",
"test": "npm install ./src/common && karma start ./test/karma.conf.js",
"citest": "npm install ./src/common && karma start ./test/karma.conf.js --single-run --no-auto-watch",
"exampletest": "nightwatch --config ./examples-test/nightwatch.json",
"build-docs": "npm run build-docs-leaflet&&npm run build-docs-openlayers&&npm run build-docs-mapboxgl&&npm run build-docs-maplibregl&&npm run build-docs-classic",
"build-docs-leaflet": "rimraf ./docs/leaflet && jsdoc -c ./build/jsdocs/leaflet/docs.json -R ./build/jsdocs/leaflet/index.md",
"build-docs-openlayers": "rimraf ./docs/openlayers && jsdoc -c ./build/jsdocs/openlayers/docs.json -R ./build/jsdocs/openlayers/index.md",
"build-docs-mapboxgl": "rimraf ./docs/mapboxgl && jsdoc -c ./build/jsdocs/mapboxgl/docs.json -R ./build/jsdocs/mapboxgl/index.md",
"build-docs-maplibregl": "rimraf ./docs/maplibregl && jsdoc -c ./build/jsdocs/maplibregl/docs.json -R ./build/jsdocs/maplibregl/index.md",
"build-docs-classic": "rimraf ./docs/classic && jsdoc -c ./build/jsdocs/classic/docs.json -R ./build/jsdocs/classic/index.md",
"pre-publish": "node ./build/publish.js --leaflet && node ./build/publish.js --openlayers && node ./build/publish.js --mapboxgl && node ./build/publish.js --maplibregl && node ./build/publish.js --classic",
"publish": "npm run pre-publish && cd ./src/common && npm publish && cd ../leaflet && npm publish && cd ../openlayers && npm publish && cd ../mapboxgl && npm publish && cd ../maplibregl && npm publish && cd ../classic && npm publish"
},
"keywords": [
"SuperMap",
"Leaflet",
"OpenLayers"
],
"homepage": "https://iclient.supermap.io",
"repository": {
"type": "git",
"url": "https://github.com/SuperMap/iClient-JavaScript.git"
},
"author": "SuperMap_FE",
"license": "Apache-2.0",
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/generator": "^7.23.6",
"@babel/helper-compilation-targets": "^7.23.6",
"@babel/helper-module-transforms": "^7.23.3",
"@babel/helpers": "^7.23.8",
"@babel/parser": "^7.23.6",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@babel/traverse": "^7.23.7",
"@babel/types": "^7.23.6",
"@elastic/elasticsearch": "^5.6.22",
"@geoman-io/leaflet-geoman-free": "^2.14.2",
"@sinonjs/text-encoding": "^0.7.2",
"@supermapgis/babel-plugin-import": "^0.0.2",
"@tensorflow/tfjs": "^3.9.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-istanbul": "^6.0.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"browserify-css": "^0.15.0",
"browserify-imgify": "^0.0.1",
"browserify-versionify": "^1.0.6",
"chalk": "^3.0.0",
"chromedriver": "87.0.5",
"clean-css-cli": "^4.3.0",
"commander": "^9.0.0",
"copy-webpack-plugin": "^9.1.0",
"core-js": "^3.30.2",
"cross-env": "^7.0.2",
"css-loader": "^6.7.1",
"elasticsearch": "16.7.3",
"es3ify-loader": "^0.2.0",
"eslint": "^7.11.0",
"eslint-plugin-import": "^2.22.1",
"eslint-webpack-plugin": "^2.1.0",
"express": "^4.17.1",
"fs-extra": "^11.1.1",
"get-pixels": "^3.3.2",
"image-size": "^0.9.2",
"istanbul": "^0.4.5",
"jasmine-core": "^3.6.0",
"jsdoc": "^3.6.6",
"karma": "^6.3.16",
"karma-browserify": "^8.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-coverage": "^2.2.0",
"karma-jasmine": "^5.1.0",
"karma-sonarqube-unit-reporter": "0.0.23",
"karma-teamcity-reporter": "^1.1.0",
"mini-css-extract-plugin": "^2.6.1",
"mock-socket": "^9.0.3",
"nightwatch": "^2.3.0",
"open": "^8.4.0",
"pngjs": "^6.0.0",
"pre-commit": "^1.2.2",
"process": "^0.11.10",
"request": "^2.88.0",
"selenium-server": "3.141.59",
"serve-index": "^1.9.1",
"shelljs": "^0.8.4",
"style-loader": "^2.0.0",
"uglify-es": "^3.3.9",
"util": "^0.12.4",
"watchify": "^3.11.1",
"webpack": "^5.1.3",
"webpack-cli": "4.2.0",
"webpack-dev-middleware": "^5.3.4",
"webpack-node-externals": "^2.5.2"
},
"dependencies": {
"@antv/g2": "^4.2.11",
"@antv/g6": "^4.8.14",
"@mapbox/mapbox-gl-style-spec": "^14.3.0",
"@mapbox/vector-tile": "1.3.1",
"@maplibre/maplibre-gl-style-spec": "^20.3.0",
"@supermapgis/iclient-common": "file:src/common",
"@supermapgis/tile-decryptor": "^1.0.0",
"@turf/center": "^6.5.0",
"@turf/meta": "^6.5.0",
"@turf/turf": "6.5.0",
"canvg": "3.0.10",
"echarts": "5.5.0",
"fast-xml-parser": "^4.2.7",
"fetch-ie8": "1.5.0",
"fetch-jsonp": "1.1.3",
"flatgeobuf": "3.31.1",
"flv.js": "^1.6.2",
"insert-css": "^2.0.0",
"jsonsql": "0.2.5",
"leaflet": "1.9.4",
"lodash.clonedeep": "^4.5.0",
"lodash.debounce": "^4.0.8",
"lodash.difference": "^4.5.0",
"lodash.remove": "^4.7.0",
"lodash.throttle": "^4.1.1",
"lodash.topairs": "4.3.0",
"lodash.uniqby": "^4.7.0",
"mapbox-gl": "1.13.2",
"maplibre-gl": "4.3.2",
"mapv": "2.0.62",
"node-forge": "^1.3.1",
"ol": "7.5.2",
"pbf": "3.2.1",
"proj4": "2.11.0",
"promise-polyfill": "8.2.3",
"rbush": "^2.0.2",
"three": "0.150.1",
"urijs": "^1.19.11",
"video.js": "^7.10.2",
"videojs-flvjs-es6": "^1.0.1",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz"
},
"pre-commit": [
"lint"
]
}