UNPKG

@consentry/next

Version:

Next.js + React integration layer for the Consentry SDK. Manages cookie preferences, script injection, and analytics sync.

70 lines (69 loc) 1.67 kB
{ "name": "@consentry/next", "version": "0.1.21", "description": "Next.js + React integration layer for the Consentry SDK. Manages cookie preferences, script injection, and analytics sync.", "keywords": [ "nextjs", "react", "consent-manager", "cookie-consent", "cookie-banner", "analytics", "google-analytics", "privacy", "gtag", "cookie-policy", "gdpr" ], "homepage": "https://github.com/consentryio/consentry/tree/main/consentry-next#readme", "repository": { "type": "git", "url": "https://github.com/consentryio/consentry.git", "directory": "consentry-next" }, "bugs": { "url": "https://github.com/consentryio/consentry/issues" }, "author": { "name": "Mustafa ONAL", "email": "mustafasaitonal@outlook.com", "url": "https://github.com/neddl" }, "license": "MIT", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist" ], "scripts": { "build": "tsup", "dev": "tsup --watch", "clean": "rm -rf dist" }, "dependencies": { "@consentry/core": "^0.1.8" }, "peerDependencies": { "next": ">=13.0.0 <16.0.0", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "devDependencies": { "@types/js-cookie": "^3.0.6", "@types/node": "^22.14.1", "@types/react": "^19.1.1", "@types/react-dom": "^19.1.2", "react": "^19.1.0", "react-dom": "^19.1.0", "tsup": "^8.4.0", "typescript": "^5.0.0" } }