-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.39 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
{
"name": "branch-commit-msg",
"description": "A git commit-msg hook that automatically inserts a matched pattern from the active branch name to the commit message.",
"license": "MIT",
"author": "Brandon Rajkowski <[email protected]>",
"main": "dist/index.js",
"engines": {
"node": ">=14.0.0"
},
"packageManager": "[email protected]",
"bin": {
"branch-commit-msg": "dist/index.js",
"branch-commit-msg-hook": "dist/commit-msg"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/brajkowski/branch-commit-msg.git"
},
"keywords": [
"git",
"hook",
"message",
"commit",
"branch",
"commit-message",
"commit-msg"
],
"scripts": {
"build": "rimraf dist && yarn bundle:hook && yarn bundle:index",
"bundle:hook": "esbuild src/commit-msg-hook.ts --bundle --minify --platform=node --packages=bundle --outfile=dist/commit-msg",
"bundle:index": "esbuild src/index.ts --bundle --minify --platform=node --packages=bundle --outfile=dist/index.js",
"check:format": "prettier --check .",
"check:lint": "eslint .",
"test": "yarn test:unit && yarn test:integration && yarn test:e2e",
"test:coverage": "yarn test:unit --coverage && yarn test:integration --coverage && yarn test:e2e --coverage",
"test:unit": "jest --testPathPattern=unit --config test/config/jest.config.unit.ts",
"test:integration": "ts-node test/integration/index.ts --config test/config/jest.config.integration.ts",
"test:e2e": "yarn build && ts-node test/e2e/index.ts --config test/config/jest.config.e2e.ts",
"test:smoke": "ts-node test/smoke/index.ts --config test/config/jest.config.smoke.ts",
"postpublish": "yarn test:smoke",
"prepare": "husky"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@types/jest": "^29.5.14",
"@types/node": "^20.0.0",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"esbuild": "^0.24.2",
"escape-string-regexp": "^5.0.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.3.0",
"prettier": "3.4.2",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.7.3",
"yargs": "^17.7.2"
}
}