UNPKG

react-native-citizen-escposprinter

Version:
166 lines (165 loc) 4.03 kB
{ "name": "react-native-citizen-escposprinter", "version": "1.1.0", "description": "A Turbo Module wrapper for the Citizen ESC POS Printer SDK.", "keywords": [ "react-native", "ios", "android", "kotlin", "swift", "citizen", "ESC", "POS", "escpos", "opos", "wifi", "bluetooth", "printer", "receipt", "thermal" ], "homepage": "https://github.com/vicary/react-native-citizen-escposprinter#readme", "bugs": { "url": "https://github.com/vicary/react-native-citizen-escposprinter/issues" }, "repository": { "type": "git", "url": "git+https://github.com/vicary/react-native-citizen-escposprinter.git" }, "license": "MIT", "author": "Vicary A. <vicary.archangel@member.mensa.org> (https://github.com/vicary)", "main": "lib/commonjs/index", "module": "lib/module/index", "source": "src/index", "react-native": "src/index", "types": "lib/typescript/index.d.ts", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!lib/typescript/example", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "build": "bob build", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepublishOnly": "bob build", "test": "tsc --noEmit && jest --collectCoverage" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "eslintConfig": { "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "extends": [ "@react-native", "eslint:recommended", "plugin:@typescript-eslint/recommended" ], "rules": { "no-bitwise": "off", "quotes": [ "warn", "double", { "allowTemplateLiterals": true } ], "@typescript-eslint/consistent-type-imports": [ "error", { "fixStyle": "inline-type-imports" } ], "@typescript-eslint/no-import-type-side-effects": "error" }, "root": true }, "eslintIgnore": [ "*.js", "node_modules/", "lib/" ], "jest": { "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ], "preset": "react-native" }, "devDependencies": { "@babel/core": "^7.20.12", "@babel/eslint-parser": "^7.19.1", "@babel/preset-env": "^7.20.2", "@react-native/eslint-config": "^0.75.2", "@react-native/eslint-plugin": "^0.75.2", "@types/jest": "^29.5.12", "@types/react": "^18.3.4", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-ft-flow": "^2.0.3", "eslint-plugin-jest": "^28.8.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.32.1", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-native": "^4.0.0", "jest": "^29.3.1", "metro-react-native-babel-preset": "^0.74.0", "prettier": "^2.0.5", "react": "^18.3.1", "react-native": "^0.75.2", "react-native-builder-bob": "^0.20.3", "semantic-release": "^24.1.0", "typescript": "*" }, "peerDependencies": { "react": "^17 || ^18 || ^19", "react-native": "^0.69 || ^0.70 || ^0.71 || ^0.72 || ^0.73 || ^0.74 || ^0.75" }, "engines": { "node": ">= 16.0.0" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "codegenConfig": { "name": "RNCitizenEscposprinterSpec", "type": "modules", "jsSrcsDir": "src" }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }