react-native-plugpag-nitro
Version:
High-performance React Native library for PagSeguro PlugPag payment terminals with TypeScript-first hooks API, real-time events, and 10x faster performance using Nitro Modules
180 lines (179 loc) • 4.3 kB
JSON
{
"name": "react-native-plugpag-nitro",
"version": "1.4.1",
"description": "High-performance React Native library for PagSeguro PlugPag payment terminals with TypeScript-first hooks API, real-time events, and 10x faster performance using Nitro Modules",
"main": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"exports": {
".": {
"source": "./src/index.tsx",
"types": "./lib/typescript/src/index.d.ts",
"default": "./lib/module/index.js"
},
"./package.json": "./package.json"
},
"files": [
"src",
"lib",
"android",
"cpp",
"nitrogen",
"nitro.json",
"*.podspec",
"react-native.config.js",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"example": "yarn workspace react-native-plugpag-nitro-example",
"test": "jest",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli android/build example/android/build example/android/app/build lib",
"prepare": "bob build",
"nitrogen": "nitro-codegen",
"release": "release-it --only-version"
},
"keywords": [
"react-native",
"android",
"pagseguro",
"plugpag",
"payment",
"terminal",
"nitro",
"nitro-modules",
"pos",
"nfc",
"credit-card",
"debit-card",
"pix"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mCodex/react-native-plugpag-nitro.git"
},
"author": "Mateus Andrade <mat.andrade@live.com> (https://github.com/mCodex)",
"license": "MIT",
"bugs": {
"url": "https://github.com/mCodex/react-native-plugpag-nitro/issues"
},
"homepage": "https://github.com/mCodex/react-native-plugpag-nitro#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.8.1",
"@eslint/compat": "^1.3.2",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.33.0",
"@evilmartians/lefthook": "^1.12.3",
"@react-native/babel-preset": "0.81.0",
"@react-native/eslint-config": "^0.81.0",
"@release-it/conventional-changelog": "^10.0.1",
"@types/jest": "^30.0.0",
"@types/react": "^19.1.10",
"commitlint": "^19.8.1",
"del-cli": "^6.0.0",
"eslint": "^9.33.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"jest": "^30.0.5",
"nitro-codegen": "^0.28.0",
"prettier": "^3.6.2",
"react": "19.1.1",
"react-native": "0.81.0",
"react-native-builder-bob": "^0.40.13",
"react-native-nitro-modules": "^0.28.0",
"release-it": "^19.0.4",
"turbo": "^2.5.5",
"typescript": "^5.9.2"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-nitro-modules": "^0.26.4"
},
"engines": {
"node": ">=18"
},
"workspaces": [
"example"
],
"packageManager": "yarn@3.6.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": {
"name": "angular"
}
}
}
},
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"custom",
{
"script": "nitrogen",
"clean": "nitrogen/"
}
],
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"create-react-native-library": {
"languages": "kotlin",
"type": "nitro-module",
"version": "0.52.0"
}
}