-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
202 lines (202 loc) · 6.85 KB
/
Copy pathpackage.json
File metadata and controls
202 lines (202 loc) · 6.85 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
{
"name": "fallback",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@10.33.2",
"engines": {
"node": "24.x",
"pnpm": "10.33.x"
},
"license": "MIT",
"author": "Fallback",
"description": "Local-first GitHub workbench for coherent repo work.",
"main": "dist-electron/electron/main/index.js",
"type": "module",
"scripts": {
"dev": "pnpm rebuild:electron && tsx scripts/dev-electron.ts",
"build": "pnpm build:electron && vite build",
"build:config": "tsx scripts/write-build-config.ts",
"release": "tsx scripts/release.ts",
"release:builder-config": "tsx scripts/write-release-builder-config.ts",
"prebuild:electron": "pnpm build:config",
"build:electron": "node -e \"require('node:fs').rmSync('dist-electron',{recursive:true,force:true})\" && tsc -p tsconfig.electron.json && tsx scripts/build-preload.ts",
"package": "pnpm package:dir",
"package:dir": "pnpm build && CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --dir",
"package:mac": "pnpm build && FALLBACK_NOTARIZE=1 electron-builder --mac dmg zip --arm64",
"package:mac:release": "pnpm package:mac",
"package:mac:unsigned": "pnpm build && CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --mac dmg zip --arm64",
"package:mac:smoke": "tsx scripts/macos-package-smoke.ts",
"package:win": "pnpm build && electron-builder --win nsis --x64",
"package:linux": "pnpm build && electron-builder --linux AppImage deb --x64",
"package:linux:smoke": "tsx scripts/linux-package-smoke.ts --require-artifacts",
"beta:check": "pnpm security:scan && pnpm size:check && pnpm typecheck && pnpm test && pnpm lint && pnpm format && pnpm build",
"security:scan": "tsx scripts/scan-repo-hygiene.ts",
"size:check": "node scripts/check-file-limits.mjs",
"release:check:mac": "pnpm audit --prod && pnpm beta:check && pnpm package:mac && pnpm package:mac:smoke -- --require-signed --require-notarized",
"lint": "eslint .",
"format": "prettier --check .",
"format:write": "prettier --write .",
"pretest": "pnpm native:ensure:node",
"test": "pnpm build:config && pnpm test:security && pnpm test:perf && pnpm test:local-cache && pnpm test:local-git && pnpm test:sync && pnpm test:github-work && pnpm test:renderer && pnpm test:repo-code && pnpm test:platform",
"test:perf": "tsx tests/performance/suite.ts",
"perf:packaged": "pnpm rebuild:electron && pnpm package:dir && tsx scripts/perf-packaged-run.ts",
"perf:packaged:run": "tsx scripts/perf-packaged-run.ts",
"perf:production": "pnpm build && pnpm rebuild:electron && tsx scripts/perf-production-run.ts",
"native:ensure:node": "tsx scripts/ensure-native-runtime.ts node",
"native:clean": "tsx scripts/ensure-native-runtime.ts clean",
"rebuild:node": "pnpm rebuild better-sqlite3 keytar",
"rebuild:electron": "electron-rebuild -f -w better-sqlite3 -w keytar",
"typecheck": "pnpm build:config && tsc --noEmit && tsc -p tsconfig.electron.json --noEmit",
"sync:repo": "pnpm rebuild:node && tsx scripts/sync-repo.ts",
"cache:search": "pnpm rebuild:node && tsx scripts/search-cache.ts",
"test:security": "tsx tests/security/suite.ts",
"test:local-cache": "tsx tests/local-cache/suite.ts",
"test:local-git": "tsx tests/local-git/suite.ts",
"test:sync": "tsx tests/sync/suite.ts",
"test:github-work": "tsx tests/github-work/suite.ts",
"test:renderer": "tsx tests/renderer-shell/suite.ts",
"test:repo-code": "tsx tests/repo-code/suite.ts",
"test:platform": "tsx tests/platform/suite.ts"
},
"dependencies": {
"@pierre/diffs": "1.1.20",
"@pierre/trees": "1.0.0-beta.3",
"@primer/octicons-react": "19.25.0",
"@tanstack/react-query": "5.100.5",
"better-sqlite3": "12.9.0",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"cmdk": "1.1.1",
"date-fns": "4.1.0",
"electron-updater": "6.8.4",
"embla-carousel-react": "8.6.0",
"input-otp": "1.4.2",
"keytar": "7.9.0",
"kysely": "0.28.17",
"lucide-react": "1.11.0",
"next-themes": "0.4.6",
"radix-ui": "1.4.3",
"react": "19.2.5",
"react-day-picker": "9.14.0",
"react-dom": "19.2.5",
"react-resizable-panels": "4.10.0",
"recharts": "3.8.0",
"sonner": "2.0.7",
"tailwind-merge": "3.5.0",
"vaul": "1.1.2",
"zustand": "5.0.12"
},
"devDependencies": {
"@electron/notarize": "2.5.0",
"@electron/rebuild": "4.0.4",
"@eslint/js": "10.0.1",
"@tailwindcss/vite": "4.2.4",
"@types/better-sqlite3": "7.6.13",
"@types/node": "24.12.2",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "5.2.0",
"concurrently": "9.2.1",
"electron": "41.3.0",
"electron-builder": "26.8.1",
"esbuild": "0.27.7",
"eslint": "10.2.1",
"eslint-plugin-react-hooks": "7.1.1",
"eslint-plugin-react-refresh": "0.5.2",
"linkedom": "0.18.12",
"prettier": "3.8.3",
"tailwindcss": "4.2.4",
"tsx": "4.21.0",
"typescript": "5.9.3",
"typescript-eslint": "8.59.1",
"vite": "7.3.2",
"wait-on": "9.0.5"
},
"build": {
"appId": "sh.fallback.app",
"productName": "Fallback",
"directories": {
"output": "release"
},
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"icon": "build/icon.png",
"afterSign": "scripts/notarize-macos.js",
"protocols": [
{
"name": "Fallback OAuth Callback",
"schemes": [
"fallback"
]
}
],
"files": [
"dist/**/*",
"dist-electron/**/*",
"package.json"
],
"mac": {
"icon": "build/icon.icns",
"category": "public.app-category.developer-tools",
"hardenedRuntime": true,
"target": [
{
"target": "dmg",
"arch": [
"arm64"
]
}
]
},
"win": {
"icon": "build/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"linux": {
"icon": "build/linux",
"category": "Development",
"synopsis": "Local-first GitHub workbench",
"description": "Fallback keeps GitHub work, local changes, and branch state coherent when repo work gets messy.",
"maintainer": "Fallback <galz100@gmail.com>",
"desktop": {
"entry": {
"Name": "Fallback",
"Comment": "Local-first GitHub workbench",
"StartupWMClass": "Fallback"
}
},
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
]
},
"deb": {
"depends": [
"git",
"gpg",
"libsecret-1-0",
"xdg-utils"
],
"recommends": [
"gnome-keyring | kwalletmanager",
"openssh-client"
]
}
}
}