-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
62 lines (62 loc) · 2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "stressfura",
"version": "0.1.0",
"private": true,
"proxy": "http://localhost:3001",
"dependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^13.5.0",
"@types/body-parser": "^1.19.2",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.1",
"@types/node": "^16.11.31",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.0",
"body-parser": "^1.20.0",
"concurrently": "^7.1.0",
"express": "^4.18.0",
"nodemon": "^2.0.15",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-hook-form": "^7.30.0",
"react-router-dom": "6",
"react-scripts": "5.0.1",
"ts-loader": "^9.2.9",
"typescript": "^4.6.3",
"wait-on": "^6.0.1",
"web-vitals": "^2.1.4",
"webpack-cli": "^4.9.2",
"webpack-node-externals": "^3.0.0"
},
"scripts": {
"test": "react-scripts test",
"eject": "react-scripts eject",
"dev": "concurrently -p name -c \"yellow,magenta,blue\" -n \"webpack-server,nodemon-server,CRA\" \"yarn dev:server:webpack\" \"yarn dev:server:nodemon\" \"yarn dev:client\"",
"dev:client": "wait-on -l tcp:3001 && react-scripts start",
"dev:server": "concurrently -p name -c \"yellow,magenta\" -n \"webpack-server,nodemon-server\" \"yarn dev:server:webpack\" \"yarn dev:server:nodemon\"",
"dev:server:webpack": "webpack --config webpack.config.server.js --watch",
"dev:server:nodemon": "rm -f build/server.js && wait-on -l build/server.js && nodemon build/server.js",
"build": "yarn build:client && yarn build:backend",
"build:client": "react-scripts build",
"build:server": "webpack --config webpack.config.server.js"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}