-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 3.69 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 3.69 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
{
"name": "@johnowennixon/diffdash",
"version": "1.18.0",
"description": "A command-line tool to generate Git commit messages using AI",
"license": "0BSD",
"author": "John Owen Nixon",
"repository": {
"type": "git",
"url": "git+https://github.com/johnowennixon/diffdash.git"
},
"engines": {
"node": ">=22"
},
"type": "module",
"files": [
"dist"
],
"bin": {
"diffdash": "dist/src/diffdash.js"
},
"scripts": {
"build": "run-s -ls build:clean build:tsc build:shebang build:chmod build:bun",
"build:bun": "echo 'Compiling standalone executables for all targets (using bun)' && run-s -ls build:bun:darwin-arm64 build:bun:linux-arm64 build:bun:linux-x64",
"build:bun:darwin-arm64": "echo 'Compiling standalone executable for Mac on ARM (using bun)' && bun build --compile --target=bun-darwin-arm64 --outfile out/diffdash-darwin-arm64 src/diffdash.ts",
"build:bun:linux-arm64": "echo 'Compiling standalone executable for Linux on ARM (using bun)' && bun build --compile --target=bun-linux-arm64 --outfile out/diffdash-linux-arm64 src/diffdash.ts",
"build:bun:linux-x64": "echo 'Compiling standalone executable for Linux on x64 (using bun)' && bun build --compile --target=bun-linux-x64 --outfile out/diffdash-linux-x64 src/diffdash.ts",
"build:chmod": "echo 'Changing bin files to be executable' && chmodx --package",
"build:clean": "echo 'Removing dist' && rimraf dist",
"build:shebang": "echo 'Fixing the shebangs' && add-shebangs --node --exclude 'dist/**/lib_*.js' 'dist/**/*.js'",
"build:tsc": "echo 'Transpiling TypeScript to dist (using tsc)' && tsc -p tsconfig.build.json || (rimraf dist && false)",
"build:tsgo": "echo 'Transpiling TypeScript to dist (using tsgo)' && tsgo -p tsconfig.build.json || (rimraf dist && false)",
"fix": "run-s -ls fix:biome fix:markdownlint",
"fix:biome": "echo 'Fixing with Biome' && biome check --write",
"fix:docbot": "echo 'Fixing with DocBot' && docbot --prune --generate",
"fix:markdownlint": "echo 'Fixing with Markdownlint' && markdownlint-cli2 '**/*.md' --fix",
"fix:oxlint": "echo 'Fixing with Oxlint' && oxlint --fix",
"lint": "run-s -ls lint:biome lint:oxlint lint:tsgolint lint:knip lint:markdownlint",
"lint:biome": "echo 'Linting with Biome' && biome check",
"lint:docbot": "echo 'Linting with DocBot' && docbot",
"lint:knip": "echo 'Linting with Knip' && knip",
"lint:markdownlint": "echo 'Linting with Markdownlint' && markdownlint-cli2 '**/*.md'",
"lint:oxlint": "echo 'Linting with Oxlint' && oxlint",
"lint:tsc": "echo 'Linting with tsc' && tsc --noEmit",
"lint:tsgo": "echo 'Linting with tsgo' && tsgo --noEmit",
"lint:tsgolint": "echo 'Linting with tsgolint' && candide-tsgolint",
"test": "run-s -ls lint build test:bun",
"test:bun": "echo 'Testing with Bun' && bun test ./test"
},
"dependencies": {
"@ai-sdk/anthropic": "3.0.84",
"@ai-sdk/deepseek": "2.0.38",
"@ai-sdk/google": "3.0.82",
"@ai-sdk/openai": "3.0.71",
"@inquirer/prompts": "8.5.2",
"@openrouter/ai-sdk-provider": "2.9.1",
"ai": "6.0.205",
"ansis": "4.3.1",
"argparse": "2.0.1",
"cli-table3": "0.6.5",
"json5": "2.2.3",
"magic-regexp": "0.11.0",
"simple-git": "3.36.0",
"zod": "4.4.3"
},
"devDependencies": {
"@biomejs/biome": "2.5.0",
"@candide/tsgolint": "1.5.0",
"@johnowennixon/add-shebangs": "1.1.0",
"@johnowennixon/chmodx": "2.1.0",
"@types/argparse": "2.0.17",
"@types/node": "25.9.3",
"@typescript/native-preview": "7.0.0-dev.20260615.1",
"knip": "6.16.1",
"markdownlint-cli2": "0.22.1",
"npm-run-all2": "9.0.2",
"oxlint": "1.70.0",
"rimraf": "6.1.3",
"typescript": "6.0.3"
}
}