forked from seald/react-native-modpow
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.07 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 2.07 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
{
"name": "@react-native-ohos/react-native-modpow",
"displayName": "React Native Modpow for HarmonyOS",
"version": "1.1.0",
"description": "export native BigInteger.modPow() function that will not freeze your UX for more than a minute.",
"main": "./dist/commonjs/index.js",
"module": "./dist/module/index.js",
"react-native": "./dist/module/index.js",
"types": "./dist/typescript/index.d.ts",
"license": "MIT",
"private": false,
"repository": "https://github.com/seald/react-native-modpow",
"keywords": [
"react-native",
"harmony",
"harmonyos"
],
"homepage": "https://github.com/seald/react-native-modpow",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist/",
"src/",
"harmony/",
"README.md",
"LICENSE",
"!harmony/oh_modules",
"!harmony/**/build",
"!harmony/**/oh_modules"
],
"scripts": {
"prepare": "tsc --noEmit && bob build",
"codegen-lib": "react-native codegen-harmony --cpp-output-path ./harmony/modpow/src/main/cpp/generated --ets-output-path ./harmony/modpow/src/main/ets/generated"
},
"peerDependencies": {
"react-native": ">=0.72"
},
"devDependencies": {
"typescript": "5.0.4",
"@react-native/typescript-config": "0.79.5",
"react": "18.2.0",
"@types/react": "18.2.79",
"react-native": "0.72.5",
"jest": "^29.6.3",
"react-native-builder-bob": "^0.18.0",
"@react-native-oh/react-native-harmony-cli": "^0.77.50",
"metro": "^0.81.0"
},
"engines": {
"node": ">=18"
},
"harmony": {
"alias": "react-native-modpow",
"autolinking": {
"cmakeLibraryTargetName": "modpow",
"ohPackageName": "@react-native-ohos/react-native-modpow",
"etsPackageClassName": "ModpowPackage",
"cppPackageClassName": "ModpowPackage"
},
"codegenConfig": [
{
"version": 1,
"specPaths": [
"./src/specs/v1"
]
}
]
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"targets": [
"commonjs",
"module",
"typescript"
]
}
}