Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) 路 2.48 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) 路 2.48 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
{
"name": "@react-native-ohos/react-native-update",
"version": "10.56.1",
"description": "react-native hot update",
"main": "./dist/commonjs/index.js",
"module": "./dist/module/index.js",
"react-native": "./src/index.ts",
"source": "./src/index.ts",
"types": "./dist/typescript/index.d.ts",
"license": "MIT",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/reactnativecn/react-native-update.git"
},
"keywords": [
"react-native",
"harmony",
"harmonyos"
],
"homepage": "https://github.com/reactnativecn/react-native-update#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist/",
"src/",
"README.md",
"LICENSE",
"harmony/"
],
"scripts": {
"prepare": "tsc --noEmit && bob build",
"codegen-lib": "react-native codegen-lib-harmony --no-safety-check --npm-package-name update --cpp-output-path ./harmony/update/src/main/cpp/generated --ets-output-path ./harmony/update/src/main/ets/generated --turbo-modules-spec-paths ./src/specs/v1/NativePushy.ts",
"test": "jest --config ./jest/jestconfig.js --no-coverage --watchman=false",
"test:coverage": "jest --config ./jest/jestconfig.js --coverage --watchman=false",
"fast:pkg": "cd example && npm run fast:pkg"
},
"peerDependencies": {
"react-native": ">=0.72",
"react": ">=16.8.0"
},
"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",
"@babel/core": "^7.20.0",
"@babel/plugin-transform-react-jsx": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/preset-flow": "^7.20.0",
"@babel/preset-typescript": "^7.20.0",
"@types/jest": "^29.5.12",
"babel-jest": "^29.6.3",
"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-update",
"autolinking": {
"cmakeLibraryTargetName": "rnoh_update",
"ohPackageName": "@react-native-ohos/react-native-update",
"etsPackageClassName": "UpdatePackage",
"cppPackageClassName": "UpdatePackage"
}
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"dependencies": {
"nanoid": "^3.3.3"
}
}