{
  "$schema": "https://json.schemastore.org/package",
  "name": "commerce-kit",
  "version": "0.39.0",
  "type": "module",
  "license": "AGPL-3.0-only",
  "keywords": [
    "commerce",
    "ecommerce",
    "shop",
    "shopping",
    "next.js",
    "react",
    "stripe"
  ],
  "author": {
    "name": "Your Next Store",
    "email": "hi@yournextstore.com",
    "url": "https://yournextstore.com"
  },
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./browser": {
      "import": "./dist/browser.js",
      "types": "./dist/browser.d.ts",
      "default": "./dist/browser.js"
    },
    "./feedback-toolbar": {
      "import": "./dist/feedback-toolbar.js",
      "types": "./dist/feedback-toolbar.d.ts",
      "default": "./dist/feedback-toolbar.js"
    },
    "./sandbox-inspectors": {
      "import": "./dist/sandbox-inspectors.js",
      "types": "./dist/sandbox-inspectors.d.ts",
      "default": "./dist/sandbox-inspectors.js"
    }
  },
  "files": [
    "package.json",
    "dist",
    "README.md",
    "LICENSE.md"
  ],
  "sideEffects": [
    "./dist/browser.js",
    "./dist/feedback-toolbar.js",
    "./dist/sandbox-inspectors.js"
  ],
  "scripts": {
    "dev": "tsup --config tsup.config.ts --watch",
    "lint": "biome check --write --unsafe",
    "test": "bun test",
    "prepare": "bun husky",
    "build": "biome check && rimraf dist/* && tsup --config tsup.config.ts",
    "publishPackage": "sh -c 'case \"$1\" in patch|minor|major) true ;; *) echo \"Usage: bun run publishPackage <patch|minor|major>\"; false ;; esac && echo \"This will bump the $1 version, publish to npm, and push to git. Continue? (y/N)\" && read -r ans && [ \"$ans\" = \"y\" ] && npm version \"$1\" && npm publish && git push && git push --tags' --",
    "prepublishOnly": "bun run build"
  },
  "devDependencies": {
    "@biomejs/biome": "2.4.15",
    "@types/node": "^24.12.4",
    "@types/react": "^19.2.15",
    "@types/react-dom": "^19.0.0",
    "@typescript/native-preview": "7.0.0-dev.20260523.1",
    "husky": "9.1.7",
    "lint-staged": "17.0.5",
    "react": "^19.2.6",
    "react-dom": "^19.2.6",
    "rimraf": "6.1.3",
    "tsup": "8.5.1",
    "tsx": "^4.22.3",
    "typescript": "6.0.3",
    "zod": "^4.4.3"
  },
  "peerDependencies": {
    "@types/node": "^24.12.4",
    "react": "^19",
    "react-dom": "^19",
    "typescript": "5.9.3",
    "@typescript/native-preview": "7.0.0-dev.20251022.1",
    "zod": "^4.4.3"
  },
  "peerDependenciesMeta": {
    "typescript": {
      "optional": true
    },
    "@typescript/native-preview": {
      "optional": true
    },
    "react": {
      "optional": true
    },
    "react-dom": {
      "optional": true
    }
  },
  "peerDependencyRules": {
    "allowedVersions": {
      "react": "^19",
      "react-dom": "^19"
    }
  },
  "packageManager": "bun@1.3.3",
  "lint-staged": {
    "*": [
      "bun biome check --write --unsafe --staged --no-errors-on-unmatched --files-ignore-unknown=true"
    ]
  }
}
