-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.34 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
{
"name": "cra-template",
"version": "0.1.0",
"private": true,
"packageManager": "yarn@1.22.17",
"dependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.13",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"clsx": "^1.1.1",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"styled-components": "^5.3.3",
"typescript": "^4.4.2",
"web-vitals": "^2.1.0"
},
"scripts": {
"lint": "eslint . --fix --ext .ts,.tsx,.js,.jsx",
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test --watchAll=false",
"test:staged": "react-app-rewired test --bail --watchAll=false --findRelatedTests",
"test:watch": "react-app-rewired test",
"eject": "react-app-rewired eject",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"husky:prepare": "husky install",
"husky:precommit": "yarn lint-staged"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"<rootDir>/src/config/reportWebVitals.ts",
"<rootDir>/src/index.tsx",
".style.ts",
".style.tsx",
".stories.ts",
".stories.tsx",
".story.ts",
".story.tsx"
],
"setupFilesAfterEnv": [
"<rootDir>/src/config/setupTests.ts"
],
"moduleNameMapper": {
"@/(.*)": "<rootDir>/src/$1"
}
},
"devDependencies": {
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-essentials": "^6.5.12",
"@storybook/addon-interactions": "^6.5.12",
"@storybook/addon-links": "^6.5.12",
"@storybook/builder-webpack5": "^6.5.12",
"@storybook/manager-webpack5": "^6.5.12",
"@storybook/node-logger": "^6.5.12",
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/react": "^6.5.12",
"@storybook/testing-library": "^0.0.13",
"@types/lodash": "^4.14.178",
"@types/styled-components": "^5.1.23",
"@types/webpack": "5",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"babel-eslint": "^10.1.0",
"babel-plugin-named-exports-order": "^0.0.2",
"csstype": "^3.0.10",
"eslint": "^8.9.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.4.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.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-storybook": "^0.6.4",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.5.1",
"prop-types": "^15.8.1",
"react-app-rewired": "^2.2.1",
"sass": "^1.49.8",
"storybook": "^6.5.11",
"tsconfig-paths-webpack-plugin": "^3.5.2",
"webpack": "^5.74.0"
},
"lint-staged": {
"**/*.{ts,tsx,js,jsx}": [
"yarn lint",
"yarn test:staged"
]
}
}