|
28 | 28 | "prettier": "prettier --check src demo",
|
29 | 29 | "prettier-write": "prettier --write src demo",
|
30 | 30 | "test": "npm run test-only && npm run eslint && npm run prettier && npm run check-types",
|
31 |
| - "test-only": "cross-env JEST_IMAGE_SNAPSHOT_TRACK_OBSOLETE=1 jest", |
| 31 | + "test-only": "cross-env JEST_IMAGE_SNAPSHOT_TRACK_OBSOLETE=1 vitest run --coverage", |
32 | 32 | "tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm",
|
33 | 33 | "tsc-cjs": "tsc --project tsconfig.cjs.json",
|
34 | 34 | "tsc-esm": "tsc --project tsconfig.esm.json"
|
|
41 | 41 | "url": "https://github.com/image-js/image-js/issues"
|
42 | 42 | },
|
43 | 43 | "homepage": "https://github.com/image-js/image-js#readme",
|
44 |
| - "overrides": { |
45 |
| - "jest": "$jest" |
46 |
| - }, |
47 | 44 | "dependencies": {
|
48 | 45 | "bresenham-zingl": "^0.1.1",
|
49 | 46 | "colord": "^2.9.3",
|
|
62 | 59 | "devDependencies": {
|
63 | 60 | "@microsoft/api-extractor": "^7.34.8",
|
64 | 61 | "@tailwindcss/forms": "^0.5.3",
|
65 |
| - "@types/jest": "^29.5.1", |
66 | 62 | "@types/jest-image-snapshot": "^6.1.0",
|
67 | 63 | "@types/node": "^20.1.2",
|
68 | 64 | "@types/picomatch": "^2.3.0",
|
69 | 65 | "@types/react": "^18.2.6",
|
70 | 66 | "@types/react-dom": "^18.2.4",
|
71 | 67 | "@types/robust-point-in-polygon": "^1.0.2",
|
72 | 68 | "@vitejs/plugin-react": "^4.0.0",
|
| 69 | + "@vitest/coverage-c8": "^0.31.0", |
73 | 70 | "autoprefixer": "^10.4.14",
|
74 | 71 | "clsx": "^1.2.1",
|
75 | 72 | "cross-env": "^7.0.3",
|
76 | 73 | "eslint": "^8.40.0",
|
77 | 74 | "eslint-config-cheminfo-react": "^9.1.0",
|
78 | 75 | "eslint-config-cheminfo-typescript": "^11.3.1",
|
79 | 76 | "eslint-plugin-import": "^2.27.5",
|
80 |
| - "eslint-plugin-jest": "^27.2.1", |
81 | 77 | "immer": "^10.0.2",
|
82 |
| - "jest": "^29.5.0", |
83 | 78 | "jest-image-snapshot": "^6.1.0",
|
84 | 79 | "jest-matcher-deep-close-to": "^3.0.2",
|
85 | 80 | "postcss": "^8.4.23",
|
|
89 | 84 | "react-router-dom": "^6.11.1",
|
90 | 85 | "rimraf": "^5.0.0",
|
91 | 86 | "tailwindcss": "^3.3.2",
|
92 |
| - "ts-jest": "^29.1.0", |
93 | 87 | "typescript": "^5.0.4",
|
94 |
| - "vite": "^4.3.5" |
| 88 | + "vite": "^4.3.5", |
| 89 | + "vitest": "^0.31.0" |
95 | 90 | }
|
96 | 91 | }
|
0 commit comments