Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 2.76 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
{
"name": "@ambire/react-native-crypto",
"version": "1.0.1",
"description": "Rust-accelerated keccak256, hex and ABI coding for the Ambire wallet",
"homepage": "https://www.ambire.com",
"source": "./src/index.ts",
"main": "./src/index.ts",
"react-native": "./src/index.ts",
"types": "./src/index.ts",
"files": [
"src",
"android",
"ios",
"cpp",
"rust",
"ubrn.config.yaml",
"*.podspec",
"*.xcframework",
"AmbireCryptoFramework.xcframework",
"!rust/target",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"bindings:generate": "cd rust && cargo build --lib --locked && ubrn generate jsi bindings --library target/debug/libambire_crypto.so --ts-dir ../src/generated --cpp-dir ../cpp/generated && cd .. && yarn ubrn:postgenerate",
"binaries:android": "ubrn build android --config ubrn.config.yaml --release",
"binaries:ios": "ubrn build ios --config ubrn.config.yaml --release",
"ubrn:postgenerate": "node scripts/forceNativeStringDecoder.js",
"ubrn:clean": "rm -rfv cpp/ android/CMakeLists.txt android/src/main/java android/*.cpp ios/ src/Native* src/index.*ts* src/generated/",
"rust:test": "cd rust && cargo test --locked",
"rust:lint": "cd rust && cargo clippy --all-targets --all-features --locked -- -D warnings",
"rust:fmt": "cd rust && cargo fmt",
"rust:check": "yarn rust:fmt --check && yarn rust:lint && yarn rust:test",
"typecheck": "tsc --noEmit --project tsconfig.build.json",
"prepare": "patch-package"
},
"keywords": [
"react-native",
"ios",
"android"
],
"author": "Ambire <petromir@goodmorning.dev> (https://github.com/AmbireTech)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/AmbireTech/react-native-crypto.git"
},
"dependencies": {
"@ubjs/core": "0.31.0-3",
"uniffi-bindgen-react-native": "0.31.0-3"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"viem": "2.56.3"
},
"codegenConfig": {
"name": "RNAmbireCryptoSpec",
"type": "modules",
"jsSrcsDir": "src",
"outputDir": {
"ios": "ios/generated",
"android": "android/build/generated/source/codegen"
},
"android": {
"javaPackageName": "com.ambirecrypto"
}
},
"bugs": {
"url": "https://github.com/AmbireTech/react-native-crypto/issues"
},
"devDependencies": {
"@types/react": "19.1.10",
"clang-format": "1.8.0",
"patch-package": "8.0.0",
"prettier": "3.3.3",
"react": "19.1.0",
"react-native": "0.81.5",
"typescript": "5.9.3"
},
"publishConfig": {
"access": "public"
}
}