|
7 | 7 | "postinstall": "husky install && preconstruct dev && manypkg check && check-node-version --package --print",
|
8 | 8 | "reinstall": "manypkg exec rm -rf node_modules && rm -rf node_modules pnpm-lock.yaml && pnpm install",
|
9 | 9 | "auth": "npm_config_registry=https://registry.npmjs.org npm whoami",
|
10 |
| - "develop": "jest --projects jest.test.config.js --watch", |
11 | 10 | "lint": "biome lint",
|
12 | 11 | "typecheck": "tsc --project tsconfig.json --noEmit && tsc --project packages/cypress-plugin/tsconfig.json --noEmit",
|
13 | 12 | "format": "biome format --write",
|
14 | 13 | "fix:biome": "biome lint --write",
|
15 | 14 | "biome:check": "biome check --write",
|
16 | 15 | "lint:ci": "biome ci",
|
17 |
| - "test": "cross-env NODE_ENV=test jest --config jest.test.config.js", |
18 |
| - "test:ci": "cross-env NODE_ENV=test pnpm test -- --no-watchman --maxWorkers 5 --no-cache", |
19 |
| - "test:ci:coverage": "cross-env NODE_ENV=test pnpm test:ci --coverage", |
20 |
| - "test:watch": "cross-env NODE_ENV=test pnpm test -- --watch", |
21 |
| - "test:coverage": "cross-env NODE_ENV=test pnpm test -- --coverage", |
| 16 | + "test:coverage": "pnpm test -- --coverage", |
| 17 | + "test": "vitest run", |
| 18 | + "test:report": "vitest --reporter=junit --outputFile=junit.xml", |
22 | 19 | "build": "preconstruct build",
|
23 | 20 | "build:watch": "preconstruct watch",
|
24 | 21 | "changeset": "changeset",
|
|
61 | 58 | "@biomejs/biome": "1.9.4",
|
62 | 59 | "@changesets/changelog-github": "0.5.0",
|
63 | 60 | "@changesets/cli": "2.27.10",
|
64 |
| - "@commercetools/jest-enzyme-matchers": "1.1.2", |
65 | 61 | "@commitlint/cli": "19.6.0",
|
66 | 62 | "@commitlint/config-conventional": "19.6.0",
|
67 | 63 | "@manypkg/cli": "0.21.4",
|
68 | 64 | "@preconstruct/cli": "2.8.10",
|
| 65 | + "@testing-library/jest-dom": "6.6.3", |
69 | 66 | "@types/jest": "29.5.14",
|
70 | 67 | "@types/lodash": "4.17.13",
|
71 | 68 | "@types/node": "22.9.1",
|
72 |
| - "babel-jest": "29.7.0", |
| 69 | + "@vitejs/plugin-react": "4.3.4", |
| 70 | + "@vitest/coverage-v8": "2.1.6", |
| 71 | + "@vitest/ui": "2.1.6", |
73 | 72 | "babel-plugin-transform-dynamic-import": "2.1.0",
|
74 | 73 | "check-node-version": "4.2.1",
|
75 | 74 | "colors": "1.4.0",
|
76 | 75 | "core-js": "3.39.0",
|
77 |
| - "cross-env": "7.0.3", |
78 | 76 | "husky": "9.1.7",
|
79 |
| - "jest": "29.7.0", |
80 |
| - "jest-environment-jsdom": "29.7.0", |
81 |
| - "jest-localstorage-mock": "2.4.26", |
| 77 | + "jsdom": "25.0.1", |
82 | 78 | "lint-staged": "15.2.10",
|
83 | 79 | "pinst": "3.0.0",
|
84 | 80 | "raf": "3.4.1",
|
| 81 | + "react": "18.3.1", |
| 82 | + "react-dom": "18.3.1", |
85 | 83 | "regenerator-runtime": "0.14.1",
|
86 | 84 | "rimraf": "6.0.1",
|
87 |
| - "ts-jest": "29.2.5", |
88 | 85 | "ts-node": "10.9.2",
|
89 | 86 | "tslib": "2.8.1",
|
90 |
| - "typescript": "5.6.3" |
| 87 | + "typescript": "5.6.3", |
| 88 | + "vite": "5.1.8", |
| 89 | + "vitest": "2.1.6", |
| 90 | + "vitest-localstorage-mock": "0.1.2" |
91 | 91 | },
|
92 | 92 | "keywords": [
|
93 | 93 | "react",
|
|
0 commit comments