-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.09 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.09 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
{
"name": "react-simple",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "react-app-rewired build",
"eject": "react-scripts eject",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx .",
"prettier": "prettier --write \"**/*.{js,jsx,css,less,json}\"",
"start": "react-app-rewired start",
"stylelint": "stylelint \"src/**/*.css\" --fix",
"test": "react-app-rewired test"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add --force"
],
"*.{css,less}": [
"stylelint --fix",
"git add --force"
],
"*.{html,json,md}": [
"prettier --write",
"git add --force"
]
},
"browserslist": {
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
],
"production": [
">0.2%",
"not dead",
"not op_mini all"
]
},
"dependencies": {
"normalize.css": "^8.0.1",
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@types/jest": "^24.0.15",
"@types/node": "^12.6.8",
"@types/react": "^16.8.23",
"@types/react-dom": "^16.8.4",
"@typescript-eslint/eslint-plugin": "^1.12.0",
"@typescript-eslint/parser": "^1.12.0",
"babel-plugin-import": "^1.12.0",
"babel-plugin-lodash": "^3.3.4",
"customize-cra": "^0.4.1",
"eslint-config-airbnb": "^17.1.1",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^3.0.1",
"lint-staged": "^9.2.0",
"prettier": "^1.18.2",
"react-app-rewired": "^2.1.3",
"react-scripts": "3.0.1",
"stylelint": "^10.1.0",
"stylelint-config-prettier": "^5.2.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^18.3.0",
"stylelint-order": "^3.0.1",
"stylelint-prettier": "^1.1.1",
"typescript": "^3.5.3"
}
}