-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.88 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 1.88 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
{
"name": "local-printer",
"version": "2.0.0",
"description": "A local, plugin-driven daily digest for a serial thermal printer",
"private": true,
"files": [
"dist",
"assets"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./csn-a2": {
"types": "./dist/core/CsnA2Printer.d.ts",
"import": "./dist/core/CsnA2Printer.js"
}
},
"type": "module",
"packageManager": "pnpm@9.15.4",
"engines": {
"node": ">=24"
},
"scripts": {
"clean": "node --input-type=module -e \"import { rmSync } from 'node:fs'; rmSync('dist', { recursive: true, force: true })\"",
"prebuild": "pnpm run clean",
"build": "tsc -p tsconfig.build.json",
"typecheck": "tsc -p tsconfig.json",
"prestart": "pnpm run build",
"start": "node --enable-source-maps dist/index.js",
"dev": "DEV_MODE=true PRINT_ON_START=true tsx src/index.ts",
"lint": "eslint .",
"test": "pnpm run build && tsx --test test/**/*.test.ts",
"check": "pnpm run typecheck && pnpm run lint && pnpm test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/0x62/LocalPrinter.git"
},
"license": "GPL-3.0-only",
"bugs": {
"url": "https://github.com/0x62/LocalPrinter/issues"
},
"homepage": "https://github.com/0x62/LocalPrinter#readme",
"dependencies": {
"canvas": "^3.2.3",
"canvas-dither": "^1.0.1",
"dotenv": "^17.4.2",
"fast-xml-parser": "^5.11.0",
"node-cron": "^4.6.0",
"node-telegram-bot-api": "^2.0.0",
"qrcode": "^1.5.4",
"serialport": "^13.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^24.13.3",
"@types/qrcode": "^1.5.6",
"eslint": "^10.9.0",
"globals": "^17.11.0",
"tsx": "^4.23.12",
"typescript": "^6.0.3",
"typescript-eslint": "^8.67.0"
}
}