UNPKG

react-native-biometry

Version:
177 lines (176 loc) 4.83 kB
{ "name": "react-native-biometry", "version": "0.3.7", "description": "React native biometry", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "types": "lib/typescript/index.d.ts", "private": false, "react-native": "src/index.ts", "source": "src/index", "files": [ "src", "lib", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "android", "ios", "cpp", "*.podspec", "!lib/typescript/example", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/.*" ], "scripts": { "api-docs": "scripty", "api-report": "scripty", "docs": "yarn api-docs", "test": "jest", "test:ci": "yarn jest --passWithNoTests --no-cache --runInBand --coverage", "test:watch": "yarn jest --passWithNoTests --no-cache --runInBand --watch", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prebuild": "bob build", "build": "yarn tsc -p tsconfig.build.json", "release": "release-it", "example": "yarn --cwd example", "build:android": "cd example/android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a", "build:ios": "cd example/ios && xcodebuild -workspace BiometryExample.xcworkspace -scheme BiometryExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO", "bootstrap": "yarn example && yarn install && yarn example pods", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build" }, "keywords": [ "react-native", "ios", "android", "authentication", "auth", "touchID", "faceID", "fingerprint" ], "repository": "https://github.com/enovarsolutions/react-native-biometry", "author": "MeuTudo <contato@meutudo.app> (https://github.com/enovarsolutions/react-native-biometry)", "license": "MIT", "bugs": { "url": "https://github.com/enovarsolutions/react-native-biometry/issues" }, "homepage": "https://github.com/enovarsolutions/react-native-biometry#readme", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.2.2", "@microsoft/api-documenter": "^7.22.32", "@microsoft/api-extractor": "^7.36.3", "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", "@release-it/keep-a-changelog": "^4.0.0", "@types/jest": "^28.1.2", "@types/react": "~17.0.21", "@types/react-native": "0.70.0", "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", "jest": "^28.1.1", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "18.2.0", "react-native": "0.66.1", "react-native-builder-bob": "0.18.3", "release-it": "^15.0.0", "scripty": "^2.1.1", "turbo": "^1.10.7", "typescript": "^5.0.2" }, "resolutions": { "@types/react": "17.0.21" }, "peerDependencies": { "react": "*", "react-native": "*" }, "engines": { "node": ">= 14.0.0" }, "packageManager": "^yarn@1.22.15", "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}", "requireBranch": "main" }, "npm": { "publish": false }, "github": { "release": true } }, "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", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }