Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 4.57 KB
/
Copy pathpackage.json
File metadata and controls
157 lines (157 loc) · 4.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "@utexo/rgb-sdk-rn",
"version": "1.0.0-beta.39",
"description": "React Native SDK for Bitcoin RGB Protocol",
"main": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"types": "./lib/typescript/src/index.d.ts",
"default": "./lib/module/index.js"
},
"./package.json": "./package.json",
"./webrgb": {
"source": "./src/integrations/webrgb/index.ts",
"types": "./lib/typescript/src/integrations/webrgb/index.d.ts",
"default": "./lib/module/integrations/webrgb/index.js"
}
},
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"scripts",
"*.podspec",
"!src/bindings/extracted-android/**",
"!src/bindings/.tmp-rln-android/**",
"!lib/module/bindings/**",
"!lib/typescript/src/bindings/**",
"!android/src/main/jniLibs/**",
"!android/src/main/java/org/utexo/**",
"!ios/build",
"!ios/rgb_libFFI.xcframework",
"!ios/RGBLightningNode.xcframework",
"!ios/RGBLightningNodeFFI.h",
"!ios/RGBLightningNodeFFI.modulemap",
"!ios/RGBLightningNode.swift",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*",
"!src/bindings/**/*.zip",
"!ios/*.zip",
"!scripts/*.test.mjs"
],
"scripts": {
"dev": "tsc -w",
"clean": "del-cli android/build ios/build lib",
"prepare": "bob build",
"postinstall": "node scripts/download-rln-bindings.js",
"typecheck": "tsc",
"codegen": "mkdir -p android/build/generated/source/codegen && node node_modules/@react-native/codegen/lib/cli/combine/combine-js-to-schema-cli.js android/build/generated/source/codegen/schema.json src/binding/NativeRgb.ts && node node_modules/@react-native/codegen/lib/cli/generators/generate-all.js android/build/generated/source/codegen/schema.json RgbSpec android/build/generated/source/codegen com.rgbsdkrn",
"build": "bob build",
"build:watch": "tsc -w",
"prettier": "prettier --write \"**/*.{js,ts,tsx}\"",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"version:patch": "npm version patch && git push && git push --tags && npm publish --access public",
"version:minor": "npm version minor && git push && git push --tags && npm publish --access public",
"version:major": "npm version major && git push && git push --tags && npm publish --access public",
"check:contract": "bob build && node --experimental-loader ./scripts/rn-stub-loader.mjs scripts/check-contract.mjs",
"test": "npm run typecheck && npm run check:contract",
"test:webrgb": "bob build && node --test scripts/webrgb.test.mjs scripts/webrgb-burn.test.mjs"
},
"repository": {
"type": "git",
"url": "https://github.com/UTEXO-Protocol/rgb-sdk-rn.git"
},
"keywords": [
"rgb",
"rgb-protocol",
"bitcoin",
"sdk",
"taproot",
"assets",
"blockchain",
"react-native",
"ios",
"android"
],
"license": "MIT",
"peerDependencies": {
"@utexo/webrgb": "^0.1.3",
"react": "*",
"react-native": "*"
},
"devDependencies": {
"@eslint/js": "^9.35.0",
"@types/node": "^22.17.2",
"@types/react": "^19.2.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@utexo/webrgb": "0.1.3",
"del-cli": "^6.0.0",
"eslint": "^9.35.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"prettier": "^3.0.0",
"react-native": "*",
"react-native-builder-bob": "^0.40.17",
"typescript": "^5.9.2"
},
"dependencies": {
"@noble/hashes": "^2.0.1",
"@noble/secp256k1": "3.0.0",
"@scure/base": "^2.0.0",
"@scure/bip32": "^2.0.1",
"@scure/bip39": "^2.0.1",
"@scure/btc-signer": "^2.0.1",
"@utexo/rgb-sdk-core": "1.0.0-beta.9",
"@utexo/webrgb-walletconnect": "0.1.3"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "RgbSpec",
"type": "modules",
"jsSrcsDir": "src",
"android": {
"javaPackageName": "com.rgbsdkrn"
}
},
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"peerDependenciesMeta": {
"@utexo/webrgb": {
"optional": true
}
}
}