{
"name": "@hxa-rn/react-native-encrypted-storage",
"displayName": "@hxa-rn/react-native-encrypted-storage",
"version": "4.0.7",
"description": "A React Native wrapper over SharedPreferences and Keychain to provide a secure alternative to Async Storage (HarmonyOS adaptation)",
"main": "./src/index.ts",
"module": "./src/index.ts",
"react-native": "./src/index.ts",
"types": "./src/index.ts",
"license": "MIT",
"author": "hxa-rn",
"private": false,
"repository": {
"type": "git",
"url": "https://gitcode.com/hxa-rn/react-native-encrypted-storage.git"
},
"keywords": [
"react-native",
"harmony",
"harmonyos"
],
"homepage": "https://gitcode.com/hxa-rn/react-native-encrypted-storage",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"files": [
"src/",
"harmony/",
"README.md",
"LICENSE"
],
"scripts": {
"build:har": "node ./scripts/build-har.mjs",
"codegen-lib": "react-native codegen-lib-harmony --no-safety-check --npm-package-name encrypted_storage --cpp-output-path ./harmony/encrypted_storage/src/main/cpp/generated --ets-output-path ./harmony/encrypted_storage/src/main/ets/generated --turbo-modules-spec-paths ./src/specs/v1/NativeRNEncryptedStorage.ts"
},
"peerDependencies": {
"react-native": ">=0.72"
},
"devDependencies": {
"typescript": "5.0.4",
"@react-native/typescript-config": "0.79.5",
"react": "18.2.0",
"@types/react": "18.2.79",
"react-native": "0.72.5",
"jest": "^29.6.3",
"react-native-builder-bob": "^0.18.0",
"@react-native-oh/react-native-harmony-cli": "^0.77.50",
"metro": "^0.81.0"
},
"engines": {
"node": ">=18"
},
"harmony": {
"alias": "react-native-encrypted-storage",
"autolinking": {
"cmakeLibraryTargetName": "encrypted_storage",
"ohPackageName": "@hxa-rn/react-native-encrypted-storage",
"etsPackageClassName": "EncryptedStoragePackage",
"cppPackageClassName": "EncryptedStoragePackage"
}
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"targets": [
"commonjs",
"module",
"typescript"
]
}
}