-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.44 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
{
"name": "eslint-config-forme",
"description": "Custom ESLint configurations",
"author": "Junn",
"license": "MIT",
"version": "1.0.3",
"homepage": "https://github.com/socker210/eslint-config-forme",
"keywords": [
"eslint",
"eslintconfig"
],
"files": [
"index.js",
"base.js",
"react.js",
"typescript.js",
"typescript-react.js",
"configs/",
"utils/"
],
"scripts": {
"test": "jest",
"test:watch": "pnpm test -- --watch",
"lint": "eslint .",
"lint:fix": "pnpm lint -- --fix",
"prettier": "prettier --check .",
"prettier:fix": "prettier --write .",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.js": [
"pnpm test -- --findRelatedTests",
"pnpm lint:fix",
"pnpm prettier:fix",
"git add ."
]
},
"peerDependencies": {
"eslint": ">=7",
"jest": ">=27",
"prettier": ">=2"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^15.12.0",
"eslint": "^7.27.0",
"husky": "^6.0.0",
"jest": "^27.0.4",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0"
}
}