|
2 | 2 | "name": "client", |
3 | 3 | "version": "0.1.0", |
4 | 4 | "private": true, |
| 5 | + "type": "module", |
| 6 | + "engines": { |
| 7 | + "node": ">=24.0.0 <25.0.0", |
| 8 | + "npm": "please-use-yarn", |
| 9 | + "yarn": ">= 1.22.17" |
| 10 | + }, |
5 | 11 | "dependencies": { |
6 | | - "@apollo/client": "^3.4.16", |
7 | | - "@testing-library/jest-dom": "^5.11.4", |
8 | | - "@testing-library/react": "^11.0.4", |
9 | | - "@testing-library/user-event": "^7.1.2", |
10 | | - "@types/jest": "^24.0.0", |
| 12 | + "@apollo/client": "^4.0.11", |
11 | 13 | "@types/lodash": "^4.14.162", |
12 | | - "@types/node": "^12.0.0", |
13 | | - "@types/react": "^17.0.33", |
14 | | - "@types/react-dom": "^17.0.10", |
15 | | - "apollo": "^2.33.7", |
16 | | - "graphql": "^15.3.0", |
17 | | - "jest-environment-jsdom-sixteen": "^1.0.3", |
| 14 | + "@types/node": "^20.17.10", |
| 15 | + "@types/react": "^18.2.19", |
| 16 | + "@types/react-dom": "^18.2.19", |
| 17 | + "graphql": "16.6.0", |
18 | 18 | "json-typescript": "^1.1.2", |
19 | 19 | "lodash": "^4.17.20", |
20 | | - "msw": "^0.21.2", |
21 | | - "react": "^17.0.2", |
22 | | - "react-dom": "^17.0.2", |
23 | | - "react-scripts": "4.0.3", |
| 20 | + "msw": "^2.12.7", |
| 21 | + "react": "^18.2.0", |
| 22 | + "react-dom": "^18.2.0", |
24 | 23 | "shared": "*", |
25 | | - "typescript": "^4.4.4" |
| 24 | + "typescript": "^5.9.3" |
26 | 25 | }, |
27 | 26 | "scripts": { |
28 | 27 | "start": "./scripts/start.sh", |
29 | 28 | "build": "./scripts/build.sh", |
30 | | - "test": "./scripts/test.sh", |
31 | | - "codegen": "./scripts/codegen.sh" |
| 29 | + "codegen": "graphql-codegen --config codegen.yml", |
| 30 | + "test": "vitest run", |
| 31 | + "test:watch": "vitest", |
| 32 | + "test:ui": "vitest --ui" |
32 | 33 | }, |
33 | 34 | "eslintConfig": { |
34 | 35 | "extends": "react-app" |
|
45 | 46 | "last 1 safari version" |
46 | 47 | ] |
47 | 48 | }, |
48 | | - "devDependencies": {} |
| 49 | + "devDependencies": { |
| 50 | + "@babel/plugin-proposal-private-property-in-object": "^7.21.11", |
| 51 | + "@graphql-codegen/cli": "^5.0.0", |
| 52 | + "@graphql-codegen/client-preset": "4.3.2", |
| 53 | + "@graphql-codegen/typescript": "^4.0.1", |
| 54 | + "@testing-library/dom": "^10.4.0", |
| 55 | + "@testing-library/jest-dom": "^6.6.3", |
| 56 | + "@testing-library/react": "^16.1.0", |
| 57 | + "@testing-library/user-event": "^14.5.2", |
| 58 | + "@vitejs/plugin-react": "^4.2.1", |
| 59 | + "@vitejs/plugin-react-swc": "^3.5.0", |
| 60 | + "@vitest/ui": "^2.1.8", |
| 61 | + "graphql-constraint-directive": "^5.1.1", |
| 62 | + "jsdom": "^25.0.1", |
| 63 | + "vite": "^5.0.10", |
| 64 | + "vite-plugin-node-polyfills": "^0.17.0", |
| 65 | + "vite-plugin-svgr": "^4.2.0", |
| 66 | + "vite-tsconfig-paths": "^6.0.3", |
| 67 | + "vitest": "^4.0.16" |
| 68 | + } |
49 | 69 | } |
0 commit comments