UNPKG

regtest-client

Version:

A client for regtest bitcoin usage. Requires regtest-server from bitcoinjs github.

51 lines (50 loc) 1.62 kB
{ "name": "regtest-client", "version": "0.2.1", "description": "A client for regtest bitcoin usage. Requires regtest-server from bitcoinjs github.", "main": "src/index.js", "types": "types/index.d.ts", "files": [ "src", "types" ], "scripts": { "build": "npm run clean && tsc -p ./tsconfig.json && npm run formatjs", "clean": "rimraf src/ types/", "format": "npm run prettier -- --write", "formatjs": "npm run prettierjs -- --write", "formatjs:ci": "npm run prettierjs -- --check", "format:ci": "npm run prettier -- --check", "gitdiff:ci": "npm run build && git diff --exit-code", "lint": "tslint -p tsconfig.json -c tslint.json", "nobuild:gitdiff:ci": "git diff --exit-code", "nobuild:unit": "mocha --timeout 50000", "prepublishOnly": "npm run test && npm run nobuild:gitdiff:ci", "prettier": "prettier 'ts_src/**/*.ts' --ignore-path ./.prettierignore", "prettierjs": "prettier 'src/**/*.js' --ignore-path ./.prettierignore", "test": "npm run build && npm run format:ci && npm run lint && npm run nobuild:unit", "unit": "npm run build && npm run nobuild:unit" }, "keywords": [ "bitcoin", "regtest", "client" ], "author": "Jonathan Underwood", "license": "MIT", "dependencies": { "bs58check": "^2.1.2", "dhttp": "^3.0.3", "randombytes": "^2.1.0" }, "devDependencies": { "@types/node": "^11.13.0", "@types/randombytes": "^2.0.0", "bitcoinjs-lib": "^5.2.0", "mocha": "^10.2.0", "prettier": "^1.16.4", "rimraf": "^2.6.3", "tslint": "^5.15.0", "typescript": "^3.4.2" } }