{
"name": "@react-native-ohos/react-native-view-shot",
"version": "4.0.1",
"description": "Capture a React Native view to an image",
"scripts": {
"test": "jest",
"test:coverage": "jest --coverage"
},
"harmony": {
"alias": "react-native-view-shot",
"autolinking": {
"etsPackageClassName": "ViewShotPackage",
"cppPackageClassName": "ViewShotPackage",
"cmakeLibraryTargetName": "rnoh_view_shot",
"ohPackageName": "@react-native-ohos/react-native-view-shot"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"react-native": "src/index.tsx",
"exports": {
".": {
"react-native": "./src/index.tsx",
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"default": "./lib/index.js"
},
"./package.json": "./package.json"
},
"keywords": [
"react-native",
"screenshot",
"viewshot",
"view-snapshot",
"snapshot",
"rasterize",
"ohos",
"harmony",
"openharmony"
],
"author": "Gaëtan Renaudeau <renaudeau.gaetan@gmail.com>",
"homepage": "https://gitcode.com/CPF-RN/rntpc_react-native-view-shot",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://gitcode.com/CPF-RN/rntpc_react-native-view-shot.git"
},
"dependencies": {
"html2canvas": "^1.4.1",
"react-native-view-shot": "5.1.1"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/react": "^19.1.0",
"flow-bin": "^0.170.0",
"html-webpack-plugin": "^5.5.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^19.1.0",
"react-dom": "^19.2.8",
"react-native-windows": "^0.63.16",
"ts-jest": "^29.2.5",
"typescript": "^5.5.4"
}
}