-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
52 lines (52 loc) · 1.37 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
{
"name": "react-csr-ssr-recaptcha-example",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "4.2.4",
"@testing-library/react": "9.3.2",
"@testing-library/user-event": "7.1.2",
"@types/jest": "24.0.0",
"@types/node": "12.0.0",
"@types/react": "16.9.0",
"@types/react-dom": "16.9.0",
"cors": "2.8.5",
"express": "4.17.1",
"next": "9.5.0",
"node-fetch": "2.6.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-scripts": "3.4.1",
"typescript": "~3.7.2"
},
"scripts": {
"start:csr": "PORT=3001 REACT_APP_RECAPTCHA_SITE_KEY=$RECAPTCHA_SITE_KEY yarn csr:start",
"csr:start": "react-scripts start",
"csr:build": "react-scripts build",
"csr:test": "react-scripts test",
"csr:eject": "react-scripts eject",
"start:ssr": "NEXT_PUBLIC_RECAPTCHA_SITE_KEY=$RECAPTCHA_SITE_KEY next -p 3002",
"start:backend": "BACKEND_PORT=3005 node ./backend/index.js",
"test": "jest --watch"
},
"eslintConfig": {
"extends": "react-app"
},
"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/supertest": "2.0.10",
"nock": "^13.0.4",
"supertest": "5.0.0"
}
}