This repository has been archived by the owner on Oct 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
101 lines (101 loc) · 3.69 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "broker",
"version": "0.8.0-beta-rc2",
"description": "Broker software to interact with the Sparkswap Relayer.",
"main": "src/index.js",
"config": {
"project_name": "broker",
"daemon": "sparkswapd"
},
"scripts": {
"build": "bash ./scripts/build.sh",
"build-local": "npm run build -- --local",
"destroy": "bash ./scripts/destroy.sh",
"dist-cli": "npm run broker-proto && bash ./scripts/publish-broker-cli.sh",
"format": "npm run lint -- --fix",
"pretest": "npm run format",
"lint": "eslint broker-cli broker-daemon test --ext .js --max-warnings=0",
"mocha-test": "NODE_PATH=. mocha 'broker-cli/{,!(node_modules)/**}/**/*.spec.js' 'broker-daemon/**/**/*.spec.js'",
"test": "npm run check-for-cycles && npm run check-unused && npm run typecheck && npm run mocha-test",
"coverage": "nyc npm test",
"ci-test": "npm run format && npm test",
"start-sparkswapd": "pm2-docker pm2.json",
"start-sparkswapd-watch": "pm2-docker pm2.json --watch",
"validate-config": "eslint ~/.sparkswap/config.js --ext .js --max-warnings=0 --no-ignore -c ./.eslintrc",
"broker-proto": "pbjs -t proto3 broker.proto -p ./broker-daemon/proto -o /dev/null && cp -r ./broker-daemon/proto/ ./broker-cli/proto/",
"validate-proto": "mkdir ./proto-tmp && protoc --proto_path=./broker-daemon/proto --proto_path=./broker-daemon/proto/google/api ./broker-daemon/proto/broker.proto --js_out ./proto-tmp && rm -rf ./proto-tmp",
"check-for-cycles": "madge --circular broker-daemon/",
"check-unused": "node ./scripts/check-unused.js",
"env-setup": "bash ./scripts/env-setup.sh",
"typecheck": "tsc --alwaysStrict --allowJs --checkJs --noEmit --resolveJsonModule --downlevelIteration --noImplicitReturns --noUnusedLocals --noUnusedParameters --strictFunctionTypes --strictNullChecks --target es2018 --moduleResolution node broker-daemon/index.js"
},
"bin": {
"sparkswapd": "./broker-daemon/bin/sparkswapd",
"sparkswap": "./broker-cli/bin/sparkswap"
},
"nyc": {
"exclude": [
"**/*.spec.js"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/sparkswap/broker.git"
},
"author": "Sparkswap <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/sparkswap/broker/issues"
},
"homepage": "https://github.com/sparkswap/broker#readme",
"dependencies": {
"big-integer": "1.6.28",
"big.js": "5.1.2",
"body-parser": "1.18.3",
"caporal": "1.1.0",
"cli-table2": "0.2.0",
"colors": "1.2.4",
"express": "4.16.3",
"grpc": "1.11.3",
"grpc-caller": "0.11.0",
"grpc-methods": "github:sparkswap/grpc-methods#v0.8.0",
"helmet": "3.13.0",
"javascript-state-machine": "3.0.1",
"level": "3.0.1",
"level-live-stream": "1.4.12",
"level-sublevel": "6.6.5",
"lnd-engine": "github:sparkswap/lnd-engine#v0.6.0-beta-rc7",
"nano-seconds": "1.2.2",
"pm2": "3.5.1",
"protocol-buffers-schema": "3.3.2",
"through2": "2.0.3",
"validator": "10.2.0",
"window-size": "1.1.1",
"winston": "3.0.0-rc6"
},
"devDependencies": {
"chai": "4.1.2",
"chai-as-promised": "7.1.1",
"dirty-chai": "2.0.1",
"eslint": "5.16.0",
"eslint-config-standard": "12.0.0",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsdoc": "15.3.5",
"eslint-plugin-node": "8.0.1",
"eslint-plugin-promise": "4.0.1",
"eslint-plugin-standard": "4.0.0",
"madge": "3.3.0",
"mocha": "5.1.1",
"mock-require": "3.0.2",
"nyc": "14.1.1",
"protobufjs": "6.8.6",
"rewire": "4.0.1",
"sinon": "7.2.3",
"sinon-chai": "3.3.0",
"timekeeper": "2.1.2",
"timeout-as-promise": "1.0.0"
},
"engines": {
"node": "8.11.x"
}
}