Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.22 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.22 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
{
"name": "@react-native-ohos/react-native-location",
"version": "1.0.0-beta.1",
"description": "Native GPS location support for React Native",
"author": "React Native Community",
"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": {
"type": "git",
"url": "https://github.com/cbd1020819393/react-native-location.git"
},
"bugs": {
"url": "https://github.com/cbd1020819393/react-native-location/issues"
},
"keywords": [
"react-native",
"react-component",
"ios",
"android",
"harmony",
"harmonyos",
"location"
],
"homepage": "https://github.com/cbd1020819393/react-native-location",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist/",
"src/",
"harmony/",
"README.md",
"LICENSE"
],
"scripts": {
"prepare": "tsc --noEmit && bob build",
"codegen-lib": "react-native codegen-harmony --cpp-output-path ./harmony/location/src/main/cpp/generated --ets-output-path ./harmony/location/src/main/ets/generated"
},
"peerDependencies": {
"react-native": ">=0.72"
},
"devDependencies": {
"@react-native-oh/react-native-harmony-cli": "^0.77.50",
"@react-native/typescript-config": "0.79.5",
"@types/react": "18.2.79",
"jest": "^29.6.3",
"metro": "^0.81.0",
"react": "18.2.0",
"react-native": "0.72.5",
"react-native-builder-bob": "^0.18.0",
"typescript": "5.0.4"
},
"engines": {
"node": ">=18"
},
"harmony": {
"alias": "react-native-location",
"autolinking": {
"cmakeLibraryTargetName": "location",
"ohPackageName": "@react-native-ohos/react-native-location",
"etsPackageClassName": "LocationPackage",
"cppPackageClassName": "LocationPackage"
},
"codegenConfig": [
{
"version": 1,
"specPaths": [
"./src/specs/v1"
]
}
]
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"dependencies": {
"react-native-location": "^2.5.0"
}
}