cookie-consent/package.json
Pdn Technology 0370178cd7 1.1.2
2026-06-20 09:10:00 +03:00

82 lines
1.7 KiB
JSON

{
"name": "@pdntechnology/cookie-consent",
"version": "1.1.2",
"description": "Lightweight Google Consent Mode v2 CMP for React and Next.js",
"type": "module",
"main": "./src/index.js",
"module": "./src/index.js",
"types": "./src/index.d.ts",
"sideEffects": [
"./src/styles.css"
],
"exports": {
".": {
"types": "./src/index.d.ts",
"import": "./src/index.js",
"default": "./src/index.js"
},
"./react": {
"types": "./src/react/index.d.ts",
"import": "./src/react/index.js",
"default": "./src/react/index.js"
},
"./styles.css": "./src/styles.css"
},
"files": [
"src",
"README.md",
"README.tr.md",
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTING.md"
],
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm test && test -f README.md && test -f LICENSE"
},
"peerDependencies": {
"next": ">=14.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"peerDependenciesMeta": {
"next": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"vitest": "^3.2.4"
},
"keywords": [
"cookie-consent",
"consent-mode",
"google-consent-mode",
"consent-mode-v2",
"gtm",
"google-tag-manager",
"gdpr",
"cmp",
"react",
"nextjs"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/pdntechnology/cookie-consent.git"
},
"bugs": {
"url": "https://github.com/pdntechnology/cookie-consent/issues"
},
"homepage": "https://github.com/pdntechnology/cookie-consent#readme",
"publishConfig": {
"access": "public"
}
}