UNPKG

react-native-tosspayments-v2

Version:
158 lines (157 loc) 3.62 kB
{ "name": "react-native-tosspayments-v2", "version": "0.0.8", "description": "Unofficial Toss Payments V2 porting for React Native", "source": "./src/index.tsx", "main": "./lib/commonjs/index.cjs", "module": "./lib/module/index.mjs", "types": "./lib/typescript/src/index.d.ts", "scripts": { "dev": "yarn workspace tosspaymentsv2-example start", "test": "jest", "typecheck": "tsc --noEmit", "clean": "del-cli lib", "prepack": "bob build", "t": "yarn lefthook run check", "release": "release-it", "html:gen": "zx tools/convert-html.mjs" }, "exports": { ".": { "types": "./lib/typescript/src/index.d.ts", "import": "./lib/module/index.mjs", "require": "./lib/commonjs/index.cjs" } }, "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "keywords": [ "react-native", "tosspayments", "toss", "tosspaymentsv2" ], "repository": { "type": "git", "url": "https://github.com/mym0404/react-native-tosspayments-v2" }, "author": "MJ Studio <mym0404@gmail.com> (https://github.com/mym0404)", "license": "MIT", "bugs": { "url": "https://github.com/mym0404/react-native-tosspayments-v2/issues" }, "homepage": "https://github.com/mym0404/react-native-tosspayments-v2#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "19.2.2", "@react-native/eslint-config": "0.74.85", "@release-it/conventional-changelog": "8.0.1", "@types/jest": "29.5.12", "@types/react": "18.3.3", "commitlint": "19.3.0", "del-cli": "^5.1.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "lefthook": "^1.6.21", "prettier": "^3.0.3", "react": "18.2.0", "react-native": "0.74.3", "react-native-builder-bob": "0.25.0", "react-native-webview": "^13.10.5", "release-it": "17.4.1", "typescript": "5.4.5" }, "resolutions": { "@types/react": "^18.2.44" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-webview": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@4.3.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<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": "angular" } } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "create-react-native-library": { "type": "library", "version": "0.38.1" }, "dependencies": { "@mj-studio/js-util": "^1.1.15", "react-native-url-polyfill": "^2.0.0" } }