mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-04-05 23:12:55 +02:00
75 lines
2.4 KiB
JSON
75 lines
2.4 KiB
JSON
{
|
|
"name": "react-cookie-consent",
|
|
"author": {
|
|
"name": "Rick van Lieshout",
|
|
"email": "info@rickvanlieshout.com"
|
|
},
|
|
"version": "7.1.0",
|
|
"description": "A small, simple and customizable cookie consent bar for use in React applications.",
|
|
"main": "build/index.js",
|
|
"types": "build/index.d.ts",
|
|
"dependencies": {
|
|
"js-cookie": "^2.2.1",
|
|
"prop-types": "^15.7.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.13.1 || ^17.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "webpack",
|
|
"prettier": "prettier 'src/**/*.{js*,ts*,htm*,md,scss}' --write",
|
|
"patch": "npm --no-git-tag-version version patch",
|
|
"minor": "npm --no-git-tag-version version minor",
|
|
"major": "npm --no-git-tag-version version major",
|
|
"preversion": "grep \"\\[$npm_package_version\\]\" CHANGELOG.md > /dev/null || ( echo 'You need to add an entry in CHANGELOG.md for this version.' && false )",
|
|
"release": "npm run build && git add -A && git tag $npm_package_version && git commit -m \"release $npm_package_version\" && git push && git push --tags && npm publish",
|
|
"release-patch": "npm run patch && npm run release",
|
|
"release-minor": "npm run minor && npm run release",
|
|
"release-major": "npm run major && npm run release"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Mastermindzh/react-cookie-consent.git"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"cookie",
|
|
"consent",
|
|
"cookiebar"
|
|
],
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/Mastermindzh/react-cookie-consent/issues"
|
|
},
|
|
"homepage": "https://github.com/Mastermindzh/react-cookie-consent#readme",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.12.1",
|
|
"@babel/core": "^7.12.3",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
|
|
"@babel/plugin-transform-object-assign": "^7.12.1",
|
|
"@babel/plugin-transform-react-jsx": "^7.12.1",
|
|
"@babel/preset-env": "^7.12.1",
|
|
"@mastermindzh/prettier-config": "^1.0.0",
|
|
"@types/js-cookie": "^2.2.6",
|
|
"babel-loader": "^8.1.0",
|
|
"copy-webpack-plugin": "^6.2.1",
|
|
"husky": "^4.3.0",
|
|
"lint-staged": "^10.5.1",
|
|
"prettier": "^2.1.2",
|
|
"react": "^16.13.1",
|
|
"webpack": "^5.3.2",
|
|
"webpack-cli": "^4.1.0"
|
|
},
|
|
"prettier": "@mastermindzh/prettier-config",
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged --allow-empty"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js*,ts*,htm*,md,scss}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|