UNPKG

webzlp

Version:

A small library using WebUSB to print labels on label printers.

66 lines (65 loc) 1.72 kB
{ "name": "webzlp", "version": "2.0.3", "description": "A small library using WebUSB to print labels on label printers.", "type": "module", "repository": { "type": "git", "url": "git+https://github.com/Cellivar/WebZLP.git" }, "author": "Cellivar Kangaroorat <cellivar.kangaroorat@gmail.com> (https://github.com/cellivar)", "license": "GPL-3.0-only", "bugs": { "url": "https://github.com/Cellivar/WebZLP/issues" }, "homepage": "https://github.com/Cellivar/WebZLP#readme", "keywords": [ "thermal_printer", "printer", "webusb", "zebra", "lp2844", "lp2824" ], "scripts": { "build": "tsc && vite build", "lint": "eslint .", "test": "vitest --run", "test:snapshot": "vitest --run -u", "serve-local": "export PORT=4444 || set PORT=4444 && serve .", "all": "npm run build && npm run lint && npm run test" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/webzlp.js", "require": "./dist/webzlp.umd.csj", "default": "./dist/webzlp.js" }, "./readme": "./readme.md" }, "files": [ "dist" ], "devDependencies": { "@eslint/js": "^9.9.0", "@types/bootstrap": "^5.2.10", "@types/eslint__js": "^8.42.3", "@types/node": "^20.14.8", "@types/w3c-web-usb": "^1.0.10", "@vitest/coverage-v8": "^2.1.6", "eslint": "^9.9.0", "globals": "^15.9.0", "happy-dom": "^15.11.7", "https-localhost": "^4.7.1", "typescript": "^5.7.2", "typescript-eslint": "^8.16.0", "vite": "^6.0.0", "vite-plugin-dts": "^4.3.0", "vite-plugin-eslint": "^1.8.1", "vitest": "^2.1.6" }, "dependencies": { "web-device-mux": "^0.5.0" } }