react-native-screenguard
Version:
A Native screenshot blocking library for React-Native developer, with background customizable after captured. Screenshot detector are also supported.
130 lines • 3.29 kB
JSON
{
"name": "react-native-screenguard",
"version": "2.0.1",
"description": "A Native screenshot blocking library for React-Native developer, with background customizable after captured. Screenshot detector are also supported.",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index.ts",
"source": "src/index.ts",
"directories": {
"example": "example"
},
"devDependencies": {
"@expo/config-plugins": "^54.0.4",
"@react-native-community/eslint-config": "^3.0.2",
"@types/jest": "^28.1.2",
"@types/node": "^25.0.3",
"@types/react": "~17.0.21",
"@types/react-native": "0.70.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^28.1.1",
"metro-react-native-babel-preset": "^0.77.0",
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"react": "18.2.0",
"react-native": "^0.75.0",
"react-native-builder-bob": "0.35.0",
"react-native-codegen": "^0.70.7",
"typescript": "^4.5.2"
},
"resolutions": {
"@types/react": "17.0.21"
},
"peerDependencies": {
"react": ">=17 <19",
"react-native": ">=0.68.0"
},
"engines": {
"node": ">= 16.0.0"
},
"scripts": {
"test": "jest",
"pre": "npm pack --dry-run",
"pub": "npm publish",
"prepare": "npm run build && npm run typecheck && npm run test",
"build": "rm -rf lib && bob build && rm -f lib/commonjs/NativeScreenGuard.js* lib/module/NativeScreenGuard.js* lib/typescript/NativeScreenGuard.d.ts*",
"typecheck": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gbumps/react-native-screenguard.git"
},
"keywords": [
"screenguard",
"detector",
"screen-capture",
"capturing",
"protection",
"prevent",
"screenshot",
"secure",
"security",
"privacy",
"screen-capture",
"captured",
"screenshot-prevent",
"screenshot-blocker",
"screenshot-detector",
"screenshot-protection",
"screenshot-prevention",
"screenshot-blocking",
"screenshot-block",
"screenshot-blocker",
"screenshot-blocking-ios",
"screenshot-blocking-android",
"screenshot-block-ios",
"screenshot-block-android",
"screenshot-blocker-ios",
"screenshot-blocker-android",
"react",
"native",
"ios",
"android"
],
"author": "Thong Bui",
"license": "MIT",
"bugs": {
"url": "https://github.com/gbumps/react-native-screenguard/issues"
},
"codegenConfig": {
"name": "ScreenGuardSpec",
"type": "all",
"jsSrcsDir": "./src",
"android": {
"javaPackageName": "com.screenguard"
}
},
"homepage": "https://gbumps.github.io/react-native-screenguard",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"app.plugin.js",
"*.podspec",
"!lib/typescript/example",
"!android/build",
"!ios/build",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
}
}