react-anticapture
Version:
A lightweight React component that helps prevent users from capturing (copying, selecting, printing, or screenshotting) sensitive information rendered on your website. Perfect for privacy, security, and content protection in React applications.
145 lines • 4.24 kB
JSON
{
"name": "react-anticapture",
"homepage": "https://github.com/dimsp4/react-anticapture",
"private": false,
"version": "0.1.5",
"type": "module",
"files": [
"dist"
],
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
}
},
"keywords": [
"react",
"react-anticapture",
"anticapture",
"anti-capture",
"privacy",
"security",
"copy-protection",
"content-protection",
"prevent-copy",
"prevent-screenshot",
"screenshot",
"screenshot-prevention",
"screenshot-block",
"screenshot-protection",
"no-screenshot",
"no-copy",
"screen-capture",
"screen-recording",
"clipboard",
"clipboard-protection",
"clipboard-prevent",
"disable-copy",
"disable-screenshot",
"disable-print",
"context-menu",
"no-context-menu",
"devtools",
"react-component",
"ui-security",
"data-protection",
"prevent-selection",
"prevent-print",
"sensitive-data",
"user-select",
"secure-component",
"web-security",
"frontend-security",
"library",
"component"
],
"description": "A lightweight React component that helps prevent users from capturing (copying, selecting, printing, or screenshotting) sensitive information rendered on your website. Perfect for privacy, security, and content protection in React applications.",
"peerDependencies": {
"react": ">=18.2.0",
"react-dom": ">=18.2.0"
},
"dependencies": {
"devtools-detect": "^4.0.2"
},
"devDependencies": {
"@eslint/compat": "1.2.8",
"@eslint/eslintrc": "3.1.0",
"@eslint/js": "9.14.0",
"@storybook/addon-essentials": "8.6.3",
"@storybook/addon-interactions": "8.6.3",
"@storybook/addon-links": "8.6.3",
"@storybook/blocks": "8.6.3",
"@storybook/builder-vite": "8.6.3",
"@storybook/react": "8.6.3",
"@storybook/react-vite": "8.6.3",
"@storybook/test": "8.6.3",
"@storybook/types": "8.6.3",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.0.1",
"@types/jest": "29.5.14",
"@types/lodash": "4.17.16",
"@types/react": "19.0.12",
"@types/react-dom": "19.0.4",
"@typescript-eslint/eslint-plugin": "8.26.0",
"@typescript-eslint/parser": "8.26.0",
"@vitejs/plugin-react": "4.3.4",
"@yelo/rollup-node-external": "1.0.1",
"alias-hq": "6.2.4",
"eslint": "9.14.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-prettier": "5.2.6",
"eslint-plugin-react": "7.37.4",
"eslint-plugin-react-hooks": "5.2.0",
"eslint-plugin-react-refresh": "0.4.19",
"eslint-plugin-ssr-friendly": "1.3.0",
"eslint-plugin-storybook": "0.11.3",
"generate-react-cli": "8.4.9",
"husky": "9.1.7",
"identity-obj-proxy": "3.0.0",
"is-ci": "3.0.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "15.2.10",
"npm-run-all2": "7.0.2",
"postcss": "8.5.3",
"postcss-preset-env": "10.1.5",
"prettier": "3.3.3",
"react": "19.1.0",
"react-docgen-typescript": "2.2.2",
"react-dom": "19.1.0",
"storybook": "8.6.3",
"stylelint": "16.10.0",
"stylelint-config-standard": "36.0.1",
"stylelint-order": "6.0.4",
"stylelint-prettier": "5.0.3",
"ts-jest": "29.2.6",
"ts-node": "10.9.2",
"typescript": "5.8.2",
"typescript-eslint": "8.26.0",
"vite": "6.2.7",
"vite-plugin-dts": "4.5.3"
},
"scripts": {
"dev": "vite",
"clean:lib": "rm -rf dist",
"build:lib": "vite build",
"build": "run-s clean:lib build:lib",
"lint:code": "eslint src/** --report-unused-disable-directives",
"fix:code": "run-s 'lint:code --fix'",
"lint:types": "tsc --pretty --noEmit",
"lint:style": "stylelint ./src/**/*.css",
"fix:style": "run-s 'lint:style --fix'",
"test": "jest",
"preview": "vite preview",
"start:docs": "storybook dev -p 6006",
"build:docs": "storybook build",
"generate:component": "npx generate-react-cli component",
"lint-staged": "lint-staged"
}
}