-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
101 lines (101 loc) · 3.04 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
{
"name": "cra-starter",
"version": "0.1.2",
"private": true,
"dependencies": {
"@types/jest": "^24.0.23",
"@types/node": "12.12.14",
"@types/react": "16.9.13",
"@types/react-dom": "16.9.4",
"classnames": "^2.2.6",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-hot-loader": "^4.12.18",
"react-loadable": "^5.5.0",
"react-router-dom": "^5.1.2",
"react-scripts": "3.2.0",
"typescript": "3.7.2"
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-app-rewired eject",
"coverage": "yarn run test --coverage",
"lint:ts": "tsc && eslint 'src/**/*.{ts,tsx}'",
"lint:css": "stylelint --syntax scss 'src/**/*.scss'",
"lint": "yarn run lint:ts && yarn run lint:css",
"format:ts": "prettier --write 'src/**/*.{ts,tsx}' && eslint --fix 'src/**/*.{ts,tsx}'",
"format:css": "prettier-stylelint --quiet --write 'src/**/*.scss'",
"format": "yarn run format:ts && yarn run format:css",
"format:check": "prettier -c 'src/**/*.{ts,tsx}'",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public",
"deploy": "sh deploy.sh"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@atolye15/eslint-config": "^1.1.1",
"@atolye15/stylelint-config": "^1.3.0",
"@babel/core": "^7.7.4",
"@hot-loader/react-dom": "^16.11.0",
"@storybook/addon-actions": "^5.2.6",
"@storybook/addon-info": "^5.2.6",
"@storybook/addon-links": "^5.2.6",
"@storybook/addons": "^5.2.6",
"@storybook/react": "^5.2.6",
"@storybook/theming": "^5.2.6",
"@types/classnames": "^2.2.9",
"@types/enzyme": "^3.10.3",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/react-loadable": "^5.5.1",
"@types/react-router-dom": "^5.1.3",
"@typescript-eslint/eslint-plugin": "^2.9.0",
"@typescript-eslint/parser": "^2.9.0",
"babel-loader": "^8.0.5",
"customize-cra": "^0.9.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"enzyme-to-json": "^3.4.3",
"eslint": "6.7.1",
"node-sass": "^4.13.0",
"prettier": "^1.19.1",
"prettier-stylelint": "^0.4.2",
"react-app-rewired": "^2.1.5",
"react-docgen-typescript-loader": "^3.6.0",
"react-test-renderer": "^16.12.0",
"stylelint": "^12.0.0",
"stylelint-config-prettier": "^7.0.0",
"stylelint-prettier": "^1.1.1",
"surge": "^0.21.3"
},
"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}",
"!src/routes/**/index.{ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
}
}