64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"name": "@node-escpos/core",
|
|
"type": "module",
|
|
"version": "0.6.0",
|
|
"packageManager": "pnpm@7.2.1",
|
|
"description": "",
|
|
"author": "Caspian <zhaodonghao586@outlook.com> (https://github.com/dohooo)",
|
|
"license": "MIT",
|
|
"funding": "https://github.com/sponsors/dohooo",
|
|
"homepage": "https://github.com/node-escpos/driver/tree/main/packages/core",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/node-escpos/driver.git"
|
|
},
|
|
"bugs": "https://github.com/node-escpos/driver/issues",
|
|
"keywords": [],
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"require": "./dist/index.cjs",
|
|
"import": "./dist/index.mjs"
|
|
}
|
|
},
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"./dist/*",
|
|
"./dist/index.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"eventemitter3": "^4.0.7",
|
|
"get-pixels": "*",
|
|
"iconv-lite": "*",
|
|
"mutable-buffer": "^2.0.3",
|
|
"ndarray": "^1.0.19",
|
|
"qr-image": "*",
|
|
"@types/qr-image": "^3.2.4",
|
|
"@types/ndarray": "^1.0.11",
|
|
"@node-escpos/adapter": "0.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/get-pixels": "^3.3.2",
|
|
"@types/node": "^10.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "unbuild",
|
|
"build:watch": "npx nodemon --exec 'pnpm run build' -w src -e 'ts'",
|
|
"dev": "unbuild --stub",
|
|
"lint": "eslint .",
|
|
"release": "bumpp && npm publish",
|
|
"start": "esno src/index.ts",
|
|
"test": "vitest",
|
|
"typecheck": "tsc --noEmit"
|
|
}
|
|
} |