Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.71 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.71 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
{
"name": "react-recipes",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^3.1.4",
"react-scripts": "5.0.1",
"styled-components": "^5.3.9",
"typescript": "^4.9.4",
"web-vitals": "^3.3.0"
},
"devDependencies": {
"@cypress/react": "^7.0.3",
"@storybook/addon-a11y": "^6.5.16",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-controls": "^6.5.16",
"@storybook/addon-docs": "^6.5.16",
"@storybook/addon-storysource": "^6.5.16",
"@storybook/addons": "^6.5.16",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/react": "^6.5.16",
"@testing-library/cypress": "^9.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.0",
"@types/node": "^18.16.3",
"@types/react": "^18.0.38",
"@types/react-dom": "^18.2.1",
"@types/styled-components": "^5.1.26",
"cypress": "12.10.0",
"webpack": "^5.104.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 6006 -s .storybook/static",
"build-storybook": "build-storybook -s .storybook/static",
"coverage": "npm run test -- --coverage --watchAll=false",
"e2e": "CYPRESS_retries=3 CYPRESS_coverage=false CYPRESS_integrationFolder=cypress/e2e/ cypress run --browser chrome",
"e2e:watch": "CYPRESS_coverage=false CYPRESS_integrationFolder=cypress/e2e/ cypress open --e2e",
"component": "CYPRESS_retries=3 CYPRESS_coverage=false CYPRESS_integrationFolder=cypress/component/ cypress run --browser chrome",
"component:watch": "CYPRESS_coverage=false CYPRESS_integrationFolder=cypress/component/ cypress open --component"
},
"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"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/",
"!src/**/*.stories.tsx",
"!src/**/index.tsx",
"!src/**/index.ts",
"!src/**/react-app-env.d.ts",
"!src/**/reportWebVitals.ts"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
}
}