-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
48 lines (48 loc) · 1.41 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
{
"name": "dark-theme-editor",
"version": "3.2.2",
"description": "[![Example Site](https://github.com/JingWangTW/dark-theme-editor/actions/workflows/hugo.yml/badge.svg)](https://github.com/JingWangTW/dark-theme-editor/actions/workflows/hugo.yml)",
"main": "index.js",
"scripts": {
"format:check": "prettier --check .",
"format:write": "prettier --write .",
"lint": "eslint . --ext .js,.json --quiet",
"lint:fix": "eslint . --ext .js,.json --fix",
"precommit": "lint-staged",
"commit": "git-cz"
},
"author": "Jing Wang",
"license": "Apache 2.0",
"devDependencies": {
"commitlint": "^17.5.0",
"eslint": "^8.36.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-json": "^3.1.0",
"git-cz": "^4.9.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^2.8.5",
"prettier-plugin-go-template": "^0.0.13"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"eslint --fix",
"eslint"
],
"*.{css,html}": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}