Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 4.7 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 4.7 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
{
"name": "second-set",
"productName": "Second Set",
"version": "0.3.0",
"private": true,
"description": "A desktop workbench for evidence-backed engineering drawing review",
"homepage": "https://github.com/Surfside-Software/second-set",
"author": "Stephen Frederick",
"license": "MIT",
"type": "module",
"main": "dist/electron/main.mjs",
"imports": {
"#lib/*": "./src/lib/*"
},
"scripts": {
"modal:image": "bun scripts/modal.ts image",
"modal:warm": "bun scripts/modal.ts warm",
"test:cloud": "bun scripts/validate-cloud.ts",
"dev": "bun --no-orphans scripts/desktop-dev.mjs",
"check:api-keys": "bun scripts/check-api-keys.ts",
"build": "bun run build:ui && bun run build:desktop && bun run build:backend",
"build:ui": "bun --bun vite build",
"build:desktop": "bun build ./desktop/main.ts --target node --packages external --outfile ./dist/electron/main.mjs && bun build ./desktop/preload.ts --target node --format cjs --external electron --outfile ./dist/preload/preload.cjs",
"check": "bun run typecheck && bun run lint && bun run format:check",
"typecheck": "bun --bun svelte-kit sync && bun check --no-script && bun --bun svelte-check --tsgo --tsconfig ./tsconfig.json --fail-on-warnings",
"lint": "bun --bun oxlint -c oxlint.config.ts --disable-nested-config src desktop backend scripts tests tools *.ts",
"format": "bun fmt",
"format:check": "bun fmt --check",
"test": "bun test ./tests/smoke --parallel --no-isolate --timeout 20000",
"test:sam": "bun scripts/test-sam.ts",
"test:lint-rule-cli": "bun tools/oxlint/anti-slop/rules/require-readable-spacing-cli.test.ts",
"reconcile:fixtures": "bun scripts/reconcile-fixtures.ts",
"test:e2e": "bun scripts/isolated-desktop.ts --project=desktop",
"verify": "bun run check && bun run test && bun run build && bun run test:e2e",
"effect:setup": "bun --bun effect-tsgo patch --typescript-package @typescript/native",
"postinstall": "bun run effect:setup",
"package:desktop": "bun run build && bun --bun electron-builder --publish never",
"build:backend": "bun run scripts/pinned-bun.ts && bun run build:backend:main && bun run build:backend:pdf-worker && bun run prepare:pdf-assets",
"test:packaged": "bun scripts/test-packaged.ts",
"test:review-agent": "bun scripts/test-review-agent.ts",
"build:backend:main": "bun build ./backend/main.ts --compile --outfile ./dist/backend/app-backend --compile-exec-argv=--no-orphans --no-compile-autoload-dotenv --no-compile-autoload-bunfig --no-compile-autoload-tsconfig --no-compile-autoload-package-json",
"build:backend:pdf-worker": "bun build ./backend/documents/pdf-worker-main.ts --compile --outfile ./dist/backend/pdf-worker --compile-exec-argv=--no-orphans --no-compile-autoload-dotenv --no-compile-autoload-bunfig --no-compile-autoload-tsconfig --no-compile-autoload-package-json",
"prepare:pdf-assets": "bun scripts/prepare-pdf-assets.ts",
"test:screenshots": "bun scripts/isolated-desktop.ts tests/e2e/review.spec.ts --project=screenshots"
},
"dependencies": {
"effect": "4.1.1",
"electron-effect-rpc": "1.0.1"
},
"devDependencies": {
"@earendil-works/chord": "1.4.0",
"@earendil-works/pi-ai": "1.4.0",
"@earendil-works/pi-durable": "1.4.0",
"@earendil-works/pi-telemetry": "1.4.0",
"@effect/sql-sqlite-bun": "4.1.1",
"@effect/tsgo": "0.63.0",
"@fontsource-variable/inter": "5.3.0",
"@fontsource-variable/jetbrains-mono": "5.3.0",
"@fontsource-variable/space-grotesk": "5.3.0",
"@meta-sam/parser": "0.1.0",
"@napi-rs/canvas": "1.1.0",
"@napi-rs/canvas-darwin-arm64": "1.1.0",
"@napi-rs/canvas-darwin-x64": "1.1.0",
"@napi-rs/canvas-linux-arm64-gnu": "1.1.0",
"@napi-rs/canvas-linux-x64-gnu": "1.1.0",
"@napi-rs/canvas-win32-arm64-msvc": "1.1.0",
"@napi-rs/canvas-win32-x64-msvc": "1.1.0",
"@opentelemetry/api": "1.10.0",
"@oxlint/plugins": "1.90.0",
"@playwright/test": "1.64.1",
"@resvg/resvg-js": "2.6.2",
"@sveltejs/adapter-static": "4.0.1",
"@sveltejs/kit": "3.1.1",
"@sveltejs/vite-plugin-svelte": "7.3.1",
"@tabler/icons": "3.50.0",
"@types/bun": "1.4.4",
"@types/node": "24.19.2",
"@typescript/native": "npm:typescript@7.0.2",
"electron": "45.2.1",
"electron-builder": "26.18.0",
"modal": "0.11.1",
"oxlint": "1.90.0",
"oxlint-tsgolint": "7.0.2005",
"pdfjs-dist": "6.5.438",
"svelte": "5.57.3",
"svelte-check": "4.7.8",
"typebox": "1.4.3",
"typescript": "npm:@typescript/typescript6@6.0.2",
"vite": "8.3.5"
},
"engines": {
"bun": ">=1.4.4"
},
"packageManager": "bun@1.4.4",
"desktopName": "second-set.desktop",
"trustedDependencies": [
"electron",
"esbuild"
]
}