{
  "name": "@hasna/instructions",
  "version": "0.4.0",
  "description": "AI coding agent instruction & configuration manager — store, version, apply, and share all your AI coding configs. CLI + MCP + HTTP API (instructions-serve) + generated SDK + Dashboard.",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": {
    "instructions": "dist/cli/index.js",
    "instructions-mcp": "dist/mcp/index.js",
    "instructions-serve": "dist/server/index.js",
    "configs-mcp": "dist/mcp/index.js"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    }
  },
  "files": [
    "dist",
    "dashboard/dist",
    "LICENSE",
    "README.md"
  ],
  "scripts": {
    "clean": "rm -rf dist",
    "build": "bun run clean && bun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external chalk --external pg --external @modelcontextprotocol/sdk && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external pg --external @modelcontextprotocol/sdk && bun build src/server/index.ts --outdir dist/server --target bun --external pg && bun build src/index.ts --outdir dist --target bun --external pg && tsc --emitDeclarationOnly --outDir dist",
    "build:server": "bun run clean && bun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external chalk --external pg --external @modelcontextprotocol/sdk && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external pg --external @modelcontextprotocol/sdk && bun build src/server/index.ts --outdir dist/server --target bun --external pg && bun build src/index.ts --outdir dist --target bun --external pg",
    "build:dashboard": "cd dashboard && bun run build",
    "migrate": "bun run src/server/index.ts migrate",
    "generate:sdk": "bun run scripts/generate-sdk.ts",
    "kit:check": "bunx @hasna/contracts vendor-kit --check",
    "typecheck": "tsc --noEmit",
    "test": "bun test",
    "check:package-secrets": "bun run src/cli/index.tsx package-manager-scan --fail-on-findings --home .",
    "dev:cli": "bun run src/cli/index.tsx",
    "dev:mcp": "bun run src/mcp/index.ts",
    "dev:serve": "bun run src/server/index.ts",
    "seed": "bun run scripts/seed.ts",
    "prepublishOnly": "bun run build",
    "postinstall": "mkdir -p $HOME/.hasna/instructions $HOME/.hasna/instructions/backups 2>/dev/null || true"
  },
  "keywords": [
    "instructions",
    "configs",
    "dotfiles",
    "agent-config",
    "claude",
    "codex",
    "gemini",
    "mcp",
    "ai",
    "coding-agent",
    "cli",
    "dashboard"
  ],
  "publishConfig": {
    "registry": "https://registry.npmjs.org",
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hasna/instructions.git"
  },
  "homepage": "https://github.com/hasna/instructions",
  "bugs": {
    "url": "https://github.com/hasna/instructions/issues"
  },
  "engines": {
    "bun": ">=1.0.0"
  },
  "author": "Andrei Hasna <andrei@hasna.com>",
  "license": "Apache-2.0",
  "dependencies": {
    "@hasna/contracts": "0.4.2",
    "@hasna/events": "^0.1.6",
    "@modelcontextprotocol/sdk": "^1.12.1",
    "chalk": "^5.4.1",
    "commander": "^13.1.0",
    "hono": "^4.7.4",
    "ink": "^5.2.0",
    "pg": "^8.13.3",
    "react": "^18.3.1",
    "zod": "^3.24.2"
  },
  "devDependencies": {
    "@types/bun": "^1.2.4",
    "@types/pg": "^8.11.11",
    "@types/react": "^18.3.18",
    "typescript": "^5.7.3"
  }
}
