-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.38 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 3.38 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "frontend",
"version": "0.1.0",
"private": true,
"scripts": {
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx",
"fmt": "yarn run prettier --write \"src/*.{tsx,ts}\" \"src/**/*.{tsx,ts}\"",
"start": "export REACT_APP_VERSION='dev' && craco start",
"start-react-scripts": "export REACT_APP_VERSION='dev' && react-scripts start",
"build": "export REACT_APP_VERSION=$(git rev-parse --short HEAD) && craco build",
"build-react-scripts": "export REACT_APP_VERSION=$(git rev-parse --short HEAD) && react-scripts build",
"test": "craco test",
"test:debug": "craco --inspect-brk test --runInBand --no-cache",
"test-react-scripts": "react-scripts test",
"eject": "react-scripts eject",
"ci": "yarn fmt && yarn lint && yarn test",
"storybook": "start-storybook -p 6006 -s public,devPublic",
"build-storybook": "build-storybook -s public,devPublic",
"codegen:graphql": "graphql-codegen --config codegen.yml && yarn fmt"
},
"dependencies": {
"@apollo/client": "^3.5.5",
"@emotion/react": "^11.6.0",
"@emotion/styled": "^11.6.0",
"@mui/icons-material": "^5.1.1",
"@mui/lab": "^5.0.0-alpha.58",
"@mui/material": "^5.1.1",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@trivago/prettier-plugin-sort-imports": "^3.1.1",
"@types/jest": "^27.0.2",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"apollo-upload-client": "^16.0.0",
"date-fns": "^2.26.0",
"formik": "^2.2.9",
"formik-wizard-form": "^2.0.1",
"graphql": "^16.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^6.0.2",
"react-scripts": "4.0.3",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1",
"yup": "^0.32.11"
},
"devDependencies": {
"@craco/craco": "^6.4.0",
"@graphql-codegen/cli": "2.3.0",
"@graphql-codegen/introspection": "2.1.0",
"@graphql-codegen/schema-ast": "^2.4.0",
"@graphql-codegen/typescript": "2.4.1",
"@graphql-codegen/typescript-operations": "2.2.1",
"@graphql-codegen/typescript-react-apollo": "3.2.2",
"@types/apollo-upload-client": "^14.1.0",
"@types/react-router-dom": "^5.3.2",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"craco-esbuild": "^0.4.2",
"esbuild": "^0.13.14",
"eslint": "7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"prettier": "^2.4.1"
},
"resolutions": {
"babel-loader": "8.1.0"
},
"eslintConfig": {
"extends": [
"react-app",
"prettier",
"plugin:jsx-a11y/recommended"
],
"plugins": [
"jsx-a11y"
],
"rules": {
"jsx-a11y/alt-text": "warn",
"jsx-a11y/aria-role": "warn",
"jsx-a11y/media-has-caption": "off",
"jsx-a11y/no-autofocus": "warn",
"jsx-a11y/no-onchange": "off",
"jsx-a11y/accessible-emoji": "warn"
},
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}