forked from vansergen/rpc-bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.18 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"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",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"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",
"snyk": "^1.388.0"
},
"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"
},
"snyk": true
}