{
  "name": "smallest-cookie-banner",
  "version": "2.1.3",
  "description": "The smallest legally compliant cookie consent banner. ~7KB gzipped. Auto-detects EU for GDPR, implied consent elsewhere. Scoped Web Components with Shadow DOM.",
  "main": "dist/cookie-banner.js",
  "module": "dist/cookie-banner.js",
  "types": "dist/cookie-banner.d.ts",
  "unpkg": "dist/cookie-banner.min.js",
  "jsdelivr": "dist/cookie-banner.min.js",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "tsc && node scripts/fix-umd.js && terser dist/cookie-banner.js -o dist/cookie-banner.min.js -c -m --comments false",
    "build:watch": "tsc --watch",
    "test": "jest --coverage",
    "test:watch": "jest --watch",
    "lint": "eslint src __tests__",
    "lint:fix": "eslint src __tests__ --fix",
    "prepublishOnly": "npm run lint && npm test && npm run build",
    "typecheck": "tsc --noEmit"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/DreadfulCode/smallest-cookie-banner.git"
  },
  "keywords": [
    "cookie",
    "banner",
    "consent",
    "gdpr",
    "ccpa",
    "privacy",
    "smallest",
    "minimal",
    "tiny",
    "typescript"
  ],
  "author": "",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/DreadfulCode/smallest-cookie-banner/issues"
  },
  "homepage": "https://github.com/DreadfulCode/smallest-cookie-banner#readme",
  "devDependencies": {
    "@eslint/js": "^9.39.1",
    "@types/jest": "^29.5.11",
    "@typescript-eslint/eslint-plugin": "^8.49.0",
    "@typescript-eslint/parser": "^8.49.0",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "terser": "^5.27.0",
    "ts-jest": "^29.1.1",
    "typescript": "^5.3.3"
  },
  "jest": {
    "preset": "ts-jest",
    "testEnvironment": "jsdom",
    "roots": [
      "<rootDir>/__tests__"
    ],
    "moduleFileExtensions": [
      "ts",
      "js"
    ],
    "transform": {
      "^.+\\.ts$": "ts-jest"
    },
    "coverageReporters": [
      "text",
      "lcov",
      "json-summary"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 88,
        "functions": 80,
        "lines": 90,
        "statements": 90
      }
    },
    "collectCoverageFrom": [
      "src/**/*.ts"
    ]
  }
}
