react-native-nitro-totp
Version:
React Native module for TOTP (Time-based One-Time Password) and HOTP (HMAC-based One-Time Password) authentication.
124 lines (123 loc) • 3.16 kB
JSON
{
"name": "react-native-nitro-totp",
"version": "1.2.0",
"description": "React Native module for TOTP (Time-based One-Time Password) and HOTP (HMAC-based One-Time Password) authentication.",
"main": "lib/index",
"module": "lib/index",
"types": "lib/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"react-native.config.js",
"lib",
"cpp",
"android/build.gradle",
"android/gradle.properties",
"android/CMakeLists.txt",
"android/src",
"nitrogen",
"ios/**/*.h",
"ios/**/*.m",
"ios/**/*.mm",
"ios/**/*.cpp",
"ios/**/*.swift",
"app.plugin.js",
"*.podspec",
"README.md"
],
"scripts": {
"postinstall": "tsc || exit 0;",
"typecheck": "tsc --noEmit",
"clean": "del-cli android/build node_modules/**/android/build example/android/**/build lib",
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
"lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions",
"typescript": "tsc --noEmit false",
"specs": "bun run --filter=\"**\" typescript && bun nitro-codegen --logLevel=\"debug\"",
"release": "release-it",
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn install && yarn example pods",
"prepare": "husky"
},
"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 <heinmyatthu.workspace@gmail.com> (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/"
},
"devDependencies": {
"@react-native/eslint-config": "0.78.0",
"@release-it/conventional-changelog": "^10.0.1",
"@types/jest": "^29.5.12",
"@types/react": "^19.0.6",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.6",
"nitro-codegen": "*",
"prettier": "^3.3.3",
"react": "19.0.0",
"react-native": "0.78.0",
"release-it": "^19.0.1",
"typescript": "^5.5.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-nitro-modules": "*"
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": [
"warn",
{
"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,
"semi": false
}
}