UNPKG

lnurl-pay

Version:

Client library for lnurl-pay and lightning address

92 lines (91 loc) 2.8 kB
{ "name": "lnurl-pay", "version": "4.0.0", "description": "Client library for lnurl-pay and lightning address", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "umd:main": "dist/umd/index.js", "types": "dist/types/index.d.js", "engines": { "node": ">=18" }, "scripts": { "eslint-check": "eslint \"{src,test}/**/*.ts\"", "eslint-fix": "eslint \"{src,test}/**/*.ts\" --fix", "prettier-check": "prettier --check .", "prettier-write": "prettier --write .", "prepublishOnly": "pinst --disable", "_postinstall": "husky || true", "postpublish": "pinst --enable", "build": "yarn build:cjs && yarn build:esm && yarn build:umd && yarn build:types", "build:cjs": "node tools/cleanup cjs && tsc -p config/tsconfig.cjs.json", "build:esm": "node tools/cleanup esm && tsc -p config/tsconfig.esm.json", "build:umd": "node tools/cleanup umd && webpack --config config/webpack.config.js", "build:types": "node tools/cleanup types && tsc -p config/tsconfig.types.json", "clean": "node tools/cleanup", "package": "yarn build && yarn pack", "test": "jest --no-cache --runInBand", "test:cov": "jest --coverage --no-cache --runInBand", "addscope": "node tools/packagejson name @dolcalmi/lnurl-pay" }, "publishConfig": { "access": "public" }, "files": [ "dist" ], "keywords": [ "lnurl", "lightning address", "lightning", "lnurl-pay" ], "license": "MIT", "homepage": "https://github.com/dolcalmi/lnurl-pay", "repository": { "type": "git", "url": "git@github.com:dolcalmi/lnurl-pay.git" }, "bugs": { "url": "https://github.com/dolcalmi/lnurl-pay/issues" }, "dependencies": { "@aws-crypto/sha256-js": "^5.2.0", "aes-js": "^3.1.2", "assert": "^2.1.0", "axios": "^1.7.7", "base64-js": "^1.5.1", "bech32": "^2.0.0", "bolt11": "^1.4.1", "browserify-zlib": "^0.2.0", "buffer": "^6.0.3", "https-browserify": "^1.0.0", "is-url": "^1.2.4", "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "tslib": "^2.8.0" }, "devDependencies": { "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", "@types/aes-js": "^3.1.4", "@types/is-url": "^1.2.32", "@types/jest": "^29.5.13", "@types/node": "^22.7.7", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", "eslint": "^8.54.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "husky": "^9.1.6", "jest": "^29.7.0", "pinst": "^3.0.0", "prettier": "^3.3.3", "process": "^0.11.10", "ts-jest": "^29.2.5", "ts-loader": "^9.5.1", "typescript": "^5.6.3", "webpack": "^5.95.0", "webpack-cli": "^5.1.4" } }