-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
63 lines (63 loc) · 1.35 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
{
"name": "react-css-transition-replace",
"version": "5.0.1",
"private": true,
"authors": "Marnus Weststrate <[email protected]>",
"license": "MIT",
"scripts": {
"start": "cd packages/demo && npm run start",
"test": "echo \"No test implemented\" && exit 0",
"lint": "eslint .",
"prettier": "prettier . --write"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"babel-eslint": "^10.1.0",
"eslint": "^7.18.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint"
],
"*.{js,json,scss,css,md}": [
"prettier --write"
]
},
"eslintConfig": {
"extends": "react-app",
"rules": {
"no-console": "warn",
"no-duplicate-imports": "error",
"no-unused-vars": "error",
"yoda": [
"error",
"never",
{
"exceptRange": true
}
]
}
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
}