{
  "name": "@shopify/checkout-kit",
  "version": "4.0.0-alpha.1",
  "description": "A web component for embedding Shopify's Checkout Kit in any website.",
  "license": "MIT",
  "author": "Shopify",
  "homepage": "https://github.com/Shopify/checkout-kit/tree/main/platforms/web",
  "bugs": {
    "url": "https://github.com/Shopify/checkout-kit/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Shopify/checkout-kit.git",
    "directory": "platforms/web"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public",
    "provenance": true
  },
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "source": "./src/index.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./custom-elements.json": "./dist/custom-elements.json",
    "./package.json": "./package.json"
  },
  "sideEffects": [
    "./src/index.ts",
    "./src/checkout-web-component.ts",
    "./dist/index.js"
  ],
  "files": [
    "LICENSE",
    "README.md",
    "package.json",
    "dist",
    "src"
  ],
  "keywords": [
    "shopify",
    "checkout",
    "web-components",
    "custom-elements",
    "headless-commerce",
    "ecommerce"
  ],
  "devDependencies": {
    "@custom-elements-manifest/analyzer": "^0.10.4",
    "@types/node": "^22.10.0",
    "@vitest/coverage-v8": "^3.2.4",
    "happy-dom": "^15.11.7",
    "oxfmt": "^0.47.0",
    "oxlint": "^1.62.0",
    "publint": "^0.3.12",
    "typescript": "5.9.3",
    "vite": "^7.3.2",
    "vite-plugin-dts": "^4.5.4",
    "vitest": "^3.2.4"
  },
  "engines": {
    "node": ">=22.14.0"
  },
  "customElements": "dist/custom-elements.json",
  "scripts": {
    "clean": "rm -rf dist coverage",
    "build": "vite build && pnpm run build:manifest",
    "build:manifest": "cem analyze --globs 'src/**/*.ts' --exclude 'src/**/*.test.ts' --outdir dist",
    "dev": "vite build --watch",
    "test": "vitest run --coverage",
    "test:watch": "vitest",
    "lint": "pnpm run typecheck && pnpm run sample:typecheck && pnpm run lint:js && pnpm run format:check",
    "lint:js": "oxlint --report-unused-disable-directives --max-warnings 0 src sample",
    "lint:js:fix": "oxlint --fix src sample",
    "format": "oxfmt src sample",
    "format:check": "oxfmt --check src sample",
    "typecheck": "tsc --noEmit",
    "sample": "vite --config sample/vite.config.ts",
    "sample:build": "vite build --config sample/vite.config.ts",
    "sample:preview": "vite preview --config sample/vite.config.ts",
    "sample:typecheck": "tsc --noEmit -p sample/tsconfig.json",
    "verify": "publint"
  }
}