-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
95 lines (95 loc) · 2.74 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "react-food-delivery",
"version": "0.1.0",
"private": true,
"dependencies": {
"@apollo/client": "^3.5.10",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.1",
"@types/node": "^16.11.26",
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.13",
"cypress": "^9.5.3",
"graphql": "^16.3.0",
"mapbox-gl": "^2.8.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet-async": "^1.2.3",
"react-hook-form": "^7.28.0",
"react-mapbox-gl": "^5.1.1",
"react-router-dom": "^6.2.2",
"react-scripts": "5.0.0",
"subscriptions-transport-ws": "^0.11.0",
"typescript": "^4.6.2",
"victory": "^36.3.1",
"web-vitals": "^2.1.4"
},
"scripts": {
"apollo:codegen": "rm -rf src/types && apollo client:codegen src/types --target=typescript --outputFlat",
"build": "react-scripts build",
"eject": "react-scripts eject",
"format": "prettier --write \"src/**/*.+(js|jsx|ts|tsx|json|css|scss|gql|graphql)\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"prepare": "husky install",
"start": "react-scripts start",
"test": "react-scripts test --verbose",
"test:coverage": "yarn test --coverage --watchAll=false",
"typecheck": "tsc -b"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"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": {
"@testing-library/cypress": "^8.0.2",
"@types/react-helmet": "^6.1.5",
"@typescript-eslint/parser": "^5.15.0",
"apollo": "^2.33.9",
"autoprefixer": "^10.4.4",
"concurrently": "^7.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"husky": "^7.0.4",
"import-sort-parser-typescript": "^6.0.0",
"lint-staged": "^12.3.7",
"mock-apollo-client": "^1.2.0",
"postcss": "^8.4.12",
"prettier": "^2.6.0",
"prettier-plugin-tailwindcss": "^0.1.8",
"tailwindcss": "^3.0.23"
},
"jest": {
"collectCoverageFrom": [
"./src/app.tsx",
"./src/components/**/*.{js,jsx,ts,tsx}",
"./src/pages/**/*.{js,jsx,ts,tsx}",
"./src/routers/**/*.{js,jsx,ts,tsx}"
]
}
}