@use-cookie-consent/core
Version:
React hook for managing GDPR cookie consent state.
117 lines (116 loc) • 3.19 kB
JSON
{
"name": "@use-cookie-consent/core",
"version": "v0.4.0-dev.1",
"description": "React hook for managing GDPR cookie consent state.",
"main": "./build/cjs/index.js",
"types": "./build/index.d.ts",
"module": "./build/esm/index.js",
"files": [
"build"
],
"resolutions": {
"glob-parent": "5.1.2",
"trim": "0.0.3"
},
"engines": {
"node": ">=12"
},
"scripts": {
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
"clean": "rimraf build",
"build": "rollup -c",
"prepublishOnly": "yarn build",
"test": "jest",
"test:watch": "jest --watch",
"coverage": "jest --ci --coverage",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"cy:run": "cypress run"
},
"keywords": [
"gdpr",
"cookies",
"react hooks",
"react"
],
"homepage": "https://use-cookie-consent.js.org/",
"repository": {
"type": "git",
"url": "git+https://github.com/use-cookie-consent/use-cookie-consent-core"
},
"bugs": {
"url": "https://github.com/use-cookie-consent/use-cookie-consent-core/issues"
},
"author": {
"name": "Antoni Silvestrovič",
"email": "antoni.silvestrovic@gmail.com",
"url": "http://antoni.ai/"
},
"license": "MIT",
"peerDependencies": {
"react": "^16.8 || ^17",
"react-dom": "^16.8 || ^17"
},
"devDependencies": {
"@babel/core": "^7.17.9",
"@quassum/prettier-config": "^1.0.1",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/pluginutils": "^4.1.1",
"@storybook/addon-actions": "^6.4.22",
"@storybook/addon-essentials": "^6.4.22",
"@storybook/addon-interactions": "^6.4.22",
"@storybook/addon-links": "^6.4.22",
"@storybook/react": "^6.4.22",
"@storybook/testing-library": "^0.0.9",
"@testing-library/react": "^12.1.1",
"@testing-library/react-hooks": "^7",
"@types/chai": "^4.3.1",
"@types/jest": "^27.0.2",
"@types/js-cookie": "^2",
"@types/node": "^14",
"@types/react": "^17.0.24",
"@types/react-dom": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"babel-loader": "^8.2.4",
"chai": "^4.3.6",
"cypress": "^9.6.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.1",
"husky": "^7.0.4",
"jest": "^27.2.3",
"jest-localstorage-mock": "^2.4.21",
"lint-staged": "^12.1.2",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rimraf": "^3",
"rollup": "^2.61.1",
"rollup-plugin-gzip": "^3.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.1",
"ts-jest": "^27",
"ts-node": "^10.7.0",
"tsconfig-paths": "^3.14.1",
"typescript": "^4.2"
},
"dependencies": {
"glob-parent": "^6.0.2",
"js-cookie": "^2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
}
}