UNPKG

rpc-bitcoin

Version:

A TypeScript library to make RPC and HTTP REST requests to Bitcoin Core

77 lines (76 loc) 2.12 kB
{ "name": "rpc-bitcoin", "version": "2.0.0", "description": "A TypeScript library to make RPC and HTTP REST requests to Bitcoin Core", "main": "build/index.js", "type": "commonjs", "engines": { "node": ">=10.19.0" }, "types": "build/index.d.ts", "scripts": { "build": "rm -fr build && tsc", "fresh-install": "rm -fr node_modules && rm -f package-lock.json && npm install", "prettier": "prettier -c \"**/*.{md,ts,json}\"", "prettier:build": "prettier -c \"./build/**/*.{js,d.ts}\" --write", "prettier-write": "npm run prettier -- --write", "lint": "eslint --ext .ts ./", "lint:build": "eslint --ext .js ./ --fix", "lint-fix": "npm run lint -- --fix", "test": "mocha -r ts-node/register --full-trace --ui tdd --bail --extension ts", "prepublishOnly": "npm run prettier && npm run lint && npm run build && npm run prettier:build && npm run lint:build", "postpublish": "rm -fr build" }, "repository": { "type": "git", "url": "git+https://github.com/vansergen/rpc-bitcoin.git" }, "keywords": [ "RPC", "Bitcoin" ], "author": "Sergey Bakulin", "license": "MIT", "bugs": { "url": "https://github.com/vansergen/rpc-bitcoin/issues" }, "homepage": "https://github.com/vansergen/rpc-bitcoin#readme", "devDependencies": { "@types/mocha": "^7.0.2", "@typescript-eslint/eslint-plugin": "^2.25.0", "@typescript-eslint/parser": "^2.25.0", "eslint": "^6.8.0", "husky": "^4.2.3", "lint-staged": "^10.0.9", "mocha": "^7.1.1", "nock": "^12.0.3", "prettier": "^2.0.2", "ts-node": "^8.8.1", "typescript": "^3.8.3" }, "dependencies": { "rpc-request": "^4.0.9" }, "directories": { "test": "test" }, "lint-staged": { "*.{ts,json,md}": [ "prettier --write", "git add" ], "*.{ts,js}": [ "eslint --fix", "git add" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "funding": { "type": "Coinbase Commerce", "url": "https://commerce.coinbase.com/checkout/89a70363-3d1f-4aa0-8d2a-1424ed9e87ee" } }