{
  "name": "emdash",
  "version": "0.1.0",
  "description": "Astro-native CMS with WordPress migration support",
  "type": "module",
  "main": "dist/index.mjs",
  "bin": {
    "emdash": "./dist/cli/index.mjs",
    "em": "./dist/cli/index.mjs"
  },
  "files": [
    "dist",
    "src",
    "locals.d.ts"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.mts",
      "default": "./dist/index.mjs"
    },
    "./astro": {
      "types": "./dist/astro/index.d.mts",
      "default": "./dist/astro/index.mjs"
    },
    "./middleware": {
      "types": "./dist/astro/middleware.d.mts",
      "default": "./dist/astro/middleware.mjs"
    },
    "./middleware/setup": {
      "types": "./dist/astro/middleware/setup.d.mts",
      "default": "./dist/astro/middleware/setup.mjs"
    },
    "./middleware/auth": {
      "types": "./dist/astro/middleware/auth.d.mts",
      "default": "./dist/astro/middleware/auth.mjs"
    },
    "./middleware/redirect": {
      "types": "./dist/astro/middleware/redirect.d.mts",
      "default": "./dist/astro/middleware/redirect.mjs"
    },
    "./ui": "./src/ui.ts",
    "./ui/search": "./src/components/LiveSearch.astro",
    "./cli": {
      "types": "./dist/cli/index.d.mts",
      "default": "./dist/cli/index.mjs"
    },
    "./routes/*": "./src/astro/routes/*",
    "./db": {
      "types": "./dist/db/index.d.mts",
      "default": "./dist/db/index.mjs"
    },
    "./db/sqlite": {
      "types": "./dist/db/sqlite.d.mts",
      "default": "./dist/db/sqlite.mjs"
    },
    "./db/libsql": {
      "types": "./dist/db/libsql.d.mts",
      "default": "./dist/db/libsql.mjs"
    },
    "./db/postgres": {
      "types": "./dist/db/postgres.d.mts",
      "default": "./dist/db/postgres.mjs"
    },
    "./storage/local": {
      "types": "./dist/storage/local.d.mts",
      "default": "./dist/storage/local.mjs"
    },
    "./storage/s3": {
      "types": "./dist/storage/s3.d.mts",
      "default": "./dist/storage/s3.mjs"
    },
    "./media": {
      "types": "./dist/media/index.d.mts",
      "default": "./dist/media/index.mjs"
    },
    "./media/local-runtime": {
      "types": "./dist/media/local-runtime.d.mts",
      "default": "./dist/media/local-runtime.mjs"
    },
    "./runtime": {
      "types": "./dist/runtime.d.mts",
      "default": "./dist/runtime.mjs"
    },
    "./request-context": {
      "types": "./dist/request-context.d.mts",
      "default": "./dist/request-context.mjs"
    },
    "./seed": {
      "types": "./dist/seed/index.d.mts",
      "default": "./dist/seed/index.mjs"
    },
    "./middleware/request-context": {
      "types": "./dist/astro/middleware/request-context.d.mts",
      "default": "./dist/astro/middleware/request-context.mjs"
    },
    "./locals": {
      "types": "./locals.d.ts"
    },
    "./client": {
      "types": "./dist/client/index.d.mts",
      "default": "./dist/client/index.mjs"
    },
    "./client/cf-access": {
      "types": "./dist/client/cf-access.d.mts",
      "default": "./dist/client/cf-access.mjs"
    },
    "./seo": {
      "types": "./dist/seo/index.d.mts",
      "default": "./dist/seo/index.mjs"
    },
    "./page": {
      "types": "./dist/page/index.d.mts",
      "default": "./dist/page/index.mjs"
    },
    "./plugin-utils": {
      "types": "./dist/plugin-utils.d.mts",
      "default": "./dist/plugin-utils.mjs"
    },
    "./plugins/adapt-sandbox-entry": {
      "types": "./dist/plugins/adapt-sandbox-entry.d.mts",
      "default": "./dist/plugins/adapt-sandbox-entry.mjs"
    }
  },
  "imports": {
    "#api/schemas.js": "./src/api/schemas/index.js",
    "#api/*": "./src/api/*",
    "#db/*": "./src/database/*",
    "#auth/*": "./src/auth/*",
    "#schema/*": "./src/schema/*",
    "#search/*": "./src/search/*",
    "#sections/*": "./src/sections/*",
    "#menus/*": "./src/menus/*",
    "#widgets/*": "./src/widgets/*",
    "#import/*": "./src/import/*",
    "#utils/*": "./src/utils/*",
    "#preview/*": "./src/preview/*",
    "#seed/*": "./src/seed/*",
    "#settings/*": "./src/settings/*",
    "#seo/*": "./src/seo/*",
    "#plugins/*": "./src/plugins/*",
    "#media/*": "./src/media/*",
    "#mcp/*": "./src/mcp/*",
    "#comments/*": "./src/comments/*",
    "#types": "./src/astro/types.js"
  },
  "scripts": {
    "build": "tsdown",
    "dev": "tsdown --watch",
    "prepublishOnly": "node --run build",
    "typecheck": "tsgo --noEmit",
    "check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm --ignore-rules=no-resolution --ignore-rules=internal-resolution-error",
    "test": "vitest",
    "test:smoke": "vitest run --config vitest.smoke.config.ts",
    "test:integration": "vitest run --config vitest.integration.config.ts"
  },
  "dependencies": {
    "@emdash-cms/admin": "workspace:*",
    "@emdash-cms/auth": "workspace:*",
    "@emdash-cms/gutenberg-to-portable-text": "workspace:*",
    "@floating-ui/react": "^0.27.16",
    "@modelcontextprotocol/sdk": "^1.26.0",
    "@portabletext/toolkit": "^5.0.1",
    "@tiptap/core": "catalog:",
    "@tiptap/extension-focus": "catalog:",
    "@tiptap/extension-image": "catalog:",
    "@tiptap/extension-link": "catalog:",
    "@tiptap/extension-placeholder": "catalog:",
    "@tiptap/extension-text-align": "catalog:",
    "@tiptap/extension-typography": "catalog:",
    "@tiptap/extension-underline": "catalog:",
    "@tiptap/react": "catalog:",
    "@tiptap/starter-kit": "catalog:",
    "@tiptap/suggestion": "catalog:",
    "@unpic/placeholder": "^0.1.2",
    "arctic": "^3.7.0",
    "astro-portabletext": "^0.11.0",
    "better-sqlite3": "catalog:",
    "blurhash": "^2.0.5",
    "citty": "^0.1.6",
    "consola": "^3.4.2",
    "croner": "^10.0.1",
    "image-size": "^2.0.2",
    "jose": "^6.1.3",
    "jpeg-js": "^0.4.4",
    "kysely": "^0.27.0",
    "mime": "^4.1.0",
    "modern-tar": "^0.7.5",
    "picocolors": "^1.1.1",
    "sanitize-html": "^2.17.1",
    "sax": "^1.4.1",
    "ulidx": "^2.4.1",
    "upng-js": "^2.1.0",
    "zod": "^4.3.5"
  },
  "optionalDependencies": {
    "@libsql/kysely-libsql": "^0.4.0",
    "pg": "^8.0.0"
  },
  "peerDependencies": {
    "@astrojs/react": ">=5.0.0-beta.0",
    "@tanstack/react-query": ">=5.0.0",
    "@tanstack/react-router": ">=1.100.0",
    "astro": ">=6.0.0-beta.0",
    "react": ">=18.0.0",
    "react-dom": ">=18.0.0"
  },
  "devDependencies": {
    "@apidevtools/swagger-parser": "^12.1.0",
    "@arethetypeswrong/cli": "catalog:",
    "@emdash-cms/blocks": "workspace:*",
    "@types/better-sqlite3": "^7.6.12",
    "@types/pg": "^8.16.0",
    "@types/sanitize-html": "^2.16.0",
    "@types/sax": "^1.2.7",
    "@vitest/ui": "^4.0.17",
    "publint": "catalog:",
    "tsdown": "catalog:",
    "typescript": "catalog:",
    "vite": "^6.0.0",
    "vitest": "catalog:",
    "zod-openapi": "^5.4.6"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/emdash-cms/emdash.git",
    "directory": "packages/core"
  },
  "homepage": "https://github.com/emdash-cms/emdash",
  "keywords": [
    "astro",
    "cms",
    "content",
    "wordpress"
  ],
  "author": "Matt Kane",
  "license": "MIT"
}
