@use-cookie-consent/react
Version:
useCookieConsent hook for React apps
96 lines (95 loc) • 2.63 kB
JSON
{
"name": "@use-cookie-consent/react",
"version": "0.3.7",
"description": "useCookieConsent hook for React apps",
"main": "build/index.js",
"module": "build/index.es.js",
"types": "build/index.d.ts",
"files": [
"build"
],
"scripts": {
"build": "rollup -c",
"storybook": "start-storybook -p 6006",
"storybook:export": "build-storybook",
"test": "jest",
"test:watch": "jest --watch",
"prepublishOnly": "yarn build",
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix"
},
"keywords": [
"gdpr",
"cookie",
"consent",
"hook",
"react"
],
"author": {
"name": "Antoni Silvestrovič",
"email": "antoni.silvestrovic@gmail.com",
"url": "http://antoni.ai/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/use-cookie-consent/use-cookie-consent-react.git"
},
"bugs": {
"url": "https://github.com/use-cookie-consent/use-cookie-consent-react/issues"
},
"homepage": "https://github.com/use-cookie-consent/use-cookie-consent-react#readme",
"peerDependencies": {
"react": "^17.0.0 || ^16.8.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^16.8.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/pluginutils": "^4.1.1",
"@storybook/core": "^6.3.10",
"@storybook/react": "^6.3.10",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.0.2",
"@types/node": "14",
"@types/react": "^17.0.28",
"@types/react-dom": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"babel-loader": "^8.2.2",
"babel-preset-react-app": "^10.0.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"husky": "^7.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.2.5",
"lint-staged": "^11.2.3",
"node-sass": "^6.0.1",
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollup": "^2.58.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.30.0",
"rollup-plugin-uglify": "^6.0.4",
"sass-loader": "^12.1.0",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
},
"dependencies": {
"@use-cookie-consent/core": "^0.3.6"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
}
}