|
7 | 7 | "@testing-library/jest-dom": "^4.2.4",
|
8 | 8 | "@testing-library/react": "^9.3.2",
|
9 | 9 | "@testing-library/user-event": "^7.1.2",
|
| 10 | + "axios": "^0.19.2", |
| 11 | + "concurrently": "^5.3.0", |
10 | 12 | "dynamodb-toolbox": "^0.2.0-beta.1",
|
| 13 | + "http-proxy-middleware": "^1.0.5", |
11 | 14 | "react": "^16.13.1",
|
12 | 15 | "react-dom": "^16.13.1",
|
13 | 16 | "react-router-dom": "^5.2.0",
|
|
17 | 20 | "serverless-cloudside-plugin": "^1.0.3",
|
18 | 21 | "serverless-esbuild": "^1.4.0",
|
19 | 22 | "serverless-export-outputs": "^1.0.2",
|
20 |
| - "serverless-offline": "^6.5.0" |
| 23 | + "serverless-offline": "^6.5.0", |
| 24 | + "swr": "^0.3.0" |
21 | 25 | },
|
22 | 26 | "scripts": {
|
23 | 27 | "test": "react-scripts test",
|
24 | 28 | "eject": "react-scripts eject",
|
| 29 | + "start": "concurrently --kill-others 'npm run serverless:start' 'npm run watch:css && REACT_APP_CONNECT=http://localhost:4000 react-scripts start'", |
| 30 | + "serverless:start": "serverless offline start --noPrependStageInUrl --ignoreJWTSignature --httpPort 4000", |
25 | 31 | "build:css": "NODE_ENV=production postcss src/assets/tailwind.css -o src/assets/main.css",
|
26 | 32 | "watch:css": "postcss src/assets/tailwind.css -o src/assets/main.css",
|
27 | 33 | "website:start": "npm run watch:css && react-scripts start",
|
|
0 commit comments