-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) 路 2.55 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
{
"name": "msg-time",
"version": "0.1.1",
"description": "Conventional commit message enforcer 馃",
"license": "Apache-2.0",
"homepage": "https://github.com/tbjgolden/msg-time",
"author": {
"name": "Tom Golden",
"email": "oss@tom.bio",
"url": "https://tom.bio"
},
"type": "module",
"bin": {
"msg-time": "./dist/cli/index.js"
},
"engines": {
"node": ">=16.14.0",
"npm": ">=6.8.0"
},
"scripts": {
"build": "xnr ./.scripts/build.ts",
"check-build": "xnr ./.scripts/checkBuild.ts",
"test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' npx jest --passWithNoTests",
"coverage": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' npx jest --passWithNoTests --coverage",
"watch": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' npx jest --passWithNoTests --watch",
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@types/jest": "^29.5.2",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unicorn": "^47.0.0",
"jest": "^29.5.0",
"lint-time": "^0.1.1",
"msg-time": "^0.1.0",
"prettier": "^2.8.8",
"pub-time": "^0.1.0",
"simple-git-hooks": "^2.8.1",
"typescript": "^5.1.3",
"xnr": "^1.1.3"
},
"files": [
"dist"
],
"keywords": [
"conventional",
"commit",
"commits",
"checker",
"lint",
"linter",
"commitlint",
"cli",
"message",
"msg"
],
"simple-git-hooks": {
"commit-msg": "npx msg-time",
"pre-commit": "npx lint-time",
"pre-push": "npx jest -o --coverage=false --passWithNoTests"
},
"prettier": {
"printWidth": 100,
"proseWrap": "always"
},
"lint-time": [
[
"*.ts",
"npx eslint -c .eslintrc.cjs --cache --fix --max-warnings=0"
],
[
"*.{ts,js,cjs,mjs,json}",
"npx prettier --ignore-path .gitignore --write"
]
],
"jest": {
"clearMocks": true,
"collectCoverageFrom": [
"lib/**/*.ts",
"!**/test-helpers.ts",
"!**/node_modules/**",
"!**/vendor/**"
],
"coverageReporters": [
"json-summary",
"text"
],
"errorOnDeprecated": true,
"extensionsToTreatAsEsm": [
".ts",
".mts"
],
"resolver": "<rootDir>/.scripts/jestResolver.cjs",
"testEnvironment": "node",
"testMatch": [
"<rootDir>/lib/**/*.test.[tj]s"
],
"transform": {
"\\.ts$": "<rootDir>/node_modules/xnr/jest.js"
}
}
}