|
14 | 14 | "release": "npm run release-leaflet && npm run release-openlayers && npm run release-mapboxgl && npm run release-classic && npm run release-maplibregl", |
15 | 15 | "release-leaflet": "npm run release-leaflet-es5 && npm run release-leaflet-es6", |
16 | 16 | "release-openlayers": "npm run release-openlayers-es5 && npm run release-openlayers-es6 && npm run release-ol-es5 && npm run release-ol-es6", |
17 | | - "release-mapboxgl": "npm run release-mapboxgl-es5 && npm run release-mapboxgl-es6 && copyfiles -u 1 ./dist/resources/** ./dist/mapboxgl/", |
| 17 | + "release-mapboxgl": "npm run release-mapboxgl-es5 && npm run release-mapboxgl-es6", |
18 | 18 | "release-maplibregl": "npm run release-maplibregl-es5 && npm run release-maplibregl-es6", |
19 | 19 | "release-classic": "npm run release-classic-es5 && npm run release-classic-es6", |
20 | 20 | "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", |
|
47 | 47 | "build-docs-mapboxgl": "rimraf ./docs/mapboxgl && jsdoc -c ./build/jsdocs/mapboxgl/docs.json -R ./build/jsdocs/mapboxgl/index.md", |
48 | 48 | "build-docs-maplibregl": "rimraf ./docs/maplibregl && jsdoc -c ./build/jsdocs/maplibregl/docs.json -R ./build/jsdocs/maplibregl/index.md", |
49 | 49 | "build-docs-classic": "rimraf ./docs/classic && jsdoc -c ./build/jsdocs/classic/docs.json -R ./build/jsdocs/classic/index.md", |
50 | | - "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 && npm run pre-publish-symbol", |
51 | | - "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", |
52 | | - "pre-publish-symbol": "copyfiles -u 1 ./dist/resources/** ./src/mapboxgl/ " |
| 50 | + "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", |
| 51 | + "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" |
53 | 52 | }, |
54 | 53 | "keywords": [ |
55 | 54 | "SuperMap", |
|
87 | 86 | "chromedriver": "87.0.5", |
88 | 87 | "clean-css-cli": "^4.3.0", |
89 | 88 | "commander": "^9.0.0", |
90 | | - "copyfiles": "^2.4.1", |
91 | 89 | "cross-env": "^7.0.2", |
92 | 90 | "css-loader": "^6.7.1", |
93 | 91 | "elasticsearch": "16.7.3", |
|
96 | 94 | "eslint-plugin-import": "^2.22.1", |
97 | 95 | "eslint-webpack-plugin": "^2.1.0", |
98 | 96 | "express": "^4.17.1", |
| 97 | + "fs-extra": "^11.1.1", |
99 | 98 | "get-pixels": "^3.3.2", |
100 | 99 | "image-size": "^0.9.2", |
101 | 100 | "istanbul": "^0.4.5", |
|
0 commit comments