|
3 | 3 | "version": "0.1.0", |
4 | 4 | "private": true, |
5 | 5 | "dependencies": { |
6 | | - "axios": "^1.8.2", |
7 | | - "moment": "^2.23.0", |
8 | | - "react": "^18.2.0", |
9 | | - "react-dom": "^18.2.0", |
| 6 | + "@reduxjs/toolkit": "^2.9.0", |
| 7 | + "axios": "^1.12.2", |
| 8 | + "moment": "^2.30.1", |
| 9 | + "react": "^18", |
| 10 | + "react-dom": "^18", |
10 | 11 | "react-ga": "^3.3.1", |
11 | | - "react-phone-number-input": "^3.2.11", |
12 | | - "react-redux": "^8.0.4", |
13 | | - "react-router-dom": "^6.4.2", |
14 | | - "react-scripts": "5.0.1", |
15 | | - "react-select": "^5.7.0", |
16 | | - "reactstrap": "^8.0.1", |
17 | | - "redux": "^4.0.4", |
18 | | - "redux-thunk": "^2.3.0" |
| 12 | + "react-phone-number-input": "^3.4.12", |
| 13 | + "react-redux": "^9.2.0", |
| 14 | + "react-router-dom": "^7.9.3", |
| 15 | + "react-select": "^5.10.2", |
| 16 | + "reactstrap": "^9.2.3", |
| 17 | + "redux": "^5.0.1", |
| 18 | + "redux-thunk": "^3.1.0" |
19 | 19 | }, |
20 | 20 | "scripts": { |
21 | | - "build": "react-scripts build", |
| 21 | + "build": "vite build --outDir build/$BUILD_PATH", |
22 | 22 | "e2e": "concurrently -k -s first -n \"app,e2e\" \"BROWSER=none yarn start\" \"yarn e2e:run\"", |
23 | 23 | "e2e:dev": "concurrently -k -n \"app,e2e\" \"yarn start\" \"cypress open --e2e\"", |
24 | 24 | "e2e:prod": "concurrently -k -s first -n \"app,e2e\" \"yarn serve\" \"yarn e2e:run\"", |
25 | | - "e2e:run": "wait-on -l http-get://localhost:3000 && cypress run", |
26 | | - "eject": "react-scripts eject", |
| 25 | + "e2e:run": "wait-on -l http-get://localhost:3002 && cypress run", |
27 | 26 | "lint": "yarn lint:eslint && yarn lint:prettier --check", |
28 | 27 | "lint:eslint": "eslint e2e src --max-warnings 0", |
29 | 28 | "lint:prettier": "prettier --config .prettierrc 'e2e/**/*.js' 'src/**/*.js'", |
30 | 29 | "lint:fix": "yarn lint:eslint --fix", |
31 | | - "prepare": "husky install", |
| 30 | + "prepare": "husky", |
32 | 31 | "prettier": "yarn lint:prettier --write", |
33 | | - "preserve": "REACT_APP_NODE_ENV=LOCAL yarn build", |
34 | | - "serve": "serve --cors --debug -p 3000 --single build", |
35 | | - "start": "REACT_APP_NODE_ENV=LOCAL react-scripts start", |
36 | | - "test": "react-scripts test --env=jsdom" |
| 32 | + "preserve": "VITE_NODE_ENV=LOCAL yarn build", |
| 33 | + "serve": "serve --cors --debug -p 3002 --single build", |
| 34 | + "start": "VITE_NODE_ENV=LOCAL vite --port 3002", |
| 35 | + "test": "vitest", |
| 36 | + "ci": "rm -rf node_modules && yarn install --frozen-lockfile" |
37 | 37 | }, |
38 | 38 | "engines": { |
39 | 39 | "node": "^22.13" |
40 | 40 | }, |
41 | | - "eslintConfig": { |
42 | | - "extends": [ |
43 | | - "react-app", |
44 | | - "prettier" |
45 | | - ], |
46 | | - "plugins": [ |
47 | | - "prettier" |
48 | | - ], |
49 | | - "rules": { |
50 | | - "import/no-anonymous-default-export": "off", |
51 | | - "prettier/prettier": [ |
52 | | - "error", |
53 | | - { |
54 | | - "arrowParens": "avoid" |
55 | | - } |
56 | | - ] |
57 | | - } |
58 | | - }, |
59 | 41 | "lint-staged": { |
60 | 42 | "*.js": [ |
61 | 43 | "pretty-quick --staged", |
|
64 | 46 | ] |
65 | 47 | }, |
66 | 48 | "devDependencies": { |
67 | | - "@testing-library/cypress": "^8.0.3", |
68 | | - "@testing-library/jest-dom": "^5.16.5", |
69 | | - "@testing-library/react": "^13.4.0", |
70 | | - "@testing-library/user-event": "^14.4.3", |
71 | | - "concurrently": "^7.4.0", |
72 | | - "cypress": "^10.9.0", |
73 | | - "eslint-config-prettier": "^8.5.0", |
74 | | - "eslint-plugin-cypress": "^2.12.1", |
75 | | - "eslint-plugin-prettier": "^4.2.1", |
76 | | - "husky": "^8.0.0", |
77 | | - "lint-staged": "^13.0.3", |
78 | | - "prettier": "^2.7.1", |
79 | | - "pretty-quick": "^3.1.3", |
| 49 | + "@testing-library/cypress": "^10.1.0", |
| 50 | + "@testing-library/jest-dom": "^6.9.1", |
| 51 | + "@testing-library/react": "^16.3.0", |
| 52 | + "@testing-library/user-event": "^14.6.1", |
| 53 | + "@vitejs/plugin-react": "^5.0.4", |
| 54 | + "concurrently": "^9.2.1", |
| 55 | + "cypress": "^14.3.3", |
| 56 | + "eslint": "^9.36.0", |
| 57 | + "eslint-config-prettier": "^10.1.5", |
| 58 | + "eslint-plugin-cypress": "^5.2.0", |
| 59 | + "eslint-plugin-prettier": "^5.4.0", |
| 60 | + "husky": "^9.1.7", |
| 61 | + "jsdom": "^26.1.0", |
| 62 | + "lint-staged": "^16.2.3", |
| 63 | + "prettier": "^3.5.3", |
| 64 | + "pretty-quick": "^4.1.1", |
80 | 65 | "react-select-event": "^5.5.1", |
81 | | - "serve": "^14.0.1", |
82 | | - "wait-on": "^6.0.1" |
83 | | - }, |
84 | | - "resolutions": { |
85 | | - "**/psl": "^1.10", |
86 | | - "**/tr46": "^4.0.0", |
87 | | - "**/whatwg-url": "^9.0.0", |
88 | | - "uri-js": "npm:uri-js-replace" |
| 66 | + "serve": "^14.2.5", |
| 67 | + "vite": "^7.1.8", |
| 68 | + "vitest": "^3.1.3", |
| 69 | + "wait-on": "^8.0.3" |
89 | 70 | }, |
90 | 71 | "browserslist": [ |
91 | 72 | ">0.2%", |
|
0 commit comments