-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.35 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "web-escpos-printer",
"version": "1.4.0",
"description": "Print to ESC/POS/StarPRNT thermal receipt printers straight from the browser — Web Bluetooth, Web Serial, WebUSB, or QZ Tray — no Node at runtime. Includes a preview renderer to test receipts without a physical printer.",
"main": "build/web-escpos-printer.js",
"module": "build/web-escpos-printer.esm.js",
"types": "build/types/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/GomdimApps/web-escpos-printer.git"
},
"homepage": "https://github.com/GomdimApps/web-escpos-printer#readme",
"bugs": {
"url": "https://github.com/GomdimApps/web-escpos-printer/issues"
},
"exports": {
".": {
"types": "./build/types/index.d.ts",
"import": "./build/web-escpos-printer.esm.js",
"browser": "./build/web-escpos-printer.js",
"require": "./build/web-escpos-printer.js",
"default": "./build/web-escpos-printer.js"
}
},
"files": [
"build",
"README.md",
"LICENSE"
],
"scripts": {
"build": "webpack --mode production && npm run build:types",
"build:standalone": "webpack --mode production --config-name umd",
"build:types": "tsc -p tsconfig.build.json",
"build:dev": "webpack --mode development --watch",
"prepublishOnly": "npm run build",
"test": "vitest run",
"test:watch": "vitest"
},
"keywords": [
"pos",
"point-of-sale",
"escpos",
"star-prnt",
"receipt-printer",
"thermal-printer",
"bluetooth",
"web-bluetooth",
"web-serial",
"webusb",
"qz-tray",
"barcode",
"qrcode",
"pdf417",
"browser",
"typescript"
],
"author": "",
"license": "MIT",
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
},
"dependencies": {
"@bwip-js/browser": "^4.11.2",
"@point-of-sale/receipt-printer-encoder": "^3.0.3",
"canvas-dither": "^1.0.1",
"qrcode-generator": "^2.0.4",
"qz-tray": "^2.2.6"
},
"devDependencies": {
"@types/jsdom": "^30.0.0",
"@types/node": "^26.2.0",
"@types/qz-tray": "^2.2.2",
"@types/w3c-web-serial": "^1.0.8",
"@types/w3c-web-usb": "^1.0.14",
"@types/web-bluetooth": "^0.0.21",
"canvas": "^3.2.3",
"jsdom": "^27.0.1",
"ts-loader": "^9.5.4",
"typescript": "^6.0.2",
"vitest": "^3.2.7",
"webpack": "^5.102.1",
"webpack-cli": "^5.1.4"
}
}