See More

{ "name": "SuperMapiClient", "description": "SuperMap iClient JavaScript 是一套由 JavaScript 语言编写的 GIS 客户端应用开发包, 支持多源数据地图,支持多终端,跨浏览器, 通过本产品可快速实现浏览器上美观、流畅的地图呈现。", "version": "10.0.1", "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 && npm run release-ol-es5 && npm run release-ol-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/namespace.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-ol-es5": "cross-env moduleVersion=es5 npm run deploy-ol ./src/openlayers/namespace.js ./src/openlayers/css/index.js && uglifyjs ./dist/ol/iclient-ol.js --ecma 5 --comments /Copyright©/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 ./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/namespace.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-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/iclient-ol-es6.js --ecma 6 --comments /Copyright©/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 ./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-ol": "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 --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-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": "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.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", "pre-commit": "^1.2.2", "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": { "@mapbox/vector-tile": "1.3.1", "@supermap/iclient-common": "file:src/common", "@turf/turf": "5.1.6", "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", "lodash.remove": "^4.7.0", "lodash.topairs": "4.3.0", "mapbox-gl": "1.6.1", "mapv": "2.0.43", "ol": "6.1.1", "pbf": "3.2.1", "proj4": "2.6.0", "promise-polyfill": "8.1.3", "three": "0.92.0", "xlsx": "0.15.4", "xml-js": "1.6.11" }, "pre-commit": [ "lint" ] }