-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
78 lines (78 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
{
"name": "@gravity-ui/eslint-config",
"version": "3.1.1",
"description": "Gravity UI ESLint config, following our styleguide",
"keywords": [
"eslint",
"config"
],
"license": "MIT",
"main": "index.js",
"files": [
"a11y.js",
"base.js",
"client.js",
"react.js",
"server.js",
"prettier.js",
"constants.js",
"import-order.js"
],
"repository": {
"type": "git",
"url": "https://github.com/gravity-ui/eslint-config"
},
"bugs": {
"url": "https://github.com/gravity-ui/eslint-config/issues"
},
"homepage": "https://github.com/gravity-ui/eslint-config#readme",
"scripts": {
"prepare": "husky install",
"test": "echo \"Error: no test specified\" && exit 0",
"lint": "npm run lint:js && npm run lint:other",
"lint:js": "eslint . --report-unused-disable-directives",
"lint:other": "npm run prettier -- --check",
"prettier": "prettier '**/*.{md,yaml,yml,json}'"
},
"dependencies": {
"@babel/core": "^7.24.4",
"@babel/eslint-parser": "^7.24.1",
"@babel/preset-react": "^7.24.1",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-security": "^1.7.1"
},
"devDependencies": {
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@gravity-ui/prettier-config": "^1.1.0",
"eslint": "^8.57.0",
"husky": "^8.0.3",
"nano-staged": "^0.8.0",
"prettier": "^3.2.5"
},
"peerDependencies": {
"eslint": "^8.0.0",
"prettier": "^3.0.0"
},
"peerDependenciesMeta": {
"prettier": {
"optional": true
}
},
"nano-staged": {
"*.{js,ts}": [
"eslint --fix --quiet --report-unused-disable-directives"
],
"*.{md,yaml,yml,json}": [
"prettier --write"
]
}
}