UNPKG

@passageidentity/passage-react-native

Version:

Passkey Complete for React Native - Go completely passwordless with a standalone auth solution in your React Native app with Passage by 1Password

222 lines (221 loc) 5.36 kB
{ "name": "@passageidentity/passage-react-native", "version": "1.1.2", "author": "Passage by 1Password", "license": "MIT", "description": "Passkey Complete for React Native - Go completely passwordless with a standalone auth solution in your React Native app with Passage by 1Password", "homepage": "https://docs.passage.id/complete", "bugs": { "url": "https://github.com/passageidentity/.github/blob/main/SUPPORT.md", "email": "support@passage.id" }, "keywords": [ "react-native", "android", "ios", "cross-platform", "javascript", "authentication", "passkeys", "passwordless", "webauthn", "passkey-complete", "biometrics", "ciam", "magic-links", "native-passkeys", "oauth2", "oidc", "otp", "1password", "passage", "passage-sdk" ], "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/module/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" } } }, "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!lib/typescript/example", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "expo": { "plugin": "./app.plugin.js" }, "scripts": { "plugin:build": "tsc --project tsconfig.plugin.json --outDir lib/", "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\" --fix", "prepack": "npm run plugin:build && bob build", "example": "yarn --cwd example", "bootstrap": "yarn example && yarn install && yarn example pods", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build", "beachball:bump": "npx beachball bump", "beachball:check": "npx beachball check", "beachball:change": "npx beachball change", "beachball:publish": "npx beachball publish -y -n", "prepare": "husky install" }, "repository": { "type": "git", "url": "https://github.com/passageidentity/passage-react-native" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@expo/config-plugins": "^8.0.10", "@expo/config-types": "^51.0.3", "@evilmartians/lefthook": "^1.2.2", "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^28.1.2", "@types/react": "^18.2.44", "@types/react-native": "0.70.0", "beachball": "^2.34.1", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "eslint": "^8.4.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "husky": "^8.0.0", "jest": "^28.1.1", "metro-react-native-babel-preset": "^0.77.0", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "18.3.1", "react-native": "0.75.1", "react-native-builder-bob": "^0.29.1", "release-it": "^15.0.0", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "resolutions": { "@types/react": "^18.2.44" }, "peerDependencies": { "react": "*", "react-native": "*" }, "engines": { "node": ">= 16.0.0" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "eslintConfig": { "root": true, "extends": [ "@react-native-community", "prettier" ], "rules": { "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, "exclude": [ "src/plugins/**/*", "lib/plugin/**/*" ] } ], [ "module", { "esm": true, "exclude": [ "src/plugins/**/*", "lib/plugin/**/*" ] } ], [ "typescript", { "project": "tsconfig.build.json", "esm": true, "exclude": [ "src/plugins/**/*", "lib/plugin/**/*" ] } ] ] }, "overrides": { "braces": ">=3.0.3", "cross-spawn": "7.0.6", "ip": "2.0.1", "json5": ">=1.0.2", "micromatch": ">=4.0.8", "react-devtools-core": ">=4.28.4", "ws": "^6.2.3" } }