Initial commit: libp2p-native-bridge package
- Extracted libp2p component from main app - Created modular package structure with interfaces and implementations - Added dependency injection for NativeModules - Configured for IOR loading from Gitea - Added comprehensive README and documentation
This commit is contained in:
36
package.json
Normal file
36
package.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "@metatrom/libp2p-native-bridge",
|
||||
"version": "1.0.0",
|
||||
"main": "index.ts",
|
||||
"type": "module",
|
||||
"description": "Native libp2p bridge for React Native applications",
|
||||
"metatrom": {
|
||||
"ior": "com.metatrom.libp2p-native-bridge@1.0.0",
|
||||
"capabilities": {
|
||||
"p2p": true,
|
||||
"contracts": false,
|
||||
"viewer": false,
|
||||
"sync": true
|
||||
}
|
||||
},
|
||||
"exports": {
|
||||
".": "./index.ts",
|
||||
"./settings": "./implementations/SettingsService.ts",
|
||||
"./ui": "./implementations/SettingsUI.tsx",
|
||||
"./interfaces": "./interfaces/index.ts"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18.0.0",
|
||||
"react-native": ">=0.72.0",
|
||||
"@react-native-async-storage/async-storage": "*"
|
||||
},
|
||||
"keywords": [
|
||||
"libp2p",
|
||||
"react-native",
|
||||
"p2p",
|
||||
"networking",
|
||||
"metatrom"
|
||||
],
|
||||
"author": "Metatrom",
|
||||
"license": "MIT"
|
||||
}
|
||||
Reference in New Issue
Block a user