-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 4.48 KB
/
Copy pathpackage.json
File metadata and controls
117 lines (117 loc) · 4.48 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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@stuffbucket/maximal",
"version": "0.4.41",
"description": "Local proxy that exposes GitHub Copilot as OpenAI- and Anthropic-compatible HTTP endpoints.",
"keywords": [
"proxy",
"github-copilot",
"openai-compatible",
"anthropic-compatible"
],
"homepage": "https://github.com/stuffbucket/maximal",
"bugs": "https://github.com/stuffbucket/maximal/issues",
"repository": {
"type": "git",
"url": "https://github.com/stuffbucket/maximal"
},
"license": "MIT",
"author": "stuffbucket",
"type": "module",
"bin": {
"maximal": "./dist/main.js"
},
"files": [
"dist"
],
"scripts": {
"analyze": "bun run scripts/gemma-watch.ts",
"app:build": "MAXIMAL_FORCE_SIDECAR=1 bun run app:sidecar && bun run scripts/predmg-cleanup.ts && cd shell && bun run tauri build --bundles app,dmg",
"app:dev": "bun run scripts/app-dev-prepare.ts && bun run app:sidecar && cd shell && bun run tauri dev",
"app:icons": "cd shell && bun run tauri icon ../build/macos/app-icon.svg --output src-tauri/icons",
"app:setup": "cd shell && bun install && cd .. && MAXIMAL_FORCE_SIDECAR=1 bun run app:sidecar",
"app:sidecar": "bun run build:ui && bun run scripts/gen-ui-embed.ts && bun run scripts/build-sidecar.ts",
"app:ui": "bun run scripts/build-ui.ts --watch",
"build": "bun build src/main.ts --target=bun --outdir dist",
"build:ui": "bun run scripts/build-ui.ts",
"casts": "bun run scripts/find-casts.ts",
"casts:check": "bun run scripts/find-casts.ts --check",
"check:deep": "bun run check:fast && bun test && bun run knip",
"check:design": "bun run check:tokens && bun run tokens:verify",
"check:fast": "bun run ensure:ui-embed && bun run lint:fast && bun run typecheck && bun run lint:all && bun run check:design",
"check:ops": "bun run typecheck:ops && bun run test:ops",
"check:tokens": "bun scripts/check-design-tokens.ts",
"deps:check": "depcruise --config .dependency-cruiser.cjs src tests",
"dev": "bun run --watch ./src/main.ts",
"ensure:ui-embed": "bun scripts/ensure-ui-embed-stub.ts",
"knip": "knip-bun",
"lint": "eslint --cache",
"lint:all": "eslint --cache .",
"lint:fast": "oxlint",
"measure:baseline": "bun scripts/dev/measure-baseline.ts",
"mutate": "stryker run",
"prepack": "bun run build",
"package-dmg": "bun scripts/package-dmg.ts",
"prepare": "bun run ensure:ui-embed && simple-git-hooks && cd shell && bun install",
"release:dmg": "bun scripts/package-dmg.ts --upload",
"release:manual": "bumpp && bun publish --access public",
"render-formula": "bun scripts/sync-homebrew-formula.ts",
"sbom": "bun scripts/sbom.ts",
"scan:secrets": "trufflehog filesystem . --no-verification --fail --no-update --exclude-paths .trufflehog-exclude",
"start": "NODE_ENV=production bun run ./src/main.ts",
"test:ops": "cd scripts/ops && bun test",
"tokens:generate": "bun scripts/generate-css-tokens.ts",
"tokens:verify": "bun scripts/generate-css-tokens.ts --check",
"typecheck": "tsc",
"typecheck:ops": "tsc -p scripts/ops/tsconfig.json",
"typecheck:shell": "cd shell && bun run typecheck",
"ui:harness": "bun run build:ui && bun run scripts/ui-harness.ts",
"verify:build": "bun scripts/dev/verify-build.ts",
"watch:drift": "bun scripts/ops/watch-external-drift.ts"
},
"simple-git-hooks": {
"pre-commit": "bunx lint-staged"
},
"lint-staged": {
"*": [
"bun run lint --fix",
"bash scripts/secret-scan.sh"
]
},
"dependencies": {
"@hono/zod-openapi": "^1.5.0",
"citty": "^0.1.6",
"clipboardy": "^5.0.0",
"consola": "^3.4.2",
"fetch-event-stream": "^0.1.5",
"gpt-tokenizer": "^3.0.1",
"hono": "^4.12.0",
"proxy-from-env": "^1.1.0",
"srvx": "^0.11.15",
"tiny-invariant": "^1.3.3",
"turndown": "^7.2.4",
"undici": "^7.16.0",
"winreg": "^1.2.5",
"zod": "^4.1.11"
},
"devDependencies": {
"@echristian/eslint-config": "^0.0.54",
"@stryker-mutator/core": "^9.6.1",
"@types/bun": "^1.2.23",
"@types/proxy-from-env": "^1.0.4",
"@types/turndown": "^5.0.6",
"@types/winreg": "^1.2.36",
"bumpp": "^10.2.3",
"dependency-cruiser": "^17.4.0",
"eslint": "^9.37.0",
"knip": "^5.64.1",
"lint-staged": "^16.2.3",
"oxlint": "^1.63.0",
"prettier-plugin-packagejson": "^2.5.19",
"simple-git-hooks": "^2.13.1",
"typescript": "^5.9.3"
},
"engines": {
"node": ">=22"
}
}