Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.27 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 2.27 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": "@oh-rn/react-native-notifications",
"displayName": "React Native Notifications",
"version": "5.1.0",
"description": "Advanced Push Notifications (Silent, interactive notifications) for iOS & Android",
"main": "./src/index.ts",
"module": "./src/index.ts",
"react-native": "./src/index.ts",
"types": "./src/index.ts",
"license": "MIT",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/wix/react-native-notifications.git"
},
"keywords": [
"react-native",
"harmony",
"harmonyos"
],
"homepage": "https://github.com/wix/react-native-notifications",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist/",
"src/",
"harmony/",
"README.md",
"LICENSE"
],
"scripts": {
"prepare": "tsc --noEmit && bob build",
"test": "jest --config ./jest/jest.config.js",
"test:coverage": "jest --config ./jest/jest.config.js --coverage",
"codegen-lib": "react-native codegen-harmony --cpp-output-path ./harmony/notifications/src/main/cpp/generated --ets-output-path ./harmony/notifications/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",
"babel-jest": "^29.7.0",
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-typescript": "^7.24.0",
"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-notifications",
"autolinking": {
"cmakeLibraryTargetName": "notifications",
"ohPackageName": "@oh-rn/react-native-notifications",
"etsPackageClassName": "NotificationsPackage",
"cppPackageClassName": "NotificationsPackage"
},
"codegenConfig": [
{
"version": 1,
"specPaths": [
"./src/specs/v1"
]
}
]
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"targets": [
"commonjs",
"module",
"typescript"
]
}
}