Browse Source

fix naming

master
munir ishak 4 years ago
parent
commit
8c87275e13
3 changed files with 7 additions and 7 deletions
  1. 5
    5
      README.md
  2. 1
    1
      index.js
  3. 1
    1
      package.json

+ 5
- 5
README.md View File

1
-# react-native-printer
1
+# react-native-printer-mirfalahtech
2
 
2
 
3
 A React Native Library to support USB/BLE/Net printer for Android platform 
3
 A React Native Library to support USB/BLE/Net printer for Android platform 
4
 
4
 
5
 ## Installation
5
 ## Installation
6
 
6
 
7
 ```
7
 ```
8
-npm install react-native-printer --save
8
+npm install react-native-printer-mirfalahtech --save
9
 
9
 
10
 ```
10
 ```
11
 
11
 
12
 ## Integrate module
12
 ## Integrate module
13
 
13
 
14
-To integrate `react-native-printer` with the rest of your react app just execute:
14
+To integrate `react-native-printer-mirfalahtech` with the rest of your react app just execute:
15
 
15
 
16
 ```
16
 ```
17
-react-native link react-native-printer
17
+react-native link react-native-printer-mirfalahtech
18
 
18
 
19
 ```
19
 ```
20
 
20
 
21
 ## Usage
21
 ## Usage
22
 
22
 
23
 ```javascript
23
 ```javascript
24
-import { USBPrinter, NetPrinter, BLEPrinter } from 'react-native-printer';
24
+import { USBPrinter, NetPrinter, BLEPrinter } from 'react-native-printer-mirfalahtech';
25
 
25
 
26
 USBPrinter.printText('<C>这是一个测试打印</C>')
26
 USBPrinter.printText('<C>这是一个测试打印</C>')
27
 USBPrinter.printBill("<C>这是一段打印测试文字</C>")
27
 USBPrinter.printBill("<C>这是一段打印测试文字</C>")

+ 1
- 1
index.js View File

1
 import React, { NativeModules } from 'react-native';
1
 import React, { NativeModules } from 'react-native';
2
 
2
 
3
-import EPToolkit from 'escpos-printer-toolkit';
3
+import EPToolkit from 'escpos-printer-toolkit-mirfalahtech';
4
 
4
 
5
 var RNUSBPrinter = NativeModules.RNUSBPrinter;
5
 var RNUSBPrinter = NativeModules.RNUSBPrinter;
6
 var RNBLEPrinter = NativeModules.RNBLEPrinter;
6
 var RNBLEPrinter = NativeModules.RNBLEPrinter;

+ 1
- 1
package.json View File

1
 {
1
 {
2
   "name": "react-native-printer-mirfalahtech",
2
   "name": "react-native-printer-mirfalahtech",
3
-  "version": "0.0.5",
3
+  "version": "0.0.6",
4
   "description": "A React Native Library to support USB/BLE/Net printer for Android platform - is a Fork ",
4
   "description": "A React Native Library to support USB/BLE/Net printer for Android platform - is a Fork ",
5
   "main": "index.js",
5
   "main": "index.js",
6
   "scripts": {
6
   "scripts": {

Loading…
Cancel
Save