gdpr-consent
Version:
GDPR banner to comply with the European cookie law. Inspired by tarteaucitronjs.
87 lines (86 loc) • 2.4 kB
JSON
{
"name": "gdpr-consent",
"version": "5.0.4",
"description": "GDPR banner to comply with the European cookie law. Inspired by tarteaucitronjs.",
"license": "MIT",
"repository": "lesjoursfr/gdpr-consent",
"homepage": "https://github.com/lesjoursfr/gdpr-consent#readme",
"bugs": {
"url": "https://github.com/lesjoursfr/gdpr-consent/issues"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "20.x || 22.x || 24.x"
},
"browserslist": [
"> 1%",
"last 3 versions",
"not dead"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"scripts": {
"freshlock": "rm -rf node_modules/ && rm .yarn/install-state.gz && rm yarn.lock && yarn",
"eslint-check": "eslint",
"eslint-fix": "eslint --fix",
"stylelint-check": "stylelint **/*.scss",
"stylelint-fix": "stylelint **/*.scss --fix",
"prettier-check": "prettier --check .",
"prettier-fix": "prettier --write .",
"build-esm": "tsc",
"build-browser": "webpack --mode production --config ./server/webpack.config.js --progress",
"build": "npm run build-esm && npm run build-browser",
"server": "webpack serve --mode development --config ./server/webpack.config.js --hot --open"
},
"files": [
"src/**/*",
"dist/**/*",
"build/**/*"
],
"keywords": [
"cookie",
"law",
"RGPD",
"GDPR"
],
"dependencies": {
"@lesjoursfr/browser-tools": "^1.1.8",
"js-cookie": "^3.0.5"
},
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@eslint/js": "^9.23.0",
"@tsconfig/next": "^2.0.3",
"@types/babel__core": "^7.20.5",
"@types/babel__preset-env": "^7.10.0",
"@types/facebook-js-sdk": "^3.3.12",
"@types/js-cookie": "^3.0.6",
"@types/node": "^22.13.15",
"babel-loader": "^10.0.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.2",
"eslint": "^9.23.0",
"eslint-config-prettier": "^10.1.1",
"globals": "^16.0.0",
"mini-css-extract-plugin": "^2.9.2",
"postcss": "^8.5.3",
"prettier": "^3.5.3",
"sass": "^1.86.1",
"sass-loader": "^16.0.5",
"stylelint": "^16.17.0",
"stylelint-config-sass-guidelines": "^12.1.0",
"terser-webpack-plugin": "^5.3.14",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"typescript": "^5.8.2",
"typescript-eslint": "^8.29.0",
"webpack": "^5.98.0",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.1"
},
"packageManager": "yarn@4.8.1"
}