UNPKG

@2c2p/pgw-sdk-react-native

Version:

2C2P PGW SDK for react native and allows merchants to build an excellent payment experience within their mobile apps by integrating easily with 2C2P's payment gateway.

67 lines (66 loc) 2.86 kB
{ "name": "@2c2p/pgw-sdk-react-native", "version": "4.0.3", "description": "2C2P PGW SDK for react native and allows merchants to build an excellent payment experience within their mobile apps by integrating easily with 2C2P's payment gateway.", "react-native": "js/index", "source": "js/index", "scripts": { "ios-frameworks": "sh ./scripts/ios_frameworks.sh", "build": "npm run build-ios && npm run build-android", "build-arch-old": "npm run build-ios-arch-old && npm run build-android", "build-ios": "cd .. && cd example && yarn add ../RTNPGWSDK && cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install", "build-ios-arch-old": "cd .. && cd example && yarn add ../RTNPGWSDK && cd ios && RCT_NEW_ARCH_ENABLED=0 bundle exec pod install", "build-android": "cd .. && cd example && yarn add ../RTNPGWSDK && cd android && ./gradlew generateCodegenArtifactsFromSchema", "update-example": "cd .. && cd example && npx npm-check-updates -u && yarn install", "ios-frameworks-example": "cd .. && cd example && npm explore @2c2p/pgw-sdk-react-native -- npm run ios-frameworks && cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install", "ios-frameworks-example-old": "cd .. && cd example && npm explore @2c2p/pgw-sdk-react-native -- npm run ios-frameworks && cd ios && RCT_NEW_ARCH_ENABLED=0 bundle exec pod install", "run-example": "cd .. && cd example && npx react-native start --reset-cache", "run-example-ios-release": "cd .. && cd example && npx react-native run-ios --mode release", "run-example-ios-debug": "cd .. && cd example && npx react-native run-ios", "run-example-android-release": "cd .. && cd example && npx react-native run-android --mode release", "run-example-android-debug": "cd .. && cd example && npx react-native run-android" }, "files": [ "js", "android", "ios", "scripts", "PGWReactNative.podspec", "!android/build", "!android/bin", "!android/.gradle", "!android/.idea", "!android/local.properties", "!ios/build", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "keywords": [ "react-native", "ios", "android", "pgw", "2c2p", "2C2P" ], "author": "2C2P", "license": "MIT", "homepage": "https://developer.2c2p.com/docs/sdk-how-it-work", "devDependencies": {}, "peerDependencies": { "react": "*", "react-native": "*" }, "codegenConfig": { "name": "RTNPGWSpec", "type": "modules", "jsSrcsDir": "js", "android": { "javaPackageName": "com.ccpp.pgw.sdk.reactnative" } }, "publishConfig": { "access": "public" } }