@equinor/videx-math 1.1.8 → 1.1.10

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.
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/videx-math",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
4
4
  "description": "A library with math used by Videx.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -9,17 +9,27 @@
9
9
  "dist"
10
10
  ],
11
11
  "types": "dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.esm.js",
16
+ "require": "./dist/index.js",
17
+ "default": "./dist/index.js"
18
+ },
19
+ "./package.json": "./package.json"
20
+ },
12
21
  "scripts": {
13
22
  "prebuild": "rimraf dist",
14
23
  "build": "rollup -c",
15
24
  "prepub": "npm run build",
16
25
  "pub": "npm publish --access=public",
17
- "test": "jest",
18
- "test:watch": "jest --watchAll",
26
+ "test": "vitest run",
27
+ "test:watch": "vitest",
19
28
  "lint": "eslint src --color",
20
29
  "predocs": "rimraf docs",
21
30
  "docs": "typedoc --out docs src",
22
- "postdocs": "node postdocs.copyfiles.mjs"
31
+ "postdocs": "node postdocs.copyfiles.mjs",
32
+ "prettier": "prettier . --write"
23
33
  },
24
34
  "repository": {
25
35
  "type": "git",
@@ -39,27 +49,15 @@
39
49
  "@rollup/plugin-node-resolve": "^16.0.3",
40
50
  "@rollup/plugin-terser": "^1.0.0",
41
51
  "@rollup/plugin-typescript": "^12.3.0",
42
- "@types/jest": "^30.0.0",
43
52
  "eslint": "^9.39.4",
44
53
  "eslint-plugin-import": "^2.32.0",
45
- "jest": "^30.3.0",
54
+ "prettier": "^3.9.6",
46
55
  "rimraf": "^6.1.3",
47
56
  "rollup": "^4.60.0",
48
- "ts-jest": "^29.4.6",
49
57
  "tslib": "^2.8.1",
50
58
  "typedoc": "^0.28.18",
51
59
  "typescript": "^5.9.3",
52
- "typescript-eslint": "^8.57.2"
53
- },
54
- "jest": {
55
- "transform": {
56
- ".(ts|tsx)": "ts-jest"
57
- },
58
- "testRegex": "/test/.*",
59
- "moduleFileExtensions": [
60
- "ts",
61
- "tsx",
62
- "js"
63
- ]
60
+ "typescript-eslint": "^8.57.2",
61
+ "vitest": "^4.1.10"
64
62
  }
65
63
  }
File without changes
File without changes