UNPKG

react-native-nitro-totp

Version:

React Native module for TOTP (Time-based One-Time Password) and HOTP (HMAC-based One-Time Password) authentication.

161 lines (160 loc) 3.91 kB
{ "name": "react-native-nitro-totp", "version": "2.0.1", "description": "React Native module for TOTP (Time-based One-Time Password) and HOTP (HMAC-based One-Time Password) authentication.", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "exports": { ".": { "source": "./src/index.ts", "types": "./lib/typescript/src/index.d.ts", "default": "./lib/module/index.js" }, "./package.json": "./package.json" }, "files": [ "assets", "src", "lib", "android", "ios", "cpp", "nitrogen", "nitro.json", "*.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-nitro-totp-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", "nitrogen": "nitrogen", "release": "release-it" }, "keywords": [ "react-native", "nitro", "totp", "hotp", "otpauth", "otp-auth", "authentication", "security", "nitro-totp", "nitro-hotp" ], "repository": { "type": "git", "url": "git+https://github.com/4cc3ssX/react-native-nitro-totp.git" }, "author": "Ryam <hello@ryamjs.dev> (https://github.com/4cc3ssX)", "license": "MIT", "bugs": { "url": "https://github.com/4cc3ssX/react-native-nitro-totp/issues" }, "homepage": "https://github.com/4cc3ssX/react-native-nitro-totp#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "resolutions": { "conventional-changelog-conventionalcommits": "8.0.0" }, "devDependencies": { "@commitlint/config-conventional": "^19.8.1", "@eslint/compat": "^1.3.2", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.35.0", "@evilmartians/lefthook": "^1.12.3", "@react-native/babel-preset": "0.81.1", "@react-native/eslint-config": "^0.81.1", "@release-it/conventional-changelog": "^10.0.1", "@types/jest": "^29.5.14", "@types/react": "^19.1.0", "commitlint": "^19.8.1", "del-cli": "^6.0.0", "eslint": "^9.35.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "jest": "^29.7.0", "nitrogen": "^0.29.6", "prettier": "^3.6.2", "react": "19.1.0", "react-native": "0.81.1", "react-native-builder-bob": "^0.40.13", "react-native-nitro-modules": "^0.29.6", "release-it": "^19.0.4", "turbo": "^2.5.6", "typescript": "^5.9.2" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-nitro-modules": "^0.29.6" }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "custom", { "script": "nitrogen", "clean": "nitrogen/" } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "create-react-native-library": { "languages": "kotlin-swift", "type": "nitro-module", "version": "0.54.3" } }