-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.34 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.34 KB
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
{
"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 <github@brajkowski.bulc.club>",
"main": "dist/index.mjs",
"engines": {
"node": ">=20.0.0"
},
"packageManager": "yarn@3.3.0",
"bin": {
"branch-commit-msg": "dist/index.mjs",
"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": "node build.mjs",
"check:format": "prettier --check .",
"check:lint": "eslint .",
"check:types": "tsc --noEmit",
"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 --testPathPatterns=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.3.5",
"@eslint/js": "^10.0.1",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.0",
"@types/yargs": "^17.0.35",
"@typescript-eslint/eslint-plugin": "^8.58.1",
"@typescript-eslint/parser": "^8.58.1",
"esbuild": "^0.28.0",
"escape-string-regexp": "^5.0.0",
"eslint": "^10.2.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"jest": "^30.2.0",
"lint-staged": "^16.4.0",
"prettier": "3.8.2",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.3",
"ts-jest": "^29.4.9",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"yargs": "^18.0.0"
}
}