|
1 | 1 | { |
2 | 2 | "name": "todo-frontend", |
3 | | - "version": "0.1.1", |
| 3 | + "version": "0.2.0", |
4 | 4 | "private": true, |
5 | 5 | "dependencies": { |
6 | | - "axios": "^1.3.5", |
| 6 | + "@chakra-ui/icons": "^2.1.0", |
| 7 | + "@chakra-ui/react": "^2.8.0", |
| 8 | + "@chakra-ui/system": "^2.6.0", |
| 9 | + "@emotion/react": "^11.11.1", |
| 10 | + "@emotion/styled": "^11.11.0", |
| 11 | + "@grpc/grpc-js": "^1.8.21", |
| 12 | + "eventemitter3": "^5.0.1", |
| 13 | + "framer-motion": "^10.15.0", |
7 | 14 | "google-protobuf": "^3.21.2", |
8 | 15 | "grpc-web": "^1.4.2", |
| 16 | + "jwt-decode": "^3.1.2", |
9 | 17 | "react": "^18.2.0", |
10 | 18 | "react-dom": "^18.2.0", |
11 | | - "react-icons": "^4.8.0" |
| 19 | + "react-icons": "^4.8.0", |
| 20 | + "react-router-dom": "^6.14.2", |
| 21 | + "recoil": "^0.7.7", |
| 22 | + "source-map-loader": "^4.0.1" |
12 | 23 | }, |
13 | 24 | "scripts": { |
14 | 25 | "start": "react-scripts start", |
15 | 26 | "build": "react-scripts build", |
16 | 27 | "test": "react-scripts test", |
17 | 28 | "eject": "react-scripts eject", |
18 | | - "proto": "protoc -I=. src/bitloops/proto/todo.proto --js_out=import_style=commonjs,binary:. --grpc-web_out=import_style=typescript,mode=grpcwebtext:.", |
| 29 | + "proto": "protoc -I=. src/bitloops/proto/todo.proto --ts_out=. --ts_opt=target=web,json_names,unary_rpc_promise=true,no_namespace --grpc-web_out=import_style=typescript,mode=grpcwebtext:.", |
19 | 30 | "docker:build": "docker build -t todo-frontend .", |
20 | 31 | "docker:run": "docker run -dp 3000:3000 --name todo-frontend todo-frontend", |
21 | | - "docker": "docker build -t todo-frontend . && docker run -dp 3000:3000 --name todo-frontend todo-frontend" |
| 32 | + "docker": "docker build -t todo-frontend . && docker run -dp 3000:3000 --name todo-frontend todo-frontend", |
| 33 | + "postinstall": "patch-package", |
| 34 | + "lint": "eslint ." |
22 | 35 | }, |
23 | 36 | "eslintConfig": { |
24 | 37 | "extends": [ |
|
39 | 52 | ] |
40 | 53 | }, |
41 | 54 | "devDependencies": { |
42 | | - "@testing-library/jest-dom": "^5.16.5", |
43 | | - "@testing-library/react": "^14.0.0", |
44 | | - "@testing-library/user-event": "^14.4.3", |
45 | | - "@types/jest": "^29.5.0", |
46 | | - "@types/node": "^18.15.11", |
47 | | - "@types/react": "^18.0.34", |
48 | | - "@types/react-dom": "^18.0.11", |
49 | | - "protoc-gen-grpc-web": "^1.4.1", |
| 55 | + "@testing-library/jest-dom": "^5.14.1", |
| 56 | + "@testing-library/react": "^13.0.0", |
| 57 | + "@testing-library/user-event": "^13.2.1", |
| 58 | + "@types/jest": "^27.0.1", |
| 59 | + "@types/node": "^16.7.13", |
| 60 | + "@types/react": "^18.0.0", |
| 61 | + "@types/react-dom": "^18.0.0", |
| 62 | + |
| 63 | + "@babel/plugin-proposal-private-property-in-object": "^7.21.11", |
| 64 | + "@typescript-eslint/eslint-plugin": ">=6.0.0", |
| 65 | + "@typescript-eslint/parser": ">=6.0.0", |
| 66 | + "eslint": ">=8.0.0", |
| 67 | + "eslint-config-airbnb": "^19.0.4", |
| 68 | + "eslint-config-airbnb-typescript": "^17.1.0", |
| 69 | + "eslint-config-prettier": "^8.9.0", |
| 70 | + "eslint-config-xo": "^0.43.1", |
| 71 | + "eslint-config-xo-typescript": "^1.0.1", |
| 72 | + "eslint-plugin-import": "^2.28.0", |
| 73 | + "eslint-plugin-prettier": "^5.0.0", |
| 74 | + "eslint-plugin-react": "^7.33.1", |
| 75 | + "eslint-plugin-jsx-a11y": "^6.7.1", |
| 76 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 77 | + "prettier": "^3.0.0", |
| 78 | + |
50 | 79 | "react-scripts": "5.0.1", |
51 | | - "typescript": "^5.0.4", |
52 | | - "web-vitals": "^3.3.1" |
| 80 | + "typescript": ">=4.7", |
| 81 | + "web-vitals": "^2.1.0", |
| 82 | + |
| 83 | + "@types/google-protobuf": "^3.15.6", |
| 84 | + "patch-package": "^8.0.0", |
| 85 | + "postinstall-postinstall": "^2.1.0", |
| 86 | + "protoc-gen-grpc-web": "^1.4.2" |
53 | 87 | } |
54 | 88 | } |
0 commit comments