UNPKG

@stacksjs/qrx

Version:

QR & Bar Code generating & reading. Lightweight & powerful.

79 lines (78 loc) 2.57 kB
{ "name": "@stacksjs/qrx", "type": "module", "version": "0.1.0", "description": "QR & Bar Code generating & reading. Lightweight & powerful.", "author": "Chris Breuer <chris@stacksjs.org>", "license": "MIT", "homepage": "https://github.com/stacksjs/qrx#readme", "repository": { "type": "git", "url": "git+https://github.com/stacksjs/qrx.git" }, "bugs": { "url": "https://github.com/stacksjs/qrx/issues" }, "keywords": [ "typescript", "qrcode", "barcode", "qr", "bar", "code", "generate", "read", "lightweight", "powerful", "scanner", "reader", "decoder", "encoder", "stacksjs" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./*": { "import": "./dist/*" } }, "module": "./dist/index.js", "types": "./dist/index.d.ts", "bin": { "qrx": "./dist/cli.js" }, "files": [ "README.md", "dist" ], "scripts": { "build": "bun --bun build.ts && bun run compile", "compile": "bun build ./bin/cli.ts --compile --minify --outfile ./bin/qrx", "compile:all": "bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64", "compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile ./bin/qrx-linux-x64", "compile:linux-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile ./bin/qrx-linux-arm64", "compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile ./bin/qrx-windows-x64.exe", "compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile ./bin/qrx-darwin-x64", "compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile ./bin/qrx-darwin-arm64", "lint": "bunx --bun eslint --flag unstable_ts_config .", "lint:fix": "bunx --bun eslint --flag unstable_ts_config . --fix", "prepublishOnly": "bun --bun run build && bun run compile:all", "release": "bun publish --access public", "test": "bun test", "typecheck": "bun --bun tsc --noEmit" }, "devDependencies": { "@types/bun": "^1.1.14", "bun-plugin-dtsx": "^0.21.9", "bunfig": "^0.4.0", "lint-staged": "^15.3.0", "simple-git-hooks": "^2.11.1", "typescript": "^5.7.2" }, "lint-staged": { "*.{js,ts}": "bunx --bun eslint --flag unstable_ts_config . --fix" } }