mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
* udates * add regression test * feedback; remove assets * fix pipeline * pr feedback * fixes * fix pipeline * finalize rn03 work * fix ci * better foramt
73 lines
1.9 KiB
JSON
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"
|
|
}
|
|
}
|