{
"name": "gitfor",
"private": true,
"sideEffects": false,
"type": "module",
"engines": {
"node": "24.9.0"
},
"scripts": {
"dev": "bun run editor:assets && vite dev",
"build": "bun run editor:assets && vite build && tsc --noEmit",
"editor:assets": "bun run scripts/build-editor.ts",
"preview": "GITFOR_LOCAL=1 bun run build && vite preview",
"lint": "oxlint . && bun run scripts/check-file-lines.ts",
"lint:changed": "bun run scripts/lint-changed.ts",
"lint:fix": "oxlint --fix .",
"lint:staged": "oxlint --fix --no-error-on-unmatched-pattern",
"format": "oxfmt --write -c .oxfmtrc.json \"**/*.{cjs,mjs,js,jsx,ts,tsx,json,jsonc,md}\"",
"format:check": "oxfmt --check -c .oxfmtrc.json \"**/*.{cjs,mjs,js,jsx,ts,tsx,json,jsonc,md}\"",
"check": "oxlint . && oxfmt --check -c .oxfmtrc.json \"**/*.{cjs,mjs,js,jsx,ts,tsx,json,jsonc,md}\"",
"check:fix": "oxlint --fix . && oxfmt --write -c .oxfmtrc.json \"**/*.{cjs,mjs,js,jsx,ts,tsx,json,jsonc,md}\"",
"deslop": "bun run scripts/deslop.ts",
"knip": "knip",
"knip:deps": "knip --dependencies",
"type-check": "tsc --noEmit",
"test": "bun test --isolate src",
"test:e2e:integrations": "bun run scripts/e2e-integrations.ts",
"test:e2e:notify": "bun run scripts/e2e-notify.ts",
"deploy": "bun run scripts/check-deploy-config.ts && bun run build && wrangler d1 migrations apply gitfor --remote && wrangler d1 migrations apply gitfor-advisories --remote && wrangler deploy",
"cf-typegen": "wrangler types --strict-vars=false",
"db:migrate": "wrangler d1 migrations apply gitfor --local && wrangler d1 migrations apply gitfor-advisories --local",
"deploy:check": "bun run scripts/check-deploy-config.ts",
"runner": "bun runner/gitfor-runner.ts",
"video:prepare": "bun scripts/video/prepare.ts",
"video:upload": "bun scripts/video/upload.ts"
},
"dependencies": {
"@cloudflare/kumo": "^2.14.0",
"@codemirror/commands": "^6.11.1",
"@codemirror/language": "^6.13.1",