lukaskupczyk/react-hook-consent

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "name": "react-hook-consent",
    "version": "3.5.3",
    "description": "React consent management solution and banner for cookies and (external) scripts.",
    "scripts": {
        "build": "node esbuild.config.mjs production",
        "dev": "node esbuild.config.mjs dev",
        "postbuild": "tsc --emitDeclarationOnly --declaration",
        "test": "jest",
        "test:dev": "jest --watch",
        "coverage": "jest --coverage --collectCoverageFrom=\"./src/**\""
    },
    "main": "./dist/index.js",
    "module": "./dist/index.js",
    "types": "./dist/index.d.ts",
    "repository": "git@github.com:lukaskupczyk/react-hook-consent.git",
    "author": "Lukas Kupczyk <lukas@kupczyk.net>",
    "license": "MIT",
    "homepage": "https://github.com/lukaskupczyk/react-hook-consent",
    "keywords": [
        "react",
        "nextjs",
        "consent",
        "cookie",
        "react-hooks",
        "hooks",
        "banner",
        "gdpr"
    ],
    "devDependencies": {
        "@babel/preset-env": "^7.20.2",
        "@babel/preset-react": "^7.18.6",
        "@babel/preset-typescript": "^7.18.6",
        "@testing-library/jest-dom": "^5.16.5",
        "@testing-library/react": "^13.4.0",
        "@testing-library/user-event": "^14.4.3",
        "@types/js-cookie": "^3.0.2",
        "@types/object-hash": "^3.0.2",
        "@types/react": "^18.0.26",
        "@types/react-dom": "^18.0.10",
        "@types/react-toggle": "^4.0.3",
        "@typescript-eslint/eslint-plugin": "^5.48.1",
        "@typescript-eslint/parser": "^5.48.1",
        "esbuild": "^0.16.17",
        "esbuild-sass-plugin": "^2.4.5",
        "eslint": "^8.31.0",
        "eslint-config-prettier": "^8.6.0",
        "eslint-plugin-react": "^7.32.0",
        "eslint-plugin-react-hooks": "^4.6.0",
        "jest": "^29.3.1",
        "jest-environment-jsdom": "^29.3.1",
        "jest-matchmedia-mock": "^1.1.0",
        "js-cookie": "^3.0.1",
        "prettier": "^2.8.2",
        "react": "^18.2.0",
        "react-dom": "^18.2.0",
        "stylelint": "^14.16.1",
        "stylelint-config-prettier": "^9.0.4",
        "stylelint-config-property-sort-order-smacss": "^9.0.0",
        "stylelint-config-standard-scss": "^6.1.0",
        "ts-node": "^10.9.1",
        "typescript": "^4.9.4"
    },
    "peerDependencies": {
        "react": ">=16.8.0",
        "react-dom": ">=16.8.0"
    },
    "files": [
        "/dist"
    ],
    "dependencies": {
        "object-hash": "^3.0.0",
        "react-toggle": "^4.1.3"
    }
}