-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.78 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
63
64
{
"name": "auth0-cra-with-server",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"body-parser": "^1.19.0",
"connect-redis": "^6.0.0",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"csurf": "^1.11.0",
"dotenv": "^10.0.0",
"ejs": "^3.1.6",
"express": "^4.17.1",
"express-session": "^1.17.2",
"jwt-decode": "^3.1.2",
"morgan": "^1.10.0",
"node-fetch": "^2.6.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.3.0",
"react-scripts": "4.0.3",
"redis": "^3.1.2",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"scripts": {
"dev": "react-scripts start",
"start": "node server/server.js",
"build": "react-scripts build && yarn run move-folder && yarn run rename-index && yarn run insert-csrf-tag",
"move-folder": "rm -rf ./server/build/* && cp -pr build/* ./server/build",
"rename-index": "mv ./server/build/index.html ./server/build/index.ejs",
"insert-csrf-tag": "echo '<script>window.csrfToken = \"<%= csrfToken %>\";</script>' >> ./server/build/index.ejs",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"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"
]
},
"devDependencies": {
"@types/react-router-dom": "^5.1.8"
}
}