-
Notifications
You must be signed in to change notification settings - Fork 379
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.31 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.31 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
{
"name": "react-native-onesignal",
"version": "5.4.0",
"description": "React Native OneSignal SDK",
"files": [
"dist",
"src/NativeOneSignal.ts",
"android/src",
"android/build.gradle",
"android/proguard-rules.pro",
"ios",
"react-native-onesignal.podspec"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "bun run build",
"build": "tsc --noEmit && vite build",
"format:spotless": "./examples/demo/android/gradlew spotlessApply",
"format:prettier": "prettier --write \"**/*.{ts,tsx}\" --ignore-path .gitignore",
"format": "concurrently \"bun run format:spotless\" \"bun run format:prettier\"",
"format:check:spotless": "./examples/demo/android/gradlew spotlessCheck",
"format:check:prettier": "prettier --check \"**/*.{ts,tsx}\" --ignore-path .gitignore",
"format:check": "concurrently \"bun run format:check:spotless\" \"bun run format:check:prettier\"",
"lint": "oxlint src examples && bun run format:check",
"lint:fix": "oxlint src examples --fix && bun run format",
"test": "vitest",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"invariant": "^2.2.4"
},
"devDependencies": {
"@types/invariant": "^2.2.37",
"@types/react-native": "^0.73.0",
"@vitest/coverage-v8": "4.0.8",
"concurrently": "^9.2.1",
"oxlint": "^1.26.0",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"vite": "^7.2.0",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.0.8"
},
"keywords": [
"react-component",
"react-native",
"ios",
"android",
"notifications",
"push",
"apns",
"fcm",
"gcm",
"onesignal"
],
"bugs": {
"url": "https://github.com/OneSignal/react-native-onesignal/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/OneSignal/react-native-onesignal"
},
"author": "OneSignal <https://www.onesignal.com>, Geektime <http://www.geektime.co.il>",
"license": "MIT",
"codegenConfig": {
"name": "RNOneSignalSpec",
"type": "modules",
"jsSrcsDir": "src",
"android": {
"javaPackageName": "com.onesignal.rnonesignalandroid"
},
"ios": {
"modulesProvider": {
"OneSignal": "RCTOneSignalEventEmitter"
}
}
},
"peerDependencies": {
"react-native": ">=0.76.0"
}
}