forked from SuperMap/iClient-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
138 lines (138 loc) · 7.85 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
{
"name": "SuperMapiClient",
"description": "SuperMap iClient JavaScript 是一套由 JavaScript 语言编写的 GIS 客户端应用开发包, 支持多源数据地图,支持多终端,跨浏览器, 通过本产品可快速实现浏览器上美观、流畅的地图呈现。",
"version": "10.0.0",
"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",
"release-leaflet": "npm run release-leaflet-es5 && npm run release-leaflet-es6",
"release-openlayers": "npm run release-openlayers-es5 && npm run release-openlayers-es6",
"release-mapboxgl": "npm run release-mapboxgl-es5 && npm run release-mapboxgl-es6",
"release-classic": "npm run release-classic-es5 && npm run release-classic-es6",
"release-leaflet-es5": "cross-env moduleVersion=es5 npm run deploy-leaflet ./src/leaflet/index.js ./src/leaflet/css/index.js && uglifyjs ./dist/leaflet/iclient-leaflet.js --ecma 5 --comments /Copyright©/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 ./src/openlayers/index.js ./src/openlayers/css/index.js && uglifyjs ./dist/openlayers/iclient-openlayers.js --ecma 5 --comments /Copyright©/i -c -m -o ./dist/openlayers/iclient-openlayers.min.js && cleancss -o ./dist/openlayers/iclient-openlayers.min.css ./dist/openlayers/iclient-openlayers.css",
"release-mapboxgl-es5": "cross-env moduleVersion=es5 npm run deploy-mapboxgl ./src/mapboxgl/index.js ./src/mapboxgl/css/index.js && uglifyjs ./dist/mapboxgl/iclient-mapboxgl.js --ecma 5 --comments /Copyright©/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 ./src/classic/index.js && uglifyjs ./dist/classic/iclient-classic.js --ecma 5 --comments /Copyright©/i -c -m -o ./dist/classic/iclient-classic.min.js",
"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/iclient-leaflet-es6.js --ecma 6 --comments /Copyright©/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 ./src/openlayers/index.js ./src/openlayers/css/index.js && node ./node_modules/uglify-es/bin/uglifyjs ./dist/openlayers/iclient-openlayers-es6.js --ecma 6 --comments /Copyright©/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-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/iclient-mapboxgl-es6.js --ecma 6 --comments /Copyright©/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 ./src/classic/index.js && node ./node_modules/uglify-es/bin/uglifyjs ./dist/classic/iclient-classic-es6.js --ecma 6 --comments /Copyright©/i -c -m -o ./dist/classic/iclient-classic-es6.min.js",
"deploy": "webpack --color",
"deploy-leaflet": "webpack --config ./build/webpack.config.leaflet.js --color",
"deploy-openlayers": "webpack --config ./build/webpack.config.openlayers.js --color",
"deploy-mapboxgl": "webpack --config ./build/webpack.config.mapboxgl.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",
"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-classic",
"build-docs-leaflet": "jsdoc -c ./build/jsdocs/leaflet/docs.json -R ./build/jsdocs/leaflet/index.md",
"build-docs-openlayers": "jsdoc -c ./build/jsdocs/openlayers/docs.json -R ./build/jsdocs/openlayers/index.md",
"build-docs-mapboxgl": "jsdoc -c ./build/jsdocs/mapboxgl/docs.json -R ./build/jsdocs/mapboxgl/index.md",
"build-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 --classic",
"publish": "npm run pre-publish && cd ./src/common && npm publish && cd ../leaflet && npm publish && cd ../openlayers && npm publish && cd ../mapboxgl && npm publish && cd ../classic && npm publish"
},
"keywords": [
"SuperMap",
"Leaflet",
"OpenLayers"
],
"homepage": "http://iclient.supermap.io",
"repository": {
"type": "git",
"url": "https://github.com/SuperMap/iClient-JavaScript.git"
},
"author": "SuperMap_FE",
"license": "Apache-2.0",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-loader": "^7.1.4",
"babel-plugin-istanbul": "^4.1.6",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babelify": "^7.3.0",
"browserify": "^14.3.0",
"browserify-css": "^0.11.1",
"browserify-imgify": "^0.0.1",
"chromedriver": "75.1.0",
"clean-css-cli": "^4.1.6",
"commander": "^2.15.1",
"cross-env": "^5.2.0",
"css-loader": "^0.28.11",
"es3ify-loader": "^0.2.0",
"eslint": "^4.6.1",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.8.0",
"express": "^4.16.3",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^1.1.11",
"get-pixels": "^3.3.0",
"image-size": "^0.6.1",
"imports-loader": "^0.8.0",
"istanbul": "^0.4.5",
"jasmine-core": "^2.5.2",
"jsdoc": "^3.5.5",
"karma": "^1.4.1",
"karma-browserify": "^5.1.1",
"karma-chrome-launcher": "^2.0.0",
"karma-cli": "^1.0.1",
"karma-coverage": "^1.1.1",
"karma-jasmine": "^1.1.0",
"karma-teamcity-reporter": "^1.0.0",
"leaflet.pm": "^0.25.0",
"mock-socket": "^8.0.5",
"nightwatch": "^0.9.5",
"open": "^6.0.0",
"pngjs": "^3.3.0",
"pre-commit": "^1.2.2",
"request": "^2.83.0",
"selenium-server": "3.141.59",
"serve-index": "^1.9.1",
"shelljs": "^0.7.6",
"style-loader": "^0.13.1",
"uglify-es": "^3.3.9",
"url-loader": "^1.0.1",
"watchify": "^3.9.0",
"webpack": "4.1.1",
"webpack-cli": "2.0.12",
"webpack-dev-middleware": "^3.2.0",
"webpack-node-externals": "^1.6.0"
},
"dependencies": {
"@mapbox/vector-tile": "1.3.0",
"@supermap/iclient-common": "file:src/common",
"@turf/turf": "5.1.6",
"canvg": "1.5.3",
"echarts": "4.3.0",
"elasticsearch": "16.3.0",
"fetch-ie8": "1.5.0",
"fetch-jsonp": "1.0.6",
"jsonsql": "0.2.5",
"leaflet": "1.5.1",
"lodash.remove": "^4.7.0",
"lodash.topairs": "4.3.0",
"mapbox-gl": "1.3.1",
"mapv": "2.0.38",
"openlayers": "4.6.5",
"pbf": "3.0.2",
"proj4": "2.5.0",
"promise-polyfill": "6.0.2",
"three": "0.92.0",
"xlsx": "0.15.1",
"xml-js": "1.6.8"
},
"pre-commit": [
"lint"
]
}