UNPKG

react-native-onesignal

Version:
64 lines (63 loc) 1.93 kB
{ "name": "react-native-onesignal", "version": "5.2.16", "description": "React Native OneSignal SDK", "files": [ "dist", "android", "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/RNOneSignalTS/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/RNOneSignalTS/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" }