91 lines · 3.2 KB
{
  "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 build && wrangler d1 migrations apply gitfor --remote && wrangler deploy",
    "cf-typegen": "wrangler types --strict-vars=false",
    "db:migrate": "wrangler d1 migrations apply gitfor --local",
    "runner": "bun runner/gitfor-runner.ts"
  },
  "dependencies": {
    "@codemirror/commands": "^6.11.1",
    "@codemirror/language": "^6.13.1",
    "@codemirror/language-data": "^6.5.2",
    "@codemirror/state": "^6.7.6",
    "@codemirror/theme-one-dark": "^6.1.3",
    "@codemirror/view": "^6.43.14",