UNPKG

connect-react-native-sdk

Version:

React Native SDK for Mastercard Open Banking Connect

160 lines (159 loc) 4.08 kB
{ "name": "connect-react-native-sdk", "version": "2.0.3", "description": "React Native SDK for Mastercard Open Banking Connect", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/src/index.d.ts", "license": "MIT", "author": "connect-react-native-sdk", "homepage": "https://github.com/Mastercard/connect-react-native-sdk", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace connect-react-native-sdk-example", "test": "jest ./src", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prebuild": "node scripts/generate-version.js", "build": "bob build", "prettier-check": "prettier --check ./src/", "prettier-write": "prettier --write .", "release": "release-it", "test:version_bump": "test $npm_package_version != $(npm show $npm_package_name version) || (echo 'Failing... You must bump package.json and package-lock.json' && exit 1)" }, "keywords": [ "Mastercard", "Mastercard Open Banking Connect" ], "devDependencies": { "@babel/core": "7.23.6", "@babel/preset-env": "7.23.6", "@commitlint/config-conventional": "^17.0.2", "@react-native/eslint-config": "^0.72.2", "@release-it/conventional-changelog": "^5.0.0", "@testing-library/react-native": "^12.4.1", "@types/jest": "^28.1.2", "@types/react": "~17.0.21", "@types/react-native": "0.70.0", "@types/react-test-renderer": "^18.0.6", "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", "metro-react-native-babel-preset": "^0.77.0", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "18.2.0", "react-native": "^0.73.1", "react-native-builder-bob": "^0.23.2", "react-test-renderer": "18.2.0", "release-it": "^17.0.1", "semver": ">=7.5.4", "turbo": "^1.10.7", "typescript": "^5.0.2", "yarn-audit-fix": "^10.0.7" }, "resolutions": { "@types/react": "17.0.21", "semver": ">=7.5.4" }, "peerDependencies": { "react": ">=16.13", "react-native": ">=0.63", "react-native-inappbrowser-reborn": ">=3.6", "react-native-webview": ">=11" }, "packageManager": "yarn@1.22.21", "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": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native", "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" } ] ] }, "dependencies": { "react-native-inappbrowser-reborn": ">=3.6", "react-native-webview": ">=11" } }