-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
111 lines (111 loc) · 3.4 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
{
"name": "facebook-clone",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/classnames": "^2.2.10",
"@types/jest": "^24.0.0",
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"classnames": "^2.2.6",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-hot-loader": "^4.12.21",
"react-loadable": "^5.5.0",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.3",
"typescript": "~3.7.2"
},
"scripts": {
"start": "react-app-rewired start",
"build": "npm run build-storybook && react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-app-rewired eject",
"format:check": "prettier -c \"src/**/*.{ts,tsx}\"",
"format:ts": "prettier --write \"src/**/*.{ts,tsx}\" && yarn lint:eslint --fix",
"format:css": "stylelint --fix --syntax scss \"src/**/*.scss\"",
"format": "yarn run format:ts && yarn run format:css",
"lint:ts": "tsc && yarn lint:eslint",
"lint:css": "stylelint --syntax scss \"src/**/*.scss\"",
"lint": "yarn run lint:ts && yarn run lint:css",
"lint:eslint": "eslint \"src/**/*.{ts,tsx}\"",
"coverage": "yarn run test --coverage",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -o public/ui",
"icon": "svgr src/icons -d src/components/Icons --icon --replace-attr-values \"#B0B3B8=currentColor\" --typescript"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@atolye15/eslint-config": "^1.1.1",
"@atolye15/stylelint-config": "^1.3.0",
"@babel/core": "^7.11.1",
"@hot-loader/react-dom": "^16.13.0",
"@storybook/addon-actions": "^6.0.10",
"@storybook/addon-essentials": "^6.0.10",
"@storybook/addon-info": "^5.3.19",
"@storybook/addon-links": "^6.0.10",
"@storybook/react": "^6.0.10",
"@svgr/cli": "^5.4.0",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/react-loadable": "^5.5.3",
"@types/react-router-dom": "^5.1.5",
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
"css-loader": "^4.2.1",
"customize-cra": "^1.0.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.3",
"enzyme-to-json": "^3.5.0",
"eslint": "^7.7.0",
"node-sass": "^4.14.1",
"prettier": "^2.0.5",
"react-app-rewired": "^2.1.6",
"react-docgen-typescript-loader": "^3.7.2",
"react-is": "^16.13.1",
"react-test-renderer": "^16.13.1",
"sass-loader": "^9.0.3",
"style-loader": "^1.2.1",
"stylelint": "^13.6.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-prettier": "^1.1.2"
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/index.tsx",
"!src/setupTests.ts",
"!src/components/**/index.{ts,tsx}",
"!src/components/**/*.stories.{ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
}
}