forked from DaniGuardiola/electrumjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.13 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
{
"name": "electrumjs",
"version": "0.1.2",
"description": "Electrum protocol client for node.js",
"main": "index.js",
"types": "dist/main.d.ts",
"files": [
"dist",
"src",
"example",
"package.json",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/randomnerd/electrumjs.git"
},
"engines": {
"node": ">=6"
},
"keywords": [
"client",
"electrum",
"bitcoin"
],
"dependencies": {
"jsonrpc-spec": "0.0.3"
},
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^12.6.2",
"coveralls": "^3.0.4",
"docco": "^0.8.0",
"electrum-host-parse": "*",
"mocha": "^6.1.4",
"npm-check": "^5.9.0",
"nyc": "^14.1.1",
"pre-commit": "^1.2.2",
"rpcgen": "github:DaniGuardiola/rpcgen",
"standard": "^12.0.1",
"tslint": "^5.18.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.5.3"
},
"scripts": {
"build-protocol": "rm -f src/protocol.ts && rpcgen -i protocol/definition.xml -t protocol/template.ts.tmpl > src/gen/protocol.ts",
"build-tsc": "rm -rf dist && tsc -p ./",
"build": "npm run build-protocol -s && npm run build-tsc -s",
"lint": "tslint --project .",
"test": "nyc mocha ./dist/test",
"test-watch": "mocha --watch ./dist/test",
"coverage": "nyc check-coverage --branches 90 --functions 90",
"coverage-html": "nyc report --reporter html --report-dir coverage-html",
"coveralls": "npm test -s && nyc report --reporter=text-lcov | coveralls",
"check-deps": "npm-check -p",
"checklist": "npm run build -s -s && npm run lint && npm test -s && npm run coverage -s && npm run check-security -s && npm run check-deps -s",
"docs": "rm -rf docs && docco --output docs src/*.ts src/**/*.ts",
"cleanup": "rm -rf docs dist .nyc_output coverage coverage-html node_modules"
},
"pre-commit": [
"build",
"lint",
"test",
"check-deps",
"coverage-html",
"docs"
],
"author": "Vitaly Sorokin",
"license": "MIT",
"bugs": {
"url": "https://github.com/randomnerd/electrumjs/issues"
},
"homepage": "https://github.com/randomnerd/electrumjs"
}