@bitcoin-computer/nakamotojs-client
Version:
A client for regtest bitcoin or litecoin usage. Requires nakamotojs-server from github.
57 lines (56 loc) • 1.79 kB
JSON
{
"name": "@bitcoin-computer/nakamotojs-client",
"version": "0.2.2",
"description": "A client for regtest bitcoin or litecoin usage. Requires nakamotojs-server from 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",
"litecoin",
"regtest",
"client"
],
"author": "Jonathan Underwood",
"contributors": [
"Bitcoin Computer Devs"
],
"license": "MIT",
"dependencies": {
"bs58check": "^2.1.2",
"dhttp": "^3.0.3",
"ecpair": "^2.1.0",
"randombytes": "^2.1.0",
"tiny-secp256k1": "^2.2.1"
},
"devDependencies": {
"@bitcoin-computer/nakamotojs-lib": "^6.1.1",
"@types/node": "^11.13.0",
"@types/randombytes": "^2.0.0",
"mocha": "^6.1.4",
"prettier": "^1.16.4",
"rimraf": "^2.6.3",
"tslint": "^5.15.0",
"typescript": "^3.4.2"
}
}