UNPKG

react-native-sync-tasks

Version:

JSI-based task manager for React Native that periodically fetches data from a server, deduplicates responses using hashing, and provides centralized task control via native C++ module.

170 lines (169 loc) 4.24 kB
{ "name": "react-native-sync-tasks", "version": "0.1.1", "description": "JSI-based task manager for React Native that periodically fetches data from a server, deduplicates responses using hashing, and provides centralized task control via native C++ module.", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "./src/index", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "react-native.config.js", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace react-native-sync-tasks-example", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it" }, "keywords": [ "react-native", "ios", "android", "react-native", "jsi", "native-module", "task-manager", "background-tasks", "http-polling", "api-sync", "react-native-native-module", "high-performance", "c++", "jni", "bridge-less", "sync", "data-fetching", "react-native-jsi", "react-native-task-manager", "react-native-background-fetch", "react-native-background-tasks", "react-native-background-job", "react-native-background-fetching", "react-native-background-api", "react-native-background-sync", "react-native-background-polling", "react-native-sync" ], "repository": { "type": "git", "url": "git+https://github.com/pioner92/react-native-sync-tasks.git" }, "author": "pioner921227 <alex.shumihin921227@gmail.com> (https://github.com/pioner92)", "license": "MIT", "bugs": { "url": "https://github.com/pioner92/react-native-sync-tasks/issues" }, "homepage": "https://github.com/pioner92/react-native-sync-tasks#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^19.6.0", "@eslint/compat": "^1.2.7", "@eslint/eslintrc": "^3.3.0", "@eslint/js": "^9.22.0", "@evilmartians/lefthook": "^1.5.0", "@react-native/eslint-config": "^0.78.0", "@release-it/conventional-changelog": "^9.0.2", "@types/jest": "^29.5.5", "@types/react": "^19.0.0", "commitlint": "^19.6.1", "del-cli": "^5.1.0", "eslint": "^9.22.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-prettier": "^5.2.3", "jest": "^29.7.0", "prettier": "^3.0.3", "react": "19.0.0", "react-native": "0.78.2", "react-native-builder-bob": "0.37.0", "release-it": "^17.10.0", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "angular" } } } }, "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "create-react-native-library": { "type": "legacy-module", "languages": "cpp", "version": "0.49.8" } }