@maptalks/vt 0.95.0 → 0.96.0

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,65 +1,67 @@
1
1
  {
2
2
  "name": "@maptalks/vt",
3
- "version": "0.95.0",
3
+ "version": "0.96.0",
4
4
  "description": "The vector-tile plugin for maptalks.js",
5
5
  "main": "dist/maptalks.vt.js",
6
6
  "module": "dist/maptalks.vt.es.js",
7
+ "types": "dist/maptalks.vt.d.ts",
7
8
  "files": [
8
9
  "dist/maptalks.vt.js",
9
- "dist/maptalks.vt.es.js"
10
+ "dist/maptalks.vt.js.map",
11
+ "dist/maptalks.vt.es.js",
12
+ "dist/maptalks.vt.es.js.map",
13
+ "dist/maptalks.vt.d.ts"
10
14
  ],
11
- "scripts": {
12
- "lint": "eslint src/**/*.js test/**/*.js",
13
- "dev": "rollup -w -c build/rollup.config.js",
14
- "build": "cd ../vector-packer && npm run build && cd ../vt && rollup --environment BUILD:production -c build/rollup.config.js",
15
- "build-dev": "rollup -c build/rollup.config.js",
16
- "test": "electron-mocha --interactive --renderer ./test/**/*.spec.js",
17
- "tdd": "electron-mocha --interactive --renderer ./test/**/*.spec.js",
18
- "pretest": "npm run lint && npm run build",
19
- "prepare": "npm run build",
20
- "preversion": "npm run pretest"
21
- },
22
15
  "dependencies": {
23
16
  "@mapbox/point-geometry": "^0.1.0",
24
17
  "@mapbox/vector-tile": "^1.3.1",
25
18
  "@maptalks/feature-filter": "^1.3.0",
26
- "@maptalks/function-type": "^1.2.3",
19
+ "@maptalks/function-type": "^1.3.1",
27
20
  "@maptalks/geojson-bbox": "^1.0.4",
28
21
  "@maptalks/geojson-vt": "^3.5.0",
29
- "@maptalks/gl": "^0.97.3",
30
- "@maptalks/tbn-packer": "^1.4.1",
31
- "@maptalks/vector-packer": "^0.95.0",
32
- "@maptalks/vt-plugin": "^0.95.0",
22
+ "@maptalks/tbn-packer": "^1.4.5",
33
23
  "animation-easings": "^0.1.0",
34
- "color": "^3.0.0",
35
- "earcut": "^2.2.4",
36
24
  "fast-deep-equal": "^2.0.1",
37
- "gl-matrix": "^2.6.1",
38
- "pbf": "^3.2.1",
39
25
  "point-in-polygon": "^1.1.0",
40
26
  "quickselect": "^1.0.0",
41
27
  "rbush": "^3.0.1",
42
28
  "robust-predicates": "^2.0.4",
43
29
  "tinyqueue": "^2.0.3",
44
- "vt-pbf": "^3.1.0"
30
+ "vt-pbf": "^3.1.0",
31
+ "@maptalks/gl": "0.98.0",
32
+ "@maptalks/vector-packer": "0.96.0",
33
+ "@maptalks/vt-plugin": "0.96.0"
45
34
  },
46
35
  "devDependencies": {
47
36
  "@maptalks/rollup-plugin-glsl-minify": "^0.1.7",
48
- "@rollup/plugin-commonjs": "^20.0.0",
49
- "@rollup/plugin-json": "^4.1.0",
50
- "@rollup/plugin-node-resolve": "^13.0.4",
51
- "@rollup/plugin-replace": "4.0.0",
52
- "electron": "^25.4.0",
53
- "electron-mocha": "^12.0.1",
54
- "eslint": "^8.46.0",
55
- "eslint-plugin-mocha": "^10.1.0",
37
+ "@rollup/plugin-commonjs": "^25.0.7",
38
+ "@rollup/plugin-json": "^6.1.0",
39
+ "@rollup/plugin-node-resolve": "^15.2.3",
40
+ "@rollup/plugin-replace": "^5.0.5",
41
+ "@rollup/plugin-terser": "0.4.4",
42
+ "@rollup/plugin-typescript": "^11.1.6",
43
+ "electron": "^29.0.0",
44
+ "electron-mocha": "^12.3.0",
45
+ "eslint": "^8.57.0",
46
+ "eslint-plugin-mocha": "^10.4.1",
56
47
  "express": "^4.17.1",
57
48
  "happen": "^0.3.1",
58
- "maptalks": "^1.0.0-rc.31",
59
- "mocha": "^9.0.3",
49
+ "maptalks": "^1.0.0-rc.35",
50
+ "mocha": "^10.3.0",
60
51
  "pixelmatch": "^4.0.2",
61
- "rollup": "^2.56.2",
62
- "rollup-plugin-terser": "^5.3.1"
52
+ "rollup": "^4.17.2",
53
+ "rollup-plugin-dts": "^6.1.0"
63
54
  },
64
- "gitHead": "53b244e20e55181f60525f151fe1311ab61a058b"
65
- }
55
+ "gitHead": "36a6954658f5a3aff0fe84dd79964ee7f1317b06",
56
+ "scripts": {
57
+ "clean": "rimraf dist",
58
+ "lint": "eslint src/**/*.js test/**/*.js",
59
+ "dev": "rollup -w -c build/rollup.config.js",
60
+ "build": "cd ../vector-packer && npm run build && cd ../vt && npm run clean && rollup --environment BUILD:production -c build/rollup.config.js",
61
+ "build-dev": "rollup -c build/rollup.config.js",
62
+ "test": "electron-mocha --show-window --renderer ./test/**/*.spec.js",
63
+ "tdd": "electron-mocha --interactive --renderer ./test/**/*.spec.js",
64
+ "pretest": "npm run lint && npm run build",
65
+ "preversion": "npm run pretest"
66
+ }
67
+ }