Files
self/packages/rn-sdk/package.json
Justin Hernandez 774fe295ca Complete RN-03 NFC hardening and stabilize RN SDK tests (#1797)
* udates

* add regression test

* feedback; remove assets

* fix pipeline

* pr feedback

* fixes

* fix pipeline

* finalize rn03 work

* fix ci

* better foramt
2026-03-10 21:40:50 -07:00

73 lines
1.9 KiB
JSON

{
"name": "@selfxyz/rn-sdk",
"version": "0.0.1-alpha.1",
"description": "Self Protocol React Native SDK — thin WebView wrapper for identity verification",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.mjs"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"assets"
],
"scripts": {
"build": "yarn copy-assets && tsup",
"copy-assets": "mkdir -p ./assets/self-wallet && cp -r ../webview-app/dist/. ./assets/self-wallet/",
"prepublishOnly": "yarn build",
"test": "yarn copy-assets && tsup && vitest run",
"typecheck": "tsc --noEmit",
"types": "tsup"
},
"dependencies": {
"@selfxyz/webview-bridge": "workspace:^"
},
"devDependencies": {
"@selfxyz/webview-app": "workspace:^",
"@types/react": "^18.3.4",
"react": "^18.3.1",
"react-native": "0.76.9",
"react-native-biometrics": "^3.0.1",
"react-native-fs": "^2.20.0",
"react-native-keychain": "^9.2.3",
"react-native-nfc-manager": "^3.17.2",
"react-native-webview": "13.16.0",
"tsup": "^8.0.1",
"typescript": "^5.9.3",
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": "^18.0.0",
"react-native": ">=0.72.0",
"react-native-biometrics": "^3.0.1",
"react-native-fs": "^2.20.0",
"react-native-keychain": ">=8.2.0 <11",
"react-native-nfc-manager": "^3.14.0",
"react-native-webview": ">=13.0.0"
},
"peerDependenciesMeta": {
"react-native-biometrics": {
"optional": true
},
"react-native-fs": {
"optional": true
},
"react-native-keychain": {
"optional": true
},
"react-native-nfc-manager": {
"optional": true
}
},
"publishConfig": {
"access": "restricted"
}
}