UNPKG

@asafarim/react-privacy-consent

Version:

A comprehensive React TypeScript package for GDPR/CCPA privacy consent management with customizable UI components

80 lines 2.13 kB
{ "name": "@asafarim/react-privacy-consent", "version": "1.7.2", "description": "A comprehensive React TypeScript package for GDPR/CCPA privacy consent management with customizable UI components", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./styles.css": "./dist/styles.css", "./src/assets/*.*": "./src/assets/*.*", "./demo": "./demo" }, "files": [ "dist", "README.md", "LICENSE", "demo", "src/styles.css", "src/assets/*.png" ], "keywords": [ "react", "typescript", "privacy", "consent", "gdpr", "ccpa", "cookie", "compliance", "banner", "ui", "components" ], "author": "ASafariM <ali@asafarim.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/AliSafari-IT/react-privacy-consent.git" }, "homepage": "https://alisafari-it.github.io/react-privacy-consent/", "bugs": { "url": "https://github.com/AliSafari-IT/react-privacy-consent/issues" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "devDependencies": { "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "@types/jest": "^29.5.0", "@testing-library/react": "^14.0.0", "@testing-library/jest-dom": "^6.0.0", "@testing-library/user-event": "^14.0.0", "eslint": "^8.57.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "tsup": "^8.0.0", "typescript": "^5.3.0" }, "publishConfig": { "access": "public" }, "scripts": { "build": "tsup && cp src/styles.css dist/ && cp -r src/assets dist/ && robocopy demo dist/demo /E /XD node_modules || exit 0", "dev": "tsup --watch", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src --ext .ts,.tsx", "lint:fix": "eslint src --ext .ts,.tsx --fix", "type-check": "tsc --noEmit", "clean": "rm -rf dist" } }