{ "name": "SuperMapiClient", "description": "SuperMap iClient JavaScript 是一套由 JavaScript 语言编写的 GIS 客户端应用开发包, 支持多源数据地图,支持多终端,跨浏览器, 通过本产品可快速实现浏览器上美观、流畅的地图呈现。", "version": "12.1.1-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 && cross-env NODE_OPTIONS=--max-old-space-size=4096 karma start ./test/karma.conf.js", "citest": "npm install ./src/common && cross-env NODE_OPTIONS=--max-old-space-size=4096 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", "deploy-custom-webmapv2base": "webpack --config ./build/custom/webpack.config.common-webmapv2base.js --color && rimraf ./custom-dist/iclient-common/iclient-common-webmapv2base.js.LICENSE.txt", "deploy-custom-common": "webpack --config ./build/custom/webpack.config.common.js --color && rimraf ./custom-dist/iclient-common/iclient-common.js.LICENSE.txt", "deploy-custom-mapboxgl-es5": "cross-env moduleVersion=es5 webpack --config ./build/custom/webpack.config.mapboxgl.js --color && uglifyjs ./custom-dist/iclient-mapboxgl/iclient-mapboxgl.js --ecma 5 --comments /iclient-/i -c -m -o ./custom-dist/iclient-mapboxgl/iclient-mapboxgl.min.js && cleancss -o ./custom-dist/iclient-mapboxgl/iclient-mapboxgl.min.css ./custom-dist/iclient-mapboxgl/iclient-mapboxgl.css && rimraf ./custom-dist/iclient-mapboxgl/iclient-mapboxgl.js ./custom-dist/iclient-mapboxgl/iclient-mapboxgl.css", "deploy-custom-mapboxgl": "npm run deploy-custom-webmapv2base && npm run deploy-custom-common && npm run deploy-custom-mapboxgl-es5", "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", "browserslist": "4.25.4", "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", "minimist": "^1.2.8", "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.23.0", "@mapbox/vector-tile": "1.3.1", "@maplibre/maplibre-gl-style-spec": "^23.3.0", "@supermapgis/iclient-common": "file:src/common", "@supermapgis/tile-decryptor": "^1.0.0", "@turf/center": "^7.2.0", "@turf/distance": "^7.2.0", "@turf/meta": "^7.2.0", "@turf/turf": "7.2.0", "canvg": "^4.0.3", "echarts": "5.5.1", "fast-xml-parser": "5.5.9", "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": "5.6.0", "mapv": "2.0.62", "node-forge": "^1.3.1", "ol": "10.5.0", "pbf": "3.2.1", "proj4": "2.17.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" ] }