-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
88 lines (88 loc) · 2.06 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
{
"name": "react-winamp",
"version": "0.1.0",
"private": true,
"author": "Pavel Puchkov <[email protected]>",
"homepage": "https://0x6368656174.github.io/react-winamp",
"dependencies": {
"@reduxjs/toolkit": "^1.4.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/jest": "^24.0.0",
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/react-redux": "^7.1.9",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"lint-staged": "^10.3.0",
"prettier": "^2.1.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-redux": "^7.2.1",
"react-scripts": "3.4.3",
"stylelint": "^13.7.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-order": "^4.1.0",
"typescript": "~3.7.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"prettier": {
"singleQuote": true,
"printWidth": 100
},
"eslintConfig": {
"plugins": [
"prettier"
],
"extends": [
"react-app",
"plugin:prettier/recommended"
]
},
"stylelint": {
"plugins": [
"stylelint-order"
],
"extends": "stylelint-config-standard",
"rules": {
"order/properties-alphabetical-order": true
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,scss}": [
"stylelint --fix",
"prettier --write --ignore-unknown"
],
"*.{ts,js,tsx}": [
"eslint --fix",
"prettier --write --ignore-unknown"
],
"*.{json,html,md}": "prettier --write --ignore-unknown",
"*.png": "optipng -strip all -o4"
}
}