UNPKG

smartcardx

Version:

Backend library for communication with smartcards using system native PCSC interface. Plain Iso7816 + EMV + GlobalPlatform functionality.

87 lines (86 loc) 2.68 kB
{ "name": "smartcardx", "version": "0.9.7", "description": "Backend library for communication with smartcards using system native PCSC interface. Plain Iso7816 + EMV + GlobalPlatform functionality.", "keywords": [ "pcsc", "pcsclite", "nfc", "smartcard", "apdu", "iso7816", "iso-7816", "emv", "globalplatform", "ber", "es6" ], "license": "MIT", "author": { "name": "Aliaksei Vitsiuk", "email": "alessio4493@gmail.com", "url": "https://ieskel.link" }, "homepage": "https://github.com/avitsiuk/smartcard", "repository": { "type": "git", "url": "https://github.com/avitsiuk/smartcard.git" }, "bugs": { "url": "https://github.com/avitsiuk/smartcard/issues" }, "engines": { "node": ">=10.24.1" }, "files": [ "lib/", "CHANGELOG.md" ], "directories": { "doc": "docs/", "example": "examples/", "lib": "lib/", "test": "test/" }, "main": "./lib/cjs/index.js", "module": "./lib/mjs/index.mjs", "types": "./lib/types/index.d.ts", "exports": { "require": "./lib/cjs/index.js", "import": "./lib/mjs/index.mjs", "types": "./lib/types/index.d.ts" }, "sideEffects": false, "scripts": { "test": "jest", "test-cov": "jest --coverage", "build:clean": "rimraf ./lib", "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc -p tsconfig.esm.json", "fix:esm": "./scripts/fix-esm.sh", "build": "npm run build:clean && concurrently \"npm:build:cjs\" \"npm:build:esm\" && npm run fix:esm", "format:check": "prettier --check \"{src,example}/**/*.{js,ts}\"", "format:fix": "prettier --write \"{src,example}/**/*.{js,ts}\"", "docs": "typedoc --options typedoc.json", "prepack": "npm run test-cov && npm run build && npm run format:check", "demo": "npx ts-node --project tsconfig.cjs.json ./examples/demo.ts", "demo2": "npx ts-node --project tsconfig.cjs.json ./examples/demo2.ts" }, "dependencies": { "pcsclite": "1.0.1" }, "devDependencies": { "@types/jest": "^29.5.12", "@types/md5": "^2.3.5", "concurrently": "^9.0.0", "jest": "^29.7.0", "prettier": "^3.2.2", "rimraf": "^6.0.1", "ts-jest": "^29.2.5", "ts-node": "^10.9.1", "typedoc": "^0.27.6", "typedoc-plugin-missing-exports": "^3.0.0", "typedoc-plugin-not-exported": "^0.1.6", "typescript": "^5.0.4" } }