@oxyhq/services
Version:
196 lines (195 loc) • 5.78 kB
JSON
{
"name": "@oxyhq/services",
"version": "6.5.0",
"description": "OxyHQ Expo/React Native SDK — UI components, screens, and native features",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/commonjs/index.d.ts",
"react-native": "src/index.ts",
"source": "src/index.ts",
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"types": "./lib/typescript/module/index.d.ts",
"react-native": "./src/index.ts",
"import": "./lib/module/index.js",
"require": "./lib/commonjs/index.js",
"default": "./lib/module/index.js"
},
"./ui": {
"types": "./lib/typescript/module/ui/index.d.ts",
"react-native": "./src/ui/index.ts",
"import": "./lib/module/ui/index.js",
"require": "./lib/commonjs/ui/index.js",
"default": "./lib/module/ui/index.js"
},
"./package.json": "./package.json"
},
"files": [
"src",
"lib",
"assets"
],
"keywords": [
"react-native",
"expo",
"ios",
"android",
"oxyhq",
"sdk",
"authentication",
"ui-components"
],
"repository": {
"type": "git",
"url": "https://github.com/oxyhq/sdk",
"directory": "packages/services"
},
"author": "OxyHQ",
"license": "MIT",
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
},
"homepage": "https://oxy.so",
"scripts": {
"typescript": "tsc --skipLibCheck --noEmit",
"lint": "biome lint --error-on-warnings ./src",
"build": "npx react-native-builder-bob build && npm run copy-assets && npm run copy-dts && npm run delete-dts.js && npm run delete-debug-view",
"build:js": "npx react-native-builder-bob build --target commonjs && npx react-native-builder-bob build --target module && npm run copy-assets",
"test": "jest --passWithNoTests",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"copy-assets": "copyfiles -u 1 \"src/assets/**/*\" lib/commonjs/assets && copyfiles -u 1 \"src/assets/**/*\" lib/module/assets",
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" lib/typescript",
"delete-debug-view": "rm -rf ./lib/commonjs/components/bottomSheetDebugView ./lib/module/components/bottomSheetDebugView ./lib/typescript/components/bottomSheetDebugView || true",
"delete-dts.js": "find ./lib/commonjs -name '*.d.js*' -delete && find ./lib/module -name '*.d.js*' -delete",
"release": "rm -rf lib && npm run build && release-it",
"prepublishOnly": "npm run typescript && npm test && npm run build"
},
"dependencies": {
"@lottiefiles/dotlottie-react": "^0.13.5",
"@oxyhq/core": "*",
"@react-native-async-storage/async-storage": "2.1.2",
"@react-native-community/netinfo": "^11.4.1",
"@tanstack/react-query": "^5.90.20",
"@types/react": "*",
"copyfiles": "^2.4.1",
"expo-blur": "~15.0.8",
"expo-checkbox": "^5.0.8",
"expo-crypto": "~14.0.1",
"expo-print": "~15.0.8",
"expo-secure-store": "~15.0.8",
"lottie-react-native": "^7.3.4",
"react-native-keyboard-controller": "1.18.5",
"react-native-qrcode-svg": "^6.3.0",
"react-native-url-polyfill": "^2.0.0",
"socket.io-client": "^4.8.1",
"sonner": "^2.0.4",
"sonner-native": "^0.20.0",
"typescript": "^5.9.2",
"zustand": "^5.0.9"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@react-native/babel-preset": "^0.77.0",
"@release-it/conventional-changelog": "^10.0.2",
"@testing-library/jest-dom": "^6.4.2",
"@types/color": "^4.2.0",
"@types/jest": "^29.5.14",
"@types/node": "^20.19.9",
"expo-file-system": "~19.0.0",
"expo-font": "~14.0.9",
"expo-haptics": "~15.0.7",
"expo-image": "~3.0.10",
"expo-linear-gradient": "^15.0.0",
"husky": "^4.3.8",
"jest": "~29.7.0",
"lint-staged": "^15.2.4",
"react-native-builder-bob": "^0.40.16",
"react-native-gesture-handler": "~2.28.0",
"react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0",
"react-native-svg": "15.11.2",
"release-it": "^19.0.6",
"ts-jest": "^29.4.0"
},
"peerDependencies": {
"@expo/vector-icons": "^15.0.3",
"@react-navigation/native": "^7.1.8",
"@types/react": "*",
"@types/react-native": "*",
"expo": "~54.0.29",
"expo-document-picker": "~14.0.0",
"expo-file-system": "~19.0.0",
"expo-font": "~14.0.9",
"expo-image": "~3.0.10",
"expo-linear-gradient": "^15.0.0",
"react": ">=18.0.0",
"react-native": ">=0.76.0",
"react-native-gesture-handler": "~2.28.0",
"react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0",
"react-native-svg": ">=13.0.0"
},
"peerDependenciesMeta": {
"@expo/vector-icons": {
"optional": true
},
"@types/react-native": {
"optional": true
},
"@types/react": {
"optional": true
},
"react-native-qrcode-svg": {
"optional": true
},
"expo": {
"optional": true
},
"expo-font": {
"optional": true
},
"expo-image": {
"optional": true
},
"expo-linear-gradient": {
"optional": true
},
"@react-navigation/native": {
"optional": true
},
"expo-document-picker": {
"optional": true
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"commonjs",
{
"esm": true
}
],
[
"module",
{
"esm": true
}
],
"typescript"
]
},
"overrides": {
"react-native-gesture-handler": "~2.28.0",
"react-native-reanimated": "~4.1.1"
}
}