UNPKG

c15t

Version:

Headless JavaScript consent management platform for cookie banners, privacy preferences, consent storage, and script gating.

95 lines (94 loc) 2.43 kB
{ "name": "c15t", "version": "2.2.1", "description": "Headless JavaScript consent management platform for cookie banners, privacy preferences, consent storage, and script gating.", "keywords": [ "consent", "privacy", "gdpr", "ccpa", "lgpd", "tcf", "iab", "cmp", "consent-management", "consent-management-platform", "cookie-banner", "cookie-consent", "cookies", "consent-banner", "consent-manager", "preference-center", "headless", "javascript", "typescript", "ssr", "server-side-rendering", "tracking-consent", "eu-cookie-law", "google-consent-mode", "consent-mode-v2", "self-hosted-cmp" ], "homepage": "https://c15t.com/docs/frameworks/javascript/quickstart", "bugs": { "url": "https://github.com/c15t/c15t/issues" }, "repository": { "type": "git", "url": "https://github.com/c15t/c15t.git", "directory": "packages/core" }, "license": "Apache-2.0", "type": "module", "exports": { ".": { "types": "./dist-types/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "main": "dist/index.cjs", "module": "dist/index.js", "types": "./dist-types/index.d.ts", "files": [ "dist", "dist-types", "AGENTS.md", "docs", "README.md", "CHANGELOG.md" ], "scripts": { "prebuild": "genversion --esm --semi src/version.ts", "build": "bun prebuild && rslib build && bun ../../scripts/normalize-dist-types.mjs && bun ../../scripts/generate-package-docs.ts c15t", "build:docs": "bun ../../scripts/generate-package-docs.ts c15t", "check-types": "bun prebuild && tsc --noEmit", "check-types:test": "tsc -p tsconfig.test.json", "dev": "sh -c 'bun prebuild && rslib build --no-dts --no-clean && rslib build --watch --no-dts --no-clean'", "fmt": "bun biome format --write . && bun biome check --formatter-enabled=false --linter-enabled=false --write", "lint": "bun biome lint ./src", "prepack": "bun ../../scripts/verify-package-artifacts.ts", "test": "bun prebuild && vitest run", "test:watch": "bun prebuild && vitest" }, "browserslist": [ ">0.2%", "not dead", "not op_mini all" ], "dependencies": { "@c15t/schema": "2.2.0", "@c15t/translations": "2.2.1", "zustand": "5.0.14" }, "devDependencies": { "@c15t/typescript-config": "0.0.1", "@c15t/vitest-config": "1.0.0", "genversion": "3.2.0", "vitest-localstorage-mock": "0.1.2" }, "publishConfig": { "access": "public" } }