forked from typicode/husky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 2.95 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "@chotot/husky",
"version": "4.4.1",
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)",
"bin": {
"husky": "./husky.js",
"husky-run": "./bin/run.js",
"husky-upgrade": "./lib/upgrader/bin.js"
},
"engines": {
"node": ">=10"
},
"scripts": {
"test": "npm run lint && jest",
"_install": "node husky install",
"preuninstall": "node husky uninstall",
"build": "del-cli lib && tsc",
"version": "jest -u && git add -A src/installer/__tests__/__snapshots__",
"postversion": "git push && git push --tags",
"prepublishOnly": "npm run test && npm run build && pinst --enable && pkg-ok",
"postpublish": "pinst --disable",
"lint": "eslint . --ext .js,.ts --ignore-path .gitignore",
"fix": "npm run lint -- --fix",
"doc": "markdown-toc -i README.md"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ChoTotOSS/husky.git"
},
"keywords": [
"git",
"hook",
"hooks",
"pre-commit",
"precommit",
"post-commit",
"postcommit",
"pre-push",
"prepush",
"post-merge",
"postmerge",
"test",
"lint"
],
"author": "Typicode <[email protected]>",
"contributors": [
"Thanh Tran <[email protected]> (https://chotot.com)",
"Ngoc Tin Vo <[email protected]> (https://chotot.com)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/ChoTotOSS/husky/issues"
},
"homepage": "https://github.com/ChoTotOSS/husky#readme",
"dependencies": {
"chalk": "^4.0.0",
"ci-info": "^2.0.0",
"compare-versions": "^3.6.0",
"cosmiconfig": "^7.0.0",
"find-versions": "^4.0.0",
"opencollective-postinstall": "^2.0.3",
"pkg-dir": "^5.0.0",
"please-upgrade-node": "^3.2.0",
"slash": "^3.0.0",
"which-pm-runs": "^1.1.0"
},
"devDependencies": {
"@types/ci-info": "^2.0.0",
"@types/cosmiconfig": "^6.0.0",
"@types/is-ci": "^2.0.0",
"@types/jest": "^29.5.13",
"@types/mkdirp": "^1.0.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"cross-env": "^7.0.3",
"del": "^5.1.0",
"del-cli": "^3.0.1",
"eslint": "^8.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-xo-space": "^0.35.0",
"eslint-plugin-prettier": "^5.2.1",
"formatree": "^1.0.2",
"jest": "^29.7.0",
"markdown-toc": "^1.2.0",
"mkdirp": "^1.0.4",
"pinst": "^2.1.1",
"pkg-ok": "^3.0.0",
"prettier": "^3.3.3",
"tempy": "^0.5.0",
"ts-jest": "^29.2.5",
"type-fest": "^0.13.1",
"typescript": "~5.5.0"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"node_modules",
"__env__.ts"
],
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
]
}
}