60 lines
1.4 KiB
JSON
60 lines
1.4 KiB
JSON
{
|
|
"name": "@pdntechnology/cookie-consent",
|
|
"version": "1.0.0",
|
|
"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": {
|
|
".": {
|
|
"import": "./src/index.js",
|
|
"default": "./src/index.js"
|
|
},
|
|
"./react": {
|
|
"import": "./src/react/index.js",
|
|
"default": "./src/react/index.js"
|
|
},
|
|
"./styles.css": "./src/styles.css"
|
|
},
|
|
"files": ["src", "README.md", "LICENSE"],
|
|
"scripts": {
|
|
"prepublishOnly": "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 }
|
|
},
|
|
"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": "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"
|
|
}
|
|
}
|