-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.5 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
{
"name": "@arlex/prettier-config-base",
"version": "1.0.1",
"description": "rules for prettier arlex's project.",
"main": "index.js",
"scripts": {
"configpath": "npx prettier --find-config-path ./",
"test": "npx prettier --check --config .prettierrc.js ./test",
"test:fix": "npx prettier --write --config .prettierrc.js ./test",
"prettier": "npx prettier --check --config .prettierrc.js ./",
"prettier:fix": "npx prettier --write --config .prettierrc.js ./",
"lint:fix": "npx eslint --no-eslintrc -c .eslintrc.js --ext js,vue --fix ./"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zhoutengjiao/prettier-config-base.git"
},
"keywords": [
"prettier",
"arlex"
],
"author": "zhoutengjiao",
"license": "ISC",
"bugs": {
"url": "https://github.com/zhoutengjiao/prettier-config-base/issues"
},
"homepage": "https://github.com/zhoutengjiao/prettier-config-base#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"{src,test}/**/*.{js, vue}": [
"npm run lint:fix",
"prettier --write"
],
"index.js": [
"npm run lint:fix",
"prettier --write"
]
},
"devDependencies": {
"@arlex/eslint-config-base": "^1.0.3",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"eslint": "^6.8.0",
"lint-staged": "^10.5.1",
"husky": "^4.3.0",
"prettier": "^2.0.1"
}
}