UNPKG

react-native-esc-pos-printer

Version:

An unofficial React Native library for printing on an EPSON TM printer with the Epson ePOS SDK for iOS and Epson ePOS SDK for Android

181 lines (180 loc) 4.47 kB
{ "name": "react-native-esc-pos-printer", "version": "4.5.0", "description": "An unofficial React Native library for printing on an EPSON TM printer with the Epson ePOS SDK for iOS and Epson ePOS SDK for Android", "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": [ "scripts", "src", "lib", "android", "ios", "cpp", "*.podspec", "react-native.config.js", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*", "!scripts/movelib" ], "scripts": { "example": "yarn workspace react-native-esc-pos-printer-example", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it --only-version", "postinstall": "node ./scripts/movelib.js" }, "keywords": [ "react-native", "ios", "android" ], "repository": { "type": "git", "url": "git+https://github.com/tr3v3r/react-native-esc-pos-printer.git" }, "author": "Aliaksei Astafyeu <lochost40@gmail.com> (https://github.com/tr3v3r)", "license": "MIT", "bugs": { "url": "https://github.com/tr3v3r/react-native-esc-pos-printer/issues" }, "homepage": "https://github.com/tr3v3r/react-native-esc-pos-printer#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "dependencies": { "buffer": "6.0.3", "p-queue": "7.4.1", "react-native-esc-pos-printer-sdk": "2.31.1", "wordwrapjs": "5.1.0" }, "devDependencies": { "@commitlint/config-conventional": "^19.8.1", "@eslint/compat": "^1.3.2", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.35.0", "@evilmartians/lefthook": "^1.12.3", "@react-native-community/cli": "20.0.1", "@react-native/babel-preset": "0.81.1", "@react-native/eslint-config": "^0.81.1", "@release-it/conventional-changelog": "^10.0.1", "@types/jest": "^29.5.14", "@types/react": "^19.1.0", "commitlint": "^19.8.1", "del-cli": "^6.0.0", "eslint": "^9.35.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "jest": "^29.7.0", "prettier": "^3.6.2", "react": "19.1.0", "react-native": "0.81.1", "react-native-builder-bob": "^0.40.13", "react-native-view-shot": "^3.8.0", "release-it": "^19.0.4", "turbo": "^2.5.6", "typescript": "^5.9.2" }, "peerDependencies": { "react": "*", "react-native": "*" }, "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": [ "codegen", [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "RNEscPosPrinterSpec", "type": "modules", "jsSrcsDir": "src/specs", "outputDir": { "ios": "ios/generated", "android": "android/generated" }, "android": { "javaPackageName": "com.escposprinter" }, "includesGeneratedCode": true }, "create-react-native-library": { "languages": "kotlin-objc", "type": "turbo-module", "version": "0.54.3" } }