UNPKG

@olo/pay-react-native

Version:
130 lines (129 loc) 3.17 kB
{ "name": "@olo/pay-react-native", "version": "4.0.1", "description": "Olo Pay React Native SDK", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/src/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "olopaysdk-react-native.podspec", "!lib/typescript/example", "!android/build", "!ios/pods/**", "!ios/build", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "scripts": { "test": "jest", "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepare": "bob build", "docgen": "docgen --api IOloPaySDK --output-readme README.md --output-json dist/docs.json", "build": "npm run prepare && npm run docgen && npm pack && mv olo-pay-react-native-${npm_package_version}.tgz olopaysdk-react-native.tgz" }, "keywords": [ "react-native", "ios", "android", "native", "olo", "olo pay", "apple pay", "google pay", "digital wallets" ], "homepage": "git+https://github.com/ololabs/olo-pay-react-native-releases.git", "repository": "https://github.com/ololabs/olo-pay-react-native-releases", "author": "Olo <developersupport@olo.com> (https://github.com/ololabs/olo-pay-react-native-releases)", "license": "SEE LICENSE IN README", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@babel/eslint-parser": "^7.18.2", "@capacitor/docgen": "^0.2.1", "@react-native-community/eslint-config": "^3.0.2", "@types/jest": "^28.1.2", "@types/react": "~18.2.45", "@types/react-native": "^0.73.0", "eslint": "^8.4.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^28.1.1", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "18.2.0", "react-native": "0.74.3", "react-native-builder-bob": "^0.18.3", "typescript": "^4.5.2" }, "resolutions": { "@types/react": "~18.2.45" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "eslintConfig": { "root": true, "parser": "@babel/eslint-parser", "extends": [ "@react-native-community", "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" } ] ] }, "buildType": "Public" }