UNPKG

@iangregsondev/rpc-bitcoin

Version:

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

79 lines (78 loc) 2.09 kB
{ "name": "@iangregsondev/rpc-bitcoin", "version": "3.0.12", "description": "A TypeScript library to make RPC and HTTP REST requests to Bitcoin SV", "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": "https://github.com/iangregsondev/rpc-bitcoin.git" }, "publishConfig": { "access": "public" }, "keywords": [ "RPC", "Bitcoin", "BSV" ], "author": "Ian Gregson", "license": "MIT", "bugs": { "url": "https://github.com/iangregsondev/rpc-bitcoin/issues" }, "homepage": "https://github.com/iangregsondev/rpc-bitcoin", "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", "snyk": "^1.316.2" }, "directories": { "test": "test" }, "lint-staged": { "*.{ts,json,md}": [ "prettier --write", "git add" ], "*.{ts,js}": [ "eslint --fix", "git add" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "snyk": true }