forked from bk201-/jira-prepare-commit-msg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.81 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
{
"name": "jira-prepare-commit-msg",
"version": "1.7.2",
"description": "Husky Git hook to add JIRA ticket ID into the commit message",
"author": "Dmitry Shilov",
"bin": "./bin/index.js",
"keywords": [
"husky",
"jira",
"hook",
"hooks",
"prepare",
"commit",
"message",
"msg"
],
"homepage": "https://github.com/bk201-/jira-prepare-commit-msg",
"bugs": "https://github.com/bk201-/jira-prepare-commit-msg/issues",
"repository": {
"type": "git",
"url": "https://github.com/bk201-/jira-prepare-commit-msg"
},
"license": "MIT",
"dependencies": {
"cosmiconfig": "^8.0.0"
},
"devDependencies": {
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^5.48.1",
"ava": "^5.1.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-semistandard": "^17.0.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"engines": {
"node": ">=14"
},
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"scripts": {
"clean": "rimraf -- ./bin/",
"compile": "npm run clean && npm run tsc",
"eslint": "eslint --ext .js --ext .ts src/",
"eslint:fix": "eslint --ext .js --ext .ts src/ --fix",
"prettier": "prettier --parser typescript --write \"src/**/*.ts\"",
"tsc": "tsc -p ./",
"prepare:husky:2": "cd ./test/husky2 && git init && git checkout -b JIRA-4321-test-husky2 && npm i",
"prepare:husky:3": "cd ./test/husky3 && git init && git checkout -b JIRA-4321-test-husky3 && npm i",
"prepare:husky:4": "cd ./test/husky4 && git init && git checkout -b JIRA-4321-test-husky4 && npm i",
"prepare:husky:5": "cd ./test/husky5 && git init && git checkout -b JIRA-4321-test-husky5 && npm i",
"cleanup:husky:2": "cd ./test/husky2 && rimraf .git && rimraf node_modules && rimraf package-lock.json",
"cleanup:husky:3": "cd ./test/husky3 && rimraf .git && rimraf node_modules && rimraf package-lock.json",
"cleanup:husky:4": "cd ./test/husky4 && rimraf .git && rimraf node_modules && rimraf package-lock.json",
"cleanup:husky:5": "cd ./test/husky5 && rimraf .git && rimraf node_modules && rimraf package-lock.json && rimraf .husky",
"pretest": "npm run prepare:husky:2 && npm run prepare:husky:3 && npm run prepare:husky:4 && npm run prepare:husky:5",
"test": "npm run compile && ava test/test.ts",
"posttest": "npm run cleanup:husky:2 && npm run cleanup:husky:3 && npm run cleanup:husky:4 && npm run cleanup:husky:5"
}
}