-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
95 lines (95 loc) · 2.34 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
{
"name": "commithelper",
"version": "1.2.0",
"description": "A tool to create and lint commit messages",
"keywords": [
"commit",
"lint",
"cli"
],
"author": "Jan van Brügge",
"license": "MIT",
"repository": "https://github.com/jvanbruegge/commithelper",
"bugs": "https://github.com/jvanbruegge/commithelper/issues",
"bin": {
"commithelper": "build/index.js"
},
"scripts": {
"build": "tsc",
"test": "cross-env TS_NODE_PROJECT=\"test/tsconfig.json\" nyc mocha -r ts-node/register test/*.ts",
"format": "prettier --write ./src",
"commit": "ts-node src/index.ts prompt",
"release": "npm run build && npm test && release-it",
"prepare": "npm run build && husky install"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"commithelper": {
"scopeOverrides": {
"chore": [
{
"name": "tools",
"message": "Changes to tooling like CI or linters"
},
{
"name": "refactor",
"message": "Changes to the code that have do not change the interface"
},
{
"name": "release",
"message": "Release a new version, use npm run release for this"
},
{
"name": "test",
"message": "Add new or update the tests"
},
{
"name": "deps",
"message": "Changes in the dependencies, e.g. version bumps"
},
{
"name": "docs",
"message": "Add more documentation"
}
]
}
},
"release-it": {
"git": {
"commitMessage": "chore(release): v${version}"
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
},
"devDependencies": {
"@release-it/conventional-changelog": "^3.3.0",
"@types/inquirer": "^8.1.3",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.0",
"cross-env": "^7.0.3",
"fast-check": "^2.18.0",
"husky": "^7.0.2",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"release-it": "^14.11.6",
"ts-node": "^10.3.0",
"typescript": "^4.4.4"
},
"dependencies": {
"chalk": "^4.1.2",
"commander": "^8.2.0",
"fp-ts": "^2.11.5",
"inquirer": "^8.2.0",
"io-ts": "^2.2.16"
}
}