UNPKG

react-native-esc-pos-printer

Version:
211 lines (210 loc) 4.84 kB
{ "name": "react-native-esc-pos-printer", "version": "4.4.1", "description": "s", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "exports": { ".": { "import": { "types": "./lib/typescript/module/src/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/commonjs/src/index.d.ts", "default": "./lib/commonjs/index.js" } } }, "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", "postinstall": "node ./scripts/movelib.js" }, "keywords": [ "react-native", "ios", "android" ], "repository": "https://github.com/tr3v3r/react-native-esc-pos-printer", "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.27.1", "wordwrapjs": "^5.1.0" }, "devDependencies": { "@commitlint/config-conventional": "^19.5.0", "@evilmartians/lefthook": "^1.5.0", "@react-native-community/cli": "15.0.1", "@react-native/eslint-config": "^0.73.1", "@release-it/conventional-changelog": "^9.0.2", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "commitlint": "^19.5.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", "prettier": "^3.0.3", "react": "18.3.1", "react-native": "0.76.5", "react-native-builder-bob": "^0.32.0", "react-native-view-shot": "^3.8.0", "release-it": "^17.10.0", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "resolutions": { "@types/react": "^18.2.44" }, "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": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "react/react-in-jsx-scope": "off", "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": [ "codegen", [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json", "esm": true } ] ] }, "codegenConfig": { "name": "RNEspPosPrinterSpec", "type": "modules", "jsSrcsDir": "src/specs", "outputDir": { "ios": "ios/generated", "android": "android/generated" }, "android": { "javaPackageName": "com.escposprinter" }, "includesGeneratedCode": true }, "create-react-native-library": { "type": "legacy-module", "languages": "kotlin-objc", "version": "0.47.0" } }