-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 3.12 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
{
"name": "react-shaper-demo",
"description": "React Shaper Demo",
"version": "0.1.0",
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": ""
},
"scripts": {
"build": "react-scripts build",
"build-storybook": "build-storybook -s public",
"cypress": "cypress open",
"eject": "react-scripts eject",
"format": "prettier --write README.md \"src/**/{*.md,*.json,*.css,*.ts*}\" \"cypress/integration/**/*\"",
"lint": "eslint src",
"prepare": "husky install",
"start": "react-scripts start",
"storybook": "start-storybook -p 6006 -s public",
"test": "npm run lint && npm run test:coverage",
"test:coverage": "react-scripts test --coverage --watchAll=false",
"test:update": "react-scripts test --watchAll=false --updateSnapshot",
"test:watch": "react-scripts test"
},
"dependencies": {
"history": "^5.3.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-router-dom": "^6.3.0",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@babel/runtime": "^7.18.3",
"@mdx-js/react": "^1.6.22",
"@storybook/addon-a11y": "^6.5.6",
"@storybook/addon-actions": "^6.5.6",
"@storybook/addon-essentials": "^6.5.6",
"@storybook/addon-interactions": "^6.5.6",
"@storybook/addon-links": "^6.5.6",
"@storybook/builder-webpack5": "^6.5.6",
"@storybook/manager-webpack5": "^6.5.6",
"@storybook/node-logger": "^6.5.6",
"@storybook/react": "^6.5.6",
"@storybook/testing-library": "^0.0.11",
"@testing-library/dom": "^8.13.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.0",
"@types/jest": "^28.1.0",
"@types/node": "^17.0.39",
"@types/react": "^18.0.11",
"@types/react-dom": "^18.0.5",
"cypress": "^10.0.2",
"husky": "^8.0.1",
"lint-staged": "^13.0.0",
"msw": "^0.42.0",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"react-scripts": "5.0.1",
"typescript": "^4.7.3"
},
"overrides": {
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-refresh": "0.13.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json}": "prettier --write"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {},
"overrides": [
{
"files": [
"**/*.ts?(x)"
],
"rules": {
"@typescript-eslint/no-unused-vars": "error"
}
}
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.stories.{js,jsx,ts,tsx}",
"!src/mocks/**",
"!src/stories/**",
"!src/test/**",
"!src/index.tsx",
"!src/reportWebVitals.ts"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
},
"msw": {
"workerDirectory": "public"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}