{
  "name": "ont-run",
  "version": "0.0.16",
  "description": "Ontology-enforced API framework for AI coding agents",
  "type": "module",
  "bin": {
    "ont-run": "./dist/bin/ont.js"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    }
  },
  "files": [
    "dist",
    "src",
    "bin"
  ],
  "scripts": {
    "dev": "tsx bin/ont.ts",
    "build": "tsup src/index.ts --format esm --dts --sourcemap",
    "build:cli": "tsup bin/ont.ts --format esm --outDir dist/bin --external @modelcontextprotocol/sdk --external zod --no-shims && node -e \"const fs=require('fs');const f='./dist/bin/ont.js';let c=fs.readFileSync(f,'utf8');c='#!/usr/bin/env node\\n'+c.replace(/^#!.*\\n/gm,'');fs.writeFileSync(f,c);fs.chmodSync(f,0o755);\"",
    "build:types": "tsc --declaration --emitDeclarationOnly",
    "build:apps": "tsx scripts/bundle-apps.ts",
    "prepublishOnly": "npm run build:apps && npm run build && npm run build:cli && npm run build:types",
    "docs": "cd docs && npm run dev",
    "docs:build": "cd docs && npm run build",
    "docs:preview": "cd docs && npm run preview",
    "test:init": "(ONTDIR=$(pwd) && TESTDIR=$(mktemp -d /tmp/ont-run-test-XXXX) && node dist/bin/ont.js init $TESTDIR && cd $TESTDIR && npm install $ONTDIR)",
    "test:init:nonempty": "(TESTDIR=$(mktemp -d /tmp/ont-run-test-XXXX) && touch $TESTDIR/foo.txt && node dist/bin/ont.js init $TESTDIR)",
    "test:init:nobun": "docker run --rm -i -v $(pwd):/ont -w /app node:22 bash -c 'npm pack /ont && echo y | npx ont-run-*.tgz init my-project'",
    "test:build": "(ONTDIR=$(pwd) && TESTDIR=$(mktemp -d /tmp/ont-run-test-XXXX) && node dist/bin/ont.js init $TESTDIR && cd $TESTDIR && npm install $ONTDIR && npm run typecheck && npm run build && echo '✓ test:build passed')",
    "test:run": "(ONTDIR=$(pwd) && TESTDIR=$(mktemp -d /tmp/ont-run-test-XXXX) && node dist/bin/ont.js init $TESTDIR && cd $TESTDIR && npm install $ONTDIR && (npm run dev:server > /tmp/ont-backend.log 2>&1 &) && BACKEND_PID=$! && sleep 2 && (npm run dev:vite > /tmp/ont-frontend.log 2>&1 &) && FRONTEND_PID=$! && sleep 13 && curl -f http://localhost:3000/health && echo ' ← backend working' && curl -f -s http://localhost:5173/ | head -3 && echo '... ← frontend HTML' && curl -f http://localhost:5173/health && echo ' ← proxy working' && echo '✓ test:run passed!' && kill $BACKEND_PID $FRONTEND_PID 2>/dev/null || true)",
    "test:review": "(ONTDIR=$(pwd) && TESTDIR=$(mktemp -d /tmp/ont-run-test-XXXX) && node dist/bin/ont.js init $TESTDIR && cd $TESTDIR && npm install $ONTDIR && npm run review)"
  },
  "dependencies": {
    "@hono/node-server": "^1.19.8",
    "@modelcontextprotocol/sdk": "^1.0.0",
    "citty": "^0.1.6",
    "consola": "^3.2.0",
    "hono": "^4.6.0",
    "open": "^10.0.0"
  },
  "devDependencies": {
    "@hono/vite-dev-server": "^0.24.1",
    "@modelcontextprotocol/ext-apps": "^1.0.0",
    "@types/cytoscape": "^3.21.9",
    "@types/node": "^20.0.0",
    "@types/react": "^18.0.0",
    "@types/react-dom": "^18.0.0",
    "@vitejs/plugin-react": "^5.1.0",
    "cytoscape": "^3.33.1",
    "lucide-react": "^0.563.0",
    "react": "^18.0.0",
    "react-dom": "^18.0.0",
    "react-router-dom": "^7.0.0",
    "recharts": "^2.0.0",
    "terser": "^5.0.0",
    "tsup": "^8.0.0",
    "tsx": "^4.0.0",
    "typescript": "^5.5.0",
    "vite": "^7.3.0",
    "vite-plugin-singlefile": "^2.0.0",
    "zod": "^4.0.0"
  },
  "peerDependencies": {
    "zod": ">=4"
  },
  "keywords": [
    "api",
    "framework",
    "access-control",
    "ai-agents",
    "hono",
    "zod",
    "typescript"
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/vanna-ai/ont-run.git"
  }
}
