UNPKG

react-native-app-update-helper

Version:
187 lines (186 loc) 4.29 kB
{ "name": "react-native-app-update-helper", "version": "1.0.6", "description": "This packages provides a customizable update overlay. ", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/commonjs/src/index.d.ts", "exports": { ".": { "import": { "types": "./lib/typescript/module/src/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/commonjs/src/index.d.ts", "default": "./lib/commonjs/index.js" } } }, "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-app-update-helper-example", "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli lib", "prepare": "bob build", "release": "release-it --only-version" }, "keywords": [ "react-native", "ios", "android", "app-update", "force-update", "version", "app-upgrade", "force-upgrade", "version-update" ], "repository": { "type": "git", "url": "git+https://github.com/zersys/react-native-app-update-helper.git" }, "author": "Zersys <marina@zersys.com> (https://github.com/marina-zersys)", "license": "MIT", "bugs": { "url": "https://github.com/zersys/react-native-app-update-helper.git/issues" }, "homepage": "https://github.com/zersys/react-native-app-update-helper.git#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@evilmartians/lefthook": "^1.5.0", "@react-native/babel-preset": "^0.82.1", "@react-native/eslint-config": "^0.80.0", "@release-it/conventional-changelog": "^5.0.0", "@testing-library/jest-native": "^5.4.3", "@testing-library/react-native": "^13.2.0", "@types/jest": "^29.5.5", "@types/react": "^19.1.0", "del-cli": "^5.1.0", "eslint": "9.30.1", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "prettier": "^3.6.2", "react": "19.1.0", "react-native": "0.80.0", "react-native-builder-bob": "^0.29.1", "react-test-renderer": "19.1.0", "release-it": "^15.0.0", "typescript": "^5.8.3" }, "resolutions": { "@types/react": "^19.1.0" }, "peerDependencies": { "react": ">=19.0.0", "react-native": ">=0.80.0" }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "react/react-in-jsx-scope": "off", "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "esm": true } ] ] }, "create-react-native-library": { "languages": "js", "type": "library", "version": "0.55.1" }, "dependencies": { "@react-native-async-storage/async-storage": "^2.2.0" } }