-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
50 lines (50 loc) · 1.59 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"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"
}
}