-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.91 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 1.91 KB
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
{
"name": "waw-frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
"@ant-design/icons": "^4.0.0",
"@apollo/client": "^3.4.7",
"@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",
"@types/styled-components": "^5.1.12",
"graphql": "^15.5.1",
"path-parse": "^1.0.7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-helmet-async": "^1.0.9",
"react-hook-form": "^7.12.2",
"react-icons": "^4.2.0",
"react-intersection-observer": "^8.32.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"styled-components": "^5.3.0",
"styled-normalize": "^8.0.7",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "lsof -P -i :3000 |grep LISTEN |awk '{print $2}' |xargs kill -9 & npm run apollo:codegen & react-scripts start",
"apollo:codegen": " rimraf src/__generated__ && apollo client:codegen src/__generated__ --target=typescript --outputFlat",
"build": "react-scripts build",
"s3": "aws s3 sync build/ s3://world-art-works --profile=waw-user",
"invalidate": "aws cloudfront create-invalidation --profile=waw-user --distribution-id E3D5GHC31ROJWV --paths '/*'",
"deploy": "npm run build && npm run s3 && npm run invalidate",
"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"
}
}