-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 3.31 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "dutyhours",
"version": "1.0.3",
"description": "A tool to calculate total working hours in a given month, taking into account public holidays and configurable working days.",
"keywords": [
"working-hours"
],
"bugs": {
"url": "https://github.com/kamdz/dutyhours/issues"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kamdz/dutyhours.git"
},
"license": "MIT",
"author": {
"name": "Kamil Dzwonkowski",
"email": "[email protected]",
"url": "https://github.com/kamdz"
},
"type": "module",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": "./dist/cli.js",
"files": [
"dist",
"package.json",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"cli": "tsx bin/cli.ts",
"commit": "cz",
"dev": "tsx watch src/index.ts",
"dx": "npx @kamdz/dx",
"format": "prettier --write --ignore-unknown .",
"lint": "eslint . --fix",
"lint-staged": "lint-staged",
"prepare": "husky",
"start": "tsx src/index.ts",
"test": "jest --coverage --passWithNoTests",
"type-check": "tsc --noEmit"
},
"lint-staged": {
"**/*.{ts,tsx,js,jsx,cjs,mjs,}": [
"eslint --fix"
],
"**/*.{ts,tsx,js,jsx,json,md,cjs,mjs,yml,yaml}": [
"prettier --write --ignore-unknown"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"package.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/compat": "^1.2.3",
"@eslint/js": "^9.14.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.12.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"prettier": "3.4.1",
"semantic-release": "^24.2.0",
"ts-jest": "^29.2.5",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0"
},
"packageManager": "[email protected]",
"dependencies": {
"commander": "^12.1.0",
"date-holidays": "^3.23.13"
}
}