UNPKG

@b8safe/react-native-safe

Version:
243 lines (242 loc) 5.73 kB
{ "name": "@b8safe/react-native-safe", "version": "1.0.23", "description": "Package for native integration of B8Safe SDK", "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" } }, "./package.json": "./package.json" }, "files": [ "src", "lib", "android", "ios", "cpp", "plugin/build", "app.plugin.js", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\" --fix", "build": "babel src/ -d lib/", "clean": "expo-module clean", "test": "expo-module test", "build:plugin": "tsc --build plugin", "clean:plugin": "expo-module clean plugin", "prepare": "bob build && npm run clean:plugin && npm run build:plugin", "lint:plugin": "eslint plugin/src/* --fix", "release": "release-it", "commit": "git-cz", "clean-js": "scripts/clean-js.sh" }, "keywords": [ "liveness", "b8safe", "facial", "react-native", "ios", "android", "kyc", "compliance", "safe" ], "repository": { "type": "git", "url": "git+https://github.com/brbtcoficial/react-native-b8safe.git" }, "author": "B8 Hub <safe@b8.com.br> (https://safe.b8.com.br)", "license": "BSD-2-Clause", "bugs": { "url": "https://github.com/brbtcoficial/react-native-b8safe/issues" }, "homepage": "https://github.com/brbtcoficial/react-native-safe/tree/v2/Documentation", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@expo/config-plugins": "^8.0.5", "@react-native/eslint-config": "^0.73.1", "@release-it/conventional-changelog": "9.0.3", "@types/jest": "^29.5.5", "@types/react-native-webrtc": "^1.75.9", "commitlint": "^17.0.2", "cz-conventional-changelog": "^3.3.0", "del-cli": "^5.1.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.0.1", "expo": "^50.0.21", "expo-module-scripts": "^4.0.2", "expo-modules-core": "^2.1.1", "jest": "^29.7.0", "prettier": "^3.0.3", "react": "^18.2.0", "react-native": "^0.76.5", "react-native-builder-bob": "^0.35.2", "release-it": "^17.10.0", "turbo": "^1.10.7", "typescript": "5.1.6" }, "peerDependencies": { "expo": ">=47.0.0", "@shopify/react-native-skia": "*", "react": "*", "react-native": "*", "react-native-reanimated": "*", "react-native-sha256": "*", "react-native-svg": "*", "react-native-vision-camera": "*", "react-native-webrtc": "*", "react-native-worklets-core": "*" }, "peerDependenciesMeta": { "expo": { "optional": true } }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "conventionalcommits", "types": [ { "type": "feat", "section": "✨ Features" }, { "type": "perf", "section": "💨 Performance Improvements" }, { "type": "fix", "section": "🐛 Bug Fixes" }, { "type": "chore(deps)", "section": "🛠️ Dependency Upgrades" }, { "type": "docs", "section": "📚 Documentation" } ] } } } }, "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": { "type": "module-legacy", "languages": "kotlin-objc", "version": "0.41.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }