mars3d-tdt 3.2.4 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mars3d-tdt",
3
- "version": "3.2.4",
3
+ "version": "3.3.2",
4
4
  "description": "Mars3D平台插件,支持对天地图三维地名服务和地形服务加载使用",
5
5
  "main": "dist/mars3d-tdt.js",
6
6
  "files": [
@@ -10,31 +10,10 @@
10
10
  "bytebuffer": "^5.0.1"
11
11
  },
12
12
  "devDependencies": {
13
- "mars3d": "^3.2.4",
14
- "@babel/core": "^7.14.3",
15
- "@babel/eslint-parser": "^7.14.3",
16
- "@babel/plugin-proposal-class-properties": "^7.14.3",
17
- "@babel/plugin-transform-runtime": "^7.14.3",
18
- "@babel/preset-env": "^7.14.3",
19
- "babel-eslint": "^10.1.0",
20
- "babel-loader": "^8.2.2",
21
- "eslint": "^7.26.0",
22
- "eslint-config-prettier": "^7.2.0",
23
- "eslint-plugin-import": "^2.22.1",
24
- "eslint-plugin-node": "^11.1.0",
25
- "eslint-plugin-prettier": "^3.3.1",
26
- "eslint-plugin-promise": "^4.3.1",
27
- "prettier": "^2.2.1",
28
- "webpack": "^4.46.0",
29
- "webpack-cli": "^3.3.12"
13
+ "mars3d": "^3.3.2"
30
14
  },
31
15
  "scripts": {
32
- "build": "npm run lint && webpack --env.prod --env.min --progress --profile --colors --config ./scripts/webpack.config.js && webpack --env.prod --progress --profile --colors --config ./scripts/webpack.config.js --devtool source-map",
33
- "build-src": "npm run lint && webpack --env.prod --progress --profile --colors --config ./scripts/webpack.config.js --devtool source-map",
34
- "build-min": "npm run lint && webpack --env.prod --env.min --progress --profile --colors --config ./scripts/webpack.config.js",
35
- "build-npm": "npm run lint && webpack --env.prod --env.min --progress --profile --colors --config ./scripts/webpack.npm.js && node scripts/npm/buildNpm.js",
36
- "lint": "eslint ./src/**/*.{js,ts} --fix",
37
- "push": "npm publish --registry=https://registry.npmjs.org"
16
+ "lint": "eslint ./src/**/*.{js,ts} --fix"
38
17
  },
39
18
  "repository": {
40
19
  "type": "git",
@@ -55,5 +34,13 @@
55
34
  ],
56
35
  "author": "火星科技",
57
36
  "license": "Apache-2.0",
58
- "homepage": "http://mars3d.cn"
37
+ "homepage": "http://mars3d.cn",
38
+ "build": {
39
+ "plugin": true,
40
+ "globals": {
41
+ "@turf/turf": "turf",
42
+ "mars3d-cesium": "Cesium",
43
+ "mars3d": "mars3d"
44
+ }
45
+ }
59
46
  }