-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
146 lines (146 loc) · 4.16 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "jpal-frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
"@aws-amplify/ui": "^2.0.3",
"@aws-amplify/ui-components": "^1.7.1",
"@aws-amplify/ui-react": "^1.2.16",
"@chakra-ui/icons": "^1.0.16",
"@chakra-ui/react": "^1.6.8",
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.0.0",
"@sentry/react": "^6.11.0",
"@sentry/tracing": "^6.13.2",
"@testing-library/jest-dom": "^5.9.0",
"@testing-library/react": "^12.1.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^25.0.0",
"@types/node": "^12.0.0",
"@types/react": "^17.0.24",
"@types/react-dom": "^17.0.9",
"@xstate/react": "^1.6.1",
"aws-amplify": "^4.2.10",
"axios": "^0.21.1",
"class-validator": "^0.13.1",
"formik": "^2.2.9",
"framer-motion": "^4.0.0",
"history": "^4.10.1",
"pupa-browser": "^1.0.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-icons": "^4.2.0",
"react-query": "^3.24.3",
"react-router-dom": "^6.2.1",
"react-scripts": "4.0.3",
"web-vitals": "^0.2.2",
"xstate": "^4.25.0",
"zod": "^3.12.0"
},
"scripts": {
"start": "react-scripts start",
"start:ci": "CHOKIDAR_USEPOLLING=1 npm start",
"build": "react-scripts build",
"test": "react-scripts test --silent",
"test:debug": "react-scripts test",
"test:unit": "react-scripts test --silent",
"test:e2e": "cypress run",
"eject": "react-scripts eject",
"format:check": "prettier --check src/**/*.{js,ts,tsx}",
"format": "prettier --write src/**/*.{js,ts,tsx}",
"lint:check": "eslint . --ext .ts,.tsx",
"lint": "eslint . --ext .ts,.tsx --fix",
"tsc": "tsc --project tsconfig.json",
"prepush": "npm run format:check && npm run tsc && npm run lint:check",
"prepush:fix": "npm run format && npm run tsc && npm run lint",
"open:e2e": "cypress open",
"open:unit": "cypress open-ct",
"cy:run": "cypress run",
"cy:ci": "start-server-and-test start http://localhost:3000 cy:run",
"test:pact": "cross-env CI=true react-scripts test --runInBand --setupFiles='./pact/setup.js' --setupFilesAfterEnv='./pact/jest-wrapper.js' --testMatch \"**/*.test.pact.js\""
},
"eslintConfig": {
"extends": [
"react-app",
"airbnb-typescript",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:cypress/recommended"
],
"parserOptions": {
"project": [
"./tsconfig.json",
"./cypress/tsconfig.json"
]
},
"rules": {
"react/prop-types": "off",
"react/require-default-props": "off"
},
"overrides": [
{
"files": [
"**/*.ts?(x)"
],
"rules": {}
}
]
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"semi": true
},
"jest": {
"clearMocks": true
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@pact-foundation/pact": "^9.16.1",
"@pact-foundation/pact-node": "^10.12.2",
"@types/faker": "^5.5.9",
"@types/history": "^4.7.9",
"@types/react-router-dom": "^5.1.9",
"@types/testing-library__jest-dom": "^5.14.1",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"cross-env": "^7.0.3",
"cypress": "^8.4.1",
"dotenv": "^10.0.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0",
"faker": "^5.5.3",
"husky": "^7.0.2",
"lint-staged": "^11.0.1",
"nock": "^13.1.3",
"prettier": "^2.3.2",
"start-server-and-test": "^1.14.0",
"typescript": "^4.4.3"
},
"optionalDependencies": {
"fsevents": "^2.3.2"
}
}