-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.9 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.9 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
{
"name": "glassbox",
"version": "0.8.1",
"description": "A local code review tool for AI-generated code. Review diffs, annotate lines, and export structured feedback that AI tools can act on.",
"type": "module",
"license": "MIT",
"author": "westphal",
"repository": {
"type": "git",
"url": "https://github.com/brianwestphal/glassbox"
},
"keywords": [
"code-review",
"ai",
"diff",
"annotations",
"cli",
"developer-tools",
"llm",
"claude",
"cursor",
"copilot"
],
"engines": {
"node": ">=20"
},
"bin": {
"glassbox": "./dist/cli.js"
},
"scripts": {
"dev": "npm run build:client && tsx --tsconfig tsconfig.json src/cli.ts",
"build": "tsup",
"build:client": "mkdir -p dist/client && npx esbuild src/client/app.tsx --bundle --format=iife --outfile=dist/client/app.global.js --target=es2020 --sourcemap --jsx=automatic --jsx-import-source=#jsx --alias:#jsx/jsx-runtime=./src/jsx-runtime.ts && npx esbuild src/client/history.tsx --bundle --format=iife --outfile=dist/client/history.global.js --target=es2020 --minify --sourcemap --jsx=automatic --jsx-import-source=#jsx --alias:#jsx/jsx-runtime=./src/jsx-runtime.ts && npx sass src/client/styles.scss dist/client/styles.css --style compressed --no-source-map",
"dev:server": "npm run build:client && tsx --tsconfig tsconfig.json src/cli.ts --no-open --strict-port",
"tauri": "tauri",
"tauri:clean": "rm -rf src-tauri/target",
"tauri:dev": "bash scripts/tauri-dev.sh",
"tauri:build": "bash scripts/build-sidecar.sh && tauri build",
"tauri:build:local": "read -rsp \"Password: \" MYPASS && echo && TAURI_SIGNING_PRIVATE_KEY_PASSWORD=$MYPASS TAURI_SIGNING_PRIVATE_KEY=$(cat ~/.tauri/glassbox.key) npm run tauri:build",
"test": "vitest run --coverage",
"test:watch": "vitest",
"test:all": "bash scripts/test-all.sh",
"test:e2e": "npx playwright test",
"test:smoke": "bash tests/smoke/smoke-test.sh",
"lint": "eslint src/",
"clean": "rm -rf dist node_modules/.cache",
"release": "bash scripts/release.sh",
"prepublishOnly": "npm run build"
},
"files": [
"dist",
"!dist/*.map"
],
"dependencies": {
"@electric-sql/pglite": "^0.3.15",
"@hono/node-server": "^1.19.9",
"@modelcontextprotocol/sdk": "^1.29.0",
"@resvg/resvg-wasm": "^2.6.2",
"hono": "^4.12.2"
},
"devDependencies": {
"@eslint/js": "^9.39.3",
"@playwright/test": "^1.59.1",
"@tauri-apps/cli": "^2.10.1",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^4.1.0",
"c8": "^11.0.0",
"esbuild": "^0.27.3",
"eslint": "^9.39.3",
"eslint-plugin-import-x": "^4.16.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-tsdoc": "^0.5.2",
"highlight.js": "^11.11.1",
"sass": "^1.97.3",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"vitest": "^4.1.0"
}
}