-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.78 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
{
"name": "new-project",
"version": "0.1.0",
"private": true,
"dependencies": {
"@types/jest": "24.0.20",
"@types/node": "12.11.7",
"@types/react": "16.9.11",
"@types/react-dom": "16.9.3",
"babel-polyfill": "^6.26.0",
"promise-sequential": "^1.1.1",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-router5": "^7.1.0",
"react-scripts": "3.2.0",
"router5": "^7.0.2",
"router5-helpers": "^7.0.1",
"router5-plugin-browser": "^7.0.2",
"router5-plugin-logger": "^7.0.2",
"typescript": "3.6.4"
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-app-rewired eject",
"lint-scripts": "eslint . --ext .ts,.js,.tsx",
"lint-scripts-fix": "eslint . --ext .ts,.js,.tsx --fix",
"lint-styles": "stylelint \"src/**/*.{css,less,styl,scss,sass,sss}\"",
"lint-styles-fix": "stylelint \"src/**/*.{css,less,styl,scss,sass,sss}\" --fix",
"lint": "npm run lint-scripts && npm run lint-styles",
"lint-fix": "npm run lint-scripts-fix && npm run lint-styles-fix",
"update": "npx npm-check -u"
},
"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": {
"@typescript-eslint/eslint-plugin": "^2.5.0",
"@typescript-eslint/parser": "^2.5.0",
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.5.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-loader": "^3.0.2",
"eslint-plugin-css-modules": "^2.11.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.2.0",
"husky": "^3.0.9",
"lint-staged": "^8.1.5",
"prettier": "^1.18.2",
"react-app-rewired": "^2.1.4",
"stylelint": "^11.1.1",
"stylelint-config-recommended-scss": "^4.0.0",
"stylelint-config-standard": "^19.0.0",
"stylelint-order": "^3.1.1",
"stylelint-scss": "^3.12.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.{ts,tsx,js}": [
"node_modules/.bin/eslint --ext .ts,.js,.tsx --fix",
"node_modules/.bin/eslint --ext .ts,.js,.tsx --max-warnings=0",
"git add"
],
"*.scss": [
"node_modules/.bin/stylelint --fix",
"git add"
]
},
"ignore": [
".eslintrc.js",
".stylelintrc.js",
"config-overrides.js"
]
}
}