{
  "name": "@pantheon-systems/p1-next-sdk",
  "version": "0.28.0",
  "license": "UNLICENSED",
  "description": "Next.js SDK for P1 editor integration",
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/",
    "provenance": false
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pantheon-systems/p1-platform.git",
    "directory": "packages/p1-next-sdk"
  },
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "p1-next-sdk": "./bin/p1-next-sdk.js"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./server": {
      "types": "./dist/server.d.ts",
      "import": "./dist/server.js"
    },
    "./chatbot": {
      "types": "./dist/chatbot/index.d.ts",
      "import": "./dist/chatbot/index.js"
    },
    "./localization": {
      "types": "./dist/localization/index.d.ts",
      "import": "./dist/localization/index.js"
    },
    "./editor.css": "./src/editor-client/editor.css"
  },
  "files": [
    "dist",
    "bin",
    "docs",
    "src/**/*.css",
    "!src/**/*.module.css",
    "!dist/**/*.map"
  ],
  "dependencies": {
    "@pantheon-systems/css-client": "0.28.0",
    "@pantheon-systems/p1-ai-chat": "0.11.1",
    "@pantheon-systems/puck-css": "0.28.0",
    "cookie": "^1.1.1",
    "launchdarkly-js-client-sdk": "^3.9.3",
    "server-only": "^0.0.1"
  },
  "peerDependencies": {
    "@pantheon-systems/pds-toolkit-react": ">=2.0.0-alpha.92",
    "@puckeditor/core": ">=0.24.0",
    "next": ">=14.0.0",
    "react": ">=18.0.0",
    "react-dom": ">=18.0.0"
  },
  "devDependencies": {
    "@pantheon-systems/eslint-config": "0.1.0",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/react": "^16.3.2",
    "@types/node": "^20.19.30",
    "@types/react": "^19.2.14",
    "eslint": "^9.27.0",
    "jsdom": "^24.1.3",
    "typescript": "^5.9.3",
    "vitest": "^4.1.5"
  },
  "homepage": "https://github.com/pantheon-systems/p1-platform/tree/main/packages/p1-next-sdk",
  "scripts": {
    "build": "pnpm run clean && tsc --emitDeclarationOnly --declarationMap false && tsc --declaration false --declarationMap false --sourceMap false --removeComments && node scripts/copy-css-assets.mjs",
    "clean": "rm -rf dist *.tsbuildinfo",
    "lint": "eslint src",
    "lint:fix": "eslint src --fix",
    "test": "vitest run",
    "typecheck": "tsc --noEmit"
  }
}