UNPKG

bitpay-sdk

Version:

Complete version of the NodeJS library for the new cryptographically secure BitPay API

81 lines (80 loc) 2.43 kB
{ "name": "bitpay-sdk", "version": "7.0.9", "description": "Complete version of the NodeJS library for the new cryptographically secure BitPay API", "engines": { "node": ">=20.0.0 <25.0.0" }, "main": "dist/index", "exports": { ".": "./dist/index.js", "./client": "./dist/Client/index.js", "./models": "./dist/Model/index.js", "./exceptions": "./dist/Exceptions/index.js", "./logger": "./dist/Logger/index.js" }, "typings": "dist/index", "bin": "./bin/index.js", "files": [ "dist/**/*.js", "dist/**/*.d.ts" ], "scripts": { "build": "rimraf dist && tsc -p ./tsconfig.json", "setup": "npm run build && node dist/setup/BitPaySetup.js", "coverage": "npm run unit -- --coverage", "format": "npm run prettier -- --write", "format:ci": "npm run prettier -- --check", "lint": "eslint .", "lint:fix": "eslint --fix .", "prepare": "npm run build && husky", "prettier": "prettier --config .prettierrc 'src/**/*.ts' 'test/**/*.spec.ts' 'examples/**/*'", "test": "npm run format:ci && npm run lint && npm run coverage", "unit": "jest test/clientUnit.spec.ts test/Client/bitPayResponseUnit.spec.ts --config=jest.json --runInBand", "functional": "jest test/clientFunctional.spec.ts --config=jest.json --runInBand" }, "author": "Antonio Buedo <integrations@bitpay.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/bitpay/nodejs-bitpay-client.git" }, "keywords": [ "bitpay", "bitcoin", "cash", "payment", "gateway" ], "bugs": { "url": "https://github.com/bitpay/nodejs-bitpay-client/issues" }, "homepage": "https://github.com/bitpay/nodejs-bitpay-client#readme", "dependencies": { "bs58": "6.0.0", "elliptic": "6.6.1", "lodash": "4.17.21", "zod": "3.25.76" }, "devDependencies": { "@types/bs58": "4.0.4", "@types/elliptic": "6.4.18", "@types/jest": "30.0.0", "@types/lodash": "4.17.20", "@types/node": "24.2.0", "@typescript-eslint/eslint-plugin": "8.37.0", "@typescript-eslint/parser": "8.39.0", "eslint": "9.33.0", "eslint-config-prettier": "10.1.8", "eslint-plugin-prettier": "5.5.1", "husky": "9.1.7", "i": "0.3.7", "jest": "30.0.4", "msw": "2.10.4", "npm": "11.4.2", "prettier": "3.6.2", "rimraf": "6.0.1", "ts-jest": "29.4.0", "typescript": "5.8.3" } }