{
  "name": "@medicine-wheel/app",
  "version": "0.6.3",
  "description": "Medicine Wheel — Interactive visual layer for Indigenous relational research with Four Directions, ceremonies, and narrative arcs",
  "bin": {
    "mw": "dist/cli/mw.js",
    "mwsrv": "dist/cli/mwsrv.js"
  },
  "files": [
    "app/**/*",
    "components/**/*",
    "hooks/**/*",
    "lib/**/*",
    "public/**/*",
    "dist/cli/**/*",
    "next.config.mjs",
    "next-env.d.ts",
    "postcss.config.mjs",
    "tsconfig.json",
    "Dockerfile",
    "docker-entrypoint.sh",
    "docker-build-push.sh",
    "README.md",
    "ALPHA.md"
  ],
  "//workspaces": "TOPOLOGICAL ORDER — do not alphabetize. `npm run <script> --workspaces` executes in THIS array's order, not in dependency order: a package listed before a package it imports builds first and fails TS2307 on any tree without a stale dist/. Roots first (ontology-core, creative-orientation, session-reader), then their dependents, mcp last. A new package goes after everything it imports.",
  "workspaces": [
    "src/ontology-core",
    "src/infra",
    "src/creative-orientation",
    "src/session-reader",
    "src/ceremony-protocol",
    "src/storage-provider",
    "src/data-store",
    "src/data-store-postgres",
    "src/graph-viz",
    "src/importance-unit",
    "src/narrative-engine",
    "src/narrative-cluster",
    "src/perception-layer",
    "src/prompt-decomposition",
    "src/relational-index",
    "src/relational-query",
    "src/ui-components",
    "src/brainstorming",
    "src/gap-analysis",
    "src/creative-problem-solving",
    "src/community-review",
    "src/consent-lifecycle",
    "src/fire-keeper",
    "src/transformation-tracker",
    "src/ceremonial-diary",
    "src/github-ceremony",
    "mcp"
  ],
  "scripts": {
    "build:packages": "npm run build -w src/ontology-core -w src/creative-orientation && npm run build --workspaces --if-present",
    "build:cli": "tsc -p tsconfig.cli.json && node -e \"for (const f of ['dist/cli/mw.js','dist/cli/mwsrv.js']) { try { require('fs').chmodSync(f, 0o755); } catch (e) { console.warn('[cli] chmod skipped (non-fatal):', e.message); } }\"",
    "clean:packages": "npm run clean --workspaces --if-present",
    "prebuild": "npm run build:packages",
    "predev": "npm run build:packages",
    "dev": "next dev -p 8040",
    "build": "next build",
    "start": "next start -p 8040",
    "lint": "next lint",
    "test": "vitest run",
    "test:watch": "vitest",
    "version:patch": "node scripts/bump-versions.mjs patch && node scripts/sync-versions.mjs && shx rm -rf node_modules src/*/node_modules package-lock.json && npm install --legacy-peer-deps",
    "version:minor": "node scripts/bump-versions.mjs minor && node scripts/sync-versions.mjs && shx rm -rf node_modules src/*/node_modules package-lock.json && npm install --legacy-peer-deps",
    "version:major": "node scripts/bump-versions.mjs major && node scripts/sync-versions.mjs && shx rm -rf node_modules src/*/node_modules package-lock.json && npm install --legacy-peer-deps",
    "version:set": "npm version -ws && node scripts/sync-versions.mjs",
    "sync:versions": "node scripts/sync-versions.mjs",
    "prepublishOnly": "npm run clean:packages && npm run build:packages && npm run build:cli",
    "publish:packages": "npm run prepublishOnly && node scripts/publish-workspaces.mjs",
    "publish:mcp": "npm publish --workspace mcp --access public",
    "publish:root": "npm publish --access public",
    "publish:all": "npm run prepublishOnly && node scripts/publish-workspaces.mjs && npm publish --access public --ignore-scripts",
    "publish:dry": "npm run prepublishOnly && node scripts/publish-workspaces.mjs --dry-run && npm publish --access public --dry-run --ignore-scripts",
    "docker:build": "docker build -t jgwill/medicine-wheel:app .",
    "docker:push": "docker push jgwill/medicine-wheel:app",
    "docker:build-push": "npm run docker:build && npm run docker:push",
    "release:commit": "node scripts/release-commit.mjs",
    "release:patch": "npm run version:patch && npm run publish:all && npm run release:commit",
    "release:minor": "npm run version:minor && npm run publish:all && npm run release:commit",
    "release:major": "npm run version:major && npm run publish:all && npm run release:commit"
  },
  "dependencies": {
    "@medicine-wheel/ceremonial-diary": "^0.6.3",
    "@medicine-wheel/ceremony-protocol": "^0.6.3",
    "@medicine-wheel/community-review": "^0.6.3",
    "@medicine-wheel/consent-lifecycle": "^0.6.3",
    "@medicine-wheel/creative-orientation": "^0.6.3",
    "@medicine-wheel/data-store": "^0.6.3",
    "@medicine-wheel/data-store-postgres": "^0.6.3",
    "@medicine-wheel/fire-keeper": "^0.6.3",
    "@medicine-wheel/github-ceremony": "^0.6.3",
    "@medicine-wheel/graph-viz": "^0.6.3",
    "@medicine-wheel/importance-unit": "^0.6.3",
    "@medicine-wheel/mcp": "^4.6.3",
    "@medicine-wheel/narrative-cluster": "^0.6.3",
    "@medicine-wheel/narrative-engine": "^0.6.3",
    "@medicine-wheel/ontology-core": "^0.6.3",
    "@medicine-wheel/perception-layer": "^0.6.3",
    "@medicine-wheel/prompt-decomposition": "^0.6.3",
    "@medicine-wheel/relational-index": "^0.6.3",
    "@medicine-wheel/relational-query": "^0.6.3",
    "@medicine-wheel/session-reader": "^0.6.3",
    "@medicine-wheel/storage-provider": "^0.6.3",
    "@medicine-wheel/transformation-tracker": "^0.6.3",
    "@medicine-wheel/ui-components": "^0.6.3",
    "@neondatabase/serverless": "^0.10.0",
    "@xyflow/react": "^12.3.0",
    "clsx": "^2.1.1",
    "js-yaml": "^4.3.0",
    "lucide-react": "^0.475.0",
    "next": "^15.3.0",
    "next-themes": "^0.4.6",
    "react": "^19.0.0",
    "react-dom": "^19.0.0",
    "recharts": "^2.15.4",
    "sonner": "^1.7.0",
    "tailwind-merge": "^3.0.2",
    "zod": "^3.23.0"
  },
  "devDependencies": {
    "@tailwindcss/postcss": "^4.1.0",
    "@types/js-yaml": "^4.0.9",
    "@types/node": "^22.0.0",
    "@types/react": "^19.0.0",
    "@types/react-dom": "^19.0.0",
    "shx": "^0.4.0",
    "tailwindcss": "^4.1.0",
    "typescript": "^5.7.0",
    "vitest": "^4.1.8"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jgwill/medicine-wheel.git"
  }
}
