|
44 | 44 | "type-check": "tsc --noEmit",
|
45 | 45 | "lint": "eslint src --ext .ts,.tsx",
|
46 | 46 | "build": "yarn type-check && yarn lint && vite build",
|
47 |
| - "test": "react-scripts test", |
48 |
| - "eject": "react-scripts eject", |
| 47 | + "test": "vitest", |
49 | 48 | "format": "prettier --write './src/**/*.{ts,tsx}'",
|
50 | 49 | "gen-types": "json2ts src/services/storage/assets/keyboard-definition-schema.json --style.singleQuote > src/gen/types/KeyboardDefinition.ts;",
|
51 | 50 | "storybook": "NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006 -s public",
|
|
82 | 81 | "@types/ajv": "^1.0.0",
|
83 | 82 | "@types/axios": "^0.14.0",
|
84 | 83 | "@types/downloadjs": "^1.4.2",
|
85 |
| - "@types/jest": "^26.0.15", |
86 | 84 | "@types/lodash": "^4.14.167",
|
87 | 85 | "@types/node": "^14.14.22",
|
88 | 86 | "@types/prop-types": "^15.7.4",
|
|
99 | 97 | "@typescript-eslint/eslint-plugin": "^4.10.0",
|
100 | 98 | "@typescript-eslint/parser": "^7.11.0",
|
101 | 99 | "@vitejs/plugin-react": "^4.3.0",
|
| 100 | + "@vitejs/plugin-react-swc": "^3.7.0", |
102 | 101 | "babel-eslint": "^10.1.0",
|
103 | 102 | "eslint": "8.57.0",
|
104 | 103 | "eslint-config-prettier": "^7.0.0",
|
105 | 104 | "eslint-plugin-prettier": "^5.1.3",
|
106 | 105 | "eslint-plugin-react": "^7.21.5",
|
| 106 | + "happy-dom": "^14.12.0", |
107 | 107 | "husky": "^4.3.6",
|
108 | 108 | "json-schema-to-typescript": "^10.1.2",
|
109 | 109 | "lint-staged": "^10.5.3",
|
110 | 110 | "prettier": "^3.2.5",
|
111 |
| - "react-scripts": "^4.0.1", |
112 | 111 | "sinon": "^11.1.2",
|
113 | 112 | "vite": "^5.2.12",
|
114 |
| - "vite-plugin-node-polyfills": "^0.22.0" |
| 113 | + "vite-plugin-node-polyfills": "^0.22.0", |
| 114 | + "vitest": "^1.6.0" |
115 | 115 | },
|
116 | 116 | "husky": {
|
117 | 117 | "hooks": {
|
|
0 commit comments