-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
166 lines (166 loc) · 4.58 KB
/
Copy pathpackage.json
File metadata and controls
166 lines (166 loc) · 4.58 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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "git-spark",
"version": "1.4.0",
"description": "Git repository analytics and reporting tool for analyzing commit patterns and contributor activity",
"keywords": [
"git",
"analytics",
"repository",
"reporting",
"metrics",
"commit-analysis",
"developer-tools",
"cli",
"code-quality",
"contributor-stats",
"git-stats",
"repository-analytics",
"devops"
],
"author": "Mark Hazleton <mark@markhazleton.com>",
"license": "MIT",
"homepage": "https://git-spark.makeboldspark.com",
"repository": {
"type": "git",
"url": "git+https://github.com/markhazleton/git-spark.git"
},
"bugs": {
"url": "https://github.com/markhazleton/git-spark/issues"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/markhazleton"
},
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0"
},
"type": "module",
"main": "dist/src/index.js",
"module": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./package.json": "./package.json"
},
"bin": {
"git-spark": "bin/git-spark.js"
},
"files": [
"dist/src/",
"bin/",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"sideEffects": false,
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"prebuild": "node scripts/generate-version.js",
"build": "npm run clean && tsc",
"postbuild": "node scripts/update-docs-version.js",
"build:watch": "tsc --watch",
"typecheck:fast": "tsgo --noEmit",
"dev": "npm run build && node bin/git-spark.js",
"start": "node bin/git-spark.js",
"pretest": "node scripts/generate-version.js",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint -c eslint.config.cjs \"src/**/*.ts\"",
"lint:fix": "eslint -c eslint.config.cjs \"src/**/*.ts\" --fix",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"clean": "node -e \"require('fs').rmSync('dist', {recursive: true, force: true})\"",
"prepublishOnly": "npm run clean && npm run build && npm run test",
"release:patch": "npm version patch && npm publish",
"release:minor": "npm version minor && npm publish",
"release:major": "npm version major && npm publish",
"prepack": "npm run build",
"pack:test": "npm pack --dry-run",
"version": "node scripts/update-changelog.js",
"postversion": "git push && git push --tags",
"docs": "typedoc src/index.ts",
"docs:update-version": "node scripts/update-docs-version.js",
"security:audit": "npm audit --audit-level=moderate",
"security:check": "npx audit-ci --moderate",
"security:update": "npx npm-check-updates -u && npm install && npm test",
"security:verify": "node scripts/check-security.js",
"postinstall": "node -e \"if (process.env.INIT_CWD === process.cwd() && require('fs').existsSync('.git')) { import('husky').then(h => h.default()).catch(() => {}) }\""
},
"dependencies": {
"boxen": "^8.0.1",
"chalk": "^5.6.2",
"commander": "^14.0.3",
"ora": "^9.4.1",
"semver": "^7.8.5",
"table": "^6.9.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/jest": "^30.0.0",
"@types/node": "^26.1.1",
"@types/semver": "^7.7.1",
"@typescript-eslint/eslint-plugin": "^8.63.0",
"@typescript-eslint/parser": "^8.63.0",
"@typescript/native-preview": "^7.0.0-dev.20260707.2",
"audit-ci": "^7.1.0",
"eslint": "^10.6.0",
"husky": "^9.1.7",
"jest": "^30.4.2",
"npm-check-updates": "^22.2.9",
"prettier": "^3.9.5",
"publint": "^0.3.21",
"ts-jest": "^29.4.11",
"typedoc": "^0.28.20",
"typescript": "^6.0.3"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"extensionsToTreatAsEsm": [
".ts"
],
"testEnvironment": "node",
"testTimeout": 30000,
"forceExit": true,
"roots": [
"<rootDir>/src",
"<rootDir>/test"
],
"testMatch": [
"**/__tests__/**/*.ts",
"**/*.test.ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true
}
]
},
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/types/**/*",
"!src/cli/**/*"
],
"coverageThreshold": {
"global": {
"branches": 75,
"functions": 87,
"lines": 86,
"statements": 85
}
}
}
}