@equinor/videx-map 1.14.12 → 1.14.13

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.
Files changed (1) hide show
  1. package/package.json +20 -26
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/videx-map",
3
- "version": "1.14.12",
3
+ "version": "1.14.13",
4
4
  "description": "Component for Pixi-overlay in Leaflet.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -8,6 +8,9 @@
8
8
  "files": [
9
9
  "dist"
10
10
  ],
11
+ "engines": {
12
+ "npm": "^11.7.0"
13
+ },
11
14
  "types": "dist/index.d.ts",
12
15
  "scripts": {
13
16
  "start": "storybook dev",
@@ -15,8 +18,9 @@
15
18
  "build": "rollup -c",
16
19
  "prepub": "npm run build",
17
20
  "pub": "npm publish --access=public",
18
- "test": "jest",
19
- "test:watch": "jest --watchAll",
21
+ "test": "vitest run",
22
+ "test:watch": "vitest --watchAll",
23
+ "test:coverage": "vitest run --coverage",
20
24
  "lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
21
25
  "lint:fix": "eslint --ext .js,.jsx,.ts,.tsx src --fix",
22
26
  "predocs": "rimraf docs",
@@ -49,46 +53,35 @@
49
53
  "@rollup/plugin-node-resolve": "^16.0.1",
50
54
  "@rollup/plugin-terser": "^0.4.4",
51
55
  "@rollup/plugin-typescript": "^12.1.4",
52
- "@storybook/html-webpack5": "^8.6.14",
56
+ "@storybook/html-webpack5": "^8.6.15",
53
57
  "@types/d3-color": "^3.1.3",
54
58
  "@types/d3-scale-chromatic": "^3.1.0",
55
59
  "@types/d3-selection": "^3.0.11",
56
- "@types/earcut": "^2.1.4",
60
+ "@types/earcut": "^3.0.0",
57
61
  "@types/geojson": "^7946.0.16",
58
- "@types/jest": "^30.0.0",
59
62
  "@types/leaflet": "^1.9.20",
60
63
  "@types/uuid": "^10.0.0",
61
64
  "@typescript-eslint/eslint-plugin": "^8.40.0",
62
65
  "@typescript-eslint/parser": "^8.40.0",
66
+ "@vitest/coverage-v8": "^4.0.7",
63
67
  "eslint": "^8.57.1",
64
68
  "eslint-plugin-storybook": "^0.11.6",
65
69
  "husky": "^9.1.7",
66
- "jest": "^30.0.5",
67
- "jest-canvas-mock": "^2.2.0",
68
- "jest-environment-jsdom": "^30.0.5",
70
+ "jsdom": "^27.1.0",
69
71
  "leaflet": "^1.7.1",
70
72
  "leaflet-pixi-overlay": "^1.9.4",
71
73
  "lint-staged": "^15.5.2",
72
- "rimraf": "^6.0.1",
74
+ "rimraf": "^6.1.2",
73
75
  "rollup": "^4.46.3",
74
76
  "simplex-noise": "^4.0.3",
75
- "storybook": "^8.6.8",
76
- "ts-jest": "^29.4.1",
77
+ "storybook": "^8.6.15",
77
78
  "ts-loader": "^9.5.2",
78
79
  "ts-node": "^10.8.1",
79
80
  "tslib": "^2.8.1",
80
- "typedoc": "^0.28.10",
81
- "typescript": "^5.9.2"
82
- },
83
- "jest": {
84
- "testEnvironment": "jsdom",
85
- "transform": {
86
- ".(ts|tsx)": "ts-jest"
87
- },
88
- "testRegex": "(/tests/.*|(\\.|/)test)\\.ts$",
89
- "setupFiles": [
90
- "jest-canvas-mock"
91
- ]
81
+ "typedoc": "^0.28.15",
82
+ "typescript": "^5.9.2",
83
+ "vitest": "^4.0.7",
84
+ "vitest-webgl-canvas-mock": "^1.1.0"
92
85
  },
93
86
  "lint-staged": {
94
87
  "*.ts": [
@@ -102,8 +95,9 @@
102
95
  "d3-color": "^3.1.0",
103
96
  "d3-scale-chromatic": "^3.1.0",
104
97
  "d3-selection": "^3.0.0",
105
- "earcut": "^2.2.4",
98
+ "earcut": "^3.0.2",
106
99
  "pixi.js": "^7.3.2",
107
- "uuid": "^11.1.0"
100
+ "uuid": "^11.1.0",
101
+ "yaml": "^2.8.1"
108
102
  }
109
103
  }