react-native-epson-escposprinter
Version:
A Turbo Module wrapper for the Epson ePOS Printer SDK.
202 lines (201 loc) • 4.82 kB
JSON
{
"name": "react-native-epson-escposprinter",
"version": "1.1.1",
"description": "A Turbo Module wrapper for the Epson ePOS Printer SDK.",
"keywords": [
"react-native",
"ios",
"android",
"kotlin",
"swift",
"epson",
"ESC",
"POS",
"escpos",
"opos",
"wifi",
"bluetooth",
"printer",
"receipt",
"thermal"
],
"homepage": "https://github.com/vicary/react-native-epson-escposprinter#readme",
"bugs": {
"url": "https://github.com/vicary/react-native-epson-escposprinter/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vicary/react-native-epson-escposprinter.git"
},
"license": "MIT",
"author": "Vicary A. <vicary.archangel@member.mensa.org> (https://github.com/vicary)",
"exports": {
".": {
"import": {
"types": "./lib/typescript/module/index.d.ts",
"default": "./lib/module/index.js"
},
"require": {
"types": "./lib/typescript/commonjs/index.d.ts",
"default": "./lib/commonjs/index.js"
}
},
"./package.json": "./package.json"
},
"main": "./lib/commonjs/index.js",
"module": "./lib/module/index.js",
"source": "./src/index.ts",
"types": "./lib/typescript/commonjs/index.d.ts",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"app.plugin.js",
"*.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}\"",
"prepare": "bob build",
"prepublishOnly": "bob build",
"test": "tsc --noEmit && jest --collectCoverage"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"jsxSingleQuote": false,
"printWidth": 80,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
},
"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"
},
"dependencies": {
"@expo/config-plugins": "^9.0.14",
"eventemitter3": "^5.0.1"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.26.5",
"@babel/preset-env": "^7.26.0",
"@react-native/eslint-config": "^0.75.2",
"@react-native/eslint-plugin": "^0.75.2",
"@types/jest": "^29.5.12",
"@types/react": "^19.0.0",
"@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.77.0",
"prettier": "^3.4.2",
"react-native-builder-bob": "^0.38.0",
"semantic-release": "^24.1.0"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-native": "^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0 || ^0.74.0 || ^0.75.0 || ^0.76.0 || ^0.77.0 || ^0.78.0"
},
"engines": {
"node": ">= 16.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"codegenConfig": {
"name": "RNEpsonEscposprinterSpec",
"type": "modules",
"jsSrcsDir": "src"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"commonjs",
{
"esm": true
}
],
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"esm": true
}
]
]
}
}