/
package.json
67 lines (67 loc) · 1.55 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
{
"name": "eslint-config-ajtp",
"version": "0.0.3",
"description": "ESLint config (Airbnb + Jest + Prettier + Typescript ) ",
"scripts": {
"test": "jest",
"lint": "eslint \"__tests__/**.ts\" --fix",
"commit": "git-cz",
"publish": "npm publish"
},
"main": "index.js",
"repository": "https://github.com/yelingfeng/eslint-config-ajtp.git",
"author": "yelingfeng <yelingfeng521@gmail.com>",
"license": "MIT",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.6.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^23.0.4",
"eslint-plugin-prettier": "^3.1.1"
},
"devDependencies": {
"@types/jest": "^24.0.23",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.6.0",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"ts-jest": "^24.1.0",
"typescript": "^3.7.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,ts,json,md}": [
"prettier --write",
"git add"
],
"*.{js,ts?(x)}": [
"yarn lint & yarn test",
"git add"
]
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"semi": false
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"keywords": [
"eslint",
"airbnb-base",
"typescript",
"prettier",
"jest"
]
}