react-cookienotice
Version:
A lightweight & customizable cookie banner for your React App
111 lines (110 loc) • 3.28 kB
JSON
{
"name": "react-cookienotice",
"private": false,
"version": "7.0.1",
"description": "A lightweight & customizable cookie banner for your React App",
"author": "xavierbriole",
"license": "MIT",
"homepage": "https://react-cookienotice.vercel.app",
"repository": {
"type": "git",
"url": "https://github.com/xavierbriole/react-cookienotice"
},
"bugs": {
"url": "https://github.com/xavierbriole/react-cookienotice/issues"
},
"keywords": [
"banner",
"cookie banner",
"cookie notice",
"cookies",
"gdpr",
"notice",
"react",
"rgpd"
],
"type": "module",
"main": "./dist/react-cookienotice.umd.js",
"module": "./dist/react-cookienotice.es.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "vite build",
"test": "TZ=America/New_York vitest",
"test:ci": "run-s test:format test:ts test:lint test:coverage",
"test:format": "prettier --check .",
"test:ts": "tsc --noEmit",
"test:lint": "eslint --max-warnings 0 .",
"test:coverage": "TZ=America/New_York vitest run --coverage",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"devDependencies": {
"@chromatic-com/storybook": "^3.2.4",
"@eslint/compat": "^1.2.5",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@storybook/addon-essentials": "^8.5.0",
"@storybook/addon-interactions": "^8.5.0",
"@storybook/addon-links": "^8.5.0",
"@storybook/addon-onboarding": "^8.5.0",
"@storybook/blocks": "^8.5.0",
"@storybook/react": "^8.5.0",
"@storybook/react-vite": "^8.5.0",
"@storybook/test": "^8.5.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.7",
"@types/react": "^19.0.7",
"@types/react-dom": "^19.0.3",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.3",
"eslint": "^9.14.0",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-storybook": "^0.11.2",
"globals": "^15.14.0",
"jsdom": "^26.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"prop-types": "^15.8.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"storybook": "^8.5.0",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite-plugin-banner": "^0.8.0",
"vite-plugin-dts": "^4.5.0",
"vite-plugin-linter": "^3.0.1",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.0.3"
},
"peerDependencies": {
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0",
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0"
},
"files": [
"dist"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/react-cookienotice.es.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/react-cookienotice.umd.js"
}
},
"./style": "./dist/react-cookienotice.css",
"./dist/style.css": "./dist/react-cookienotice.css"
},
"volta": {
"node": "20.11.1"
}
}