-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.28 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": "my-automation-site",
"version": "1.0.0",
"type": "module",
"main": "./index.html",
"author": {
"email": "[email protected]",
"name": "Muhammad Hammad Faisal"
},
"scripts": {
"eslint:check": "eslint .",
"eslint:fix": "eslint . --fix",
"prettier:check": "prettier --check .",
"prettier:write": "prettier --write .",
"proof": "git rev-parse HEAD | cowsay -r",
"build": "npm-run-all prettier:check eslint:check proof",
"prepare": "husky && husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint --edit $1"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"*.html": [
"prettier --write"
],
"*.css": [
"prettier --write"
]
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/js": "^9.19.0",
"cowsay": "^1.6.0",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-css": "^0.11.0",
"eslint-plugin-html": "^8.1.2",
"eslint-plugin-prettier": "^5.2.3",
"globals": "^15.14.0",
"husky": "^8.0.0",
"lint-staged": "^15.4.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2"
}
}