forked from MardukExchange/lnsovbridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 4.65 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "boltz-backend",
"version": "3.1.1",
"description": "Backend of Boltz",
"main": "dist/lib/Boltz.js",
"scripts": {
"postinstall": "npm run precompile",
"proto": "cross-os proto",
"precompile": "node parseGitCommit.js",
"compile": "tsc && cross-os postcompile",
"compile:watch": "tsc -w",
"start": "node bin/boltzd",
"dev": "npm run compile && npm run start",
"lint": "eslint --max-warnings 0 --ext .ts .",
"docker:regtest": "./docker/regtest/startRegtest.sh",
"docker:geth": "docker run -d --name geth -p 8545:8545 -p 8546:8546 boltz/geth:1.10.3",
"docker:geth:deploy": "mkdir -p contracts && cp -R node_modules/boltz-core/hardhat.config.ts node_modules/boltz-core/scripts node_modules/boltz-core/artifacts contracts && cd contracts && hardhat deploy --network localhost",
"docker:geth:fund": "./bin/boltz-ethereum send 1000000000000 && ./bin/boltz-ethereum send 1000000000000 --token",
"docker:start": "npm run docker:regtest && npm run docker:geth && npm run docker:geth:deploy && npm run docker:geth:fund",
"docker:stop": "docker kill regtest && docker rm regtest && docker kill geth && docker rm geth",
"rsk:geth": "java -cp $HOME/Downloads/rskj-core-3.0.1-IRIS-all.jar -Drpc.providers.web.cors=* -Drpc.providers.web.ws.enabled=true co.rsk.Start --regtest",
"rsk:fund": "./bin/boltz-rsk send 1000000000000 && ./bin/boltz-rsk send 1000000000000 --token",
"test": "npm run test:unit && npm run docker:start && npm run test:int && npm run docker:stop",
"test:nodocker": "npm run test:unit && npm run test:int",
"test:unit": "jest test/unit",
"test:unit:coverage": "jest test/unit --coverage",
"test:int": "jest test/integration --runInBand",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"prepublishOnly": "npm run compile && rm -f dist/package.json",
"python:install": "pip install -r tools/requirements.txt",
"python:lint": "pylint tools/*.py docker/*.py"
},
"bin": {
"boltzd": "./bin/boltzd",
"boltz-cli": "./bin/boltz-cli"
},
"cross-os": {
"postcompile": {
"linux": "rsync -am --include '*/' --include '*.js*' --exclude '*' lib/proto/ dist/lib/proto"
},
"proto": {
"linux": "./node_modules/grpc-tools/bin/protoc --js_out='import_style=commonjs,binary:lib/proto' --ts_out='lib/proto' --grpc_out='lib/proto' --plugin='protoc-gen-grpc=node_modules/.bin/grpc_tools_node_protoc_plugin' --plugin='protoc-gen-ts=node_modules/grpc_tools_node_protoc_ts/bin/protoc-gen-ts' -I='proto' proto/*.proto proto/**/*.proto"
}
},
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/BoltzExchange/boltz-backend"
},
"files": [
"bin",
"LICENSE",
"README.md",
"dist/**/!(tsconfig.tsbuildinfo)"
],
"engines": {
"node": ">=10.21.0"
},
"dependencies": {
"@boltz/bolt11": "^1.2.7",
"@google-cloud/storage": "^5.8.5",
"@iarna/toml": "^2.2.5",
"async-lock": "^1.3.0",
"axios": "^0.21.1",
"bip32": "^2.0.6",
"bip39": "^3.0.4",
"bitcoinjs-lib": "^5.2.0",
"boltz-core": "^0.4.1",
"cors": "^2.8.5",
"cross-os": "^1.4.0",
"discord.js": "^12.5.3",
"diskusage": "^1.1.3",
"ethers": "^5.3.0",
"express": "^4.17.1",
"google-protobuf": "^3.17.1",
"grpc": "1.24.6",
"node-forge": "^0.10.0",
"node-schedule": "^2.0.0",
"otplib": "^12.0.1",
"sequelize": "^6.6.2",
"sqlite3": "^5.0.2",
"winston": "^3.3.3",
"ws": "^7.4.6",
"yargs": "^17.0.1",
"zeromq": "^5.2.8"
},
"devDependencies": {
"@boltz/bitcoin-ops": "^2.0.0",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@types/async-lock": "^1.1.2",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.12",
"@types/jest": "^26.0.23",
"@types/node-forge": "^0.9.9",
"@types/node-schedule": "^1.3.1",
"@types/ws": "^7.4.4",
"@types/yargs": "^17.0.0",
"@types/zeromq": "^5.2.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"concurrently": "^6.2.0",
"conventional-changelog": "^3.1.24",
"conventional-changelog-cli": "^2.1.1",
"eslint": "^7.27.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-node": "^11.1.0",
"ethereum-waffle": "^3.3.0",
"get-port": "^5.1.1",
"grpc-tools": "^1.11.1",
"grpc_tools_node_protoc_ts": "^5.2.2",
"hardhat": "^2.3.0",
"hardhat-gas-reporter": "^1.0.4",
"jest": "27.0.3",
"ts-jest": "27.0.2",
"ts-node": "10.0.0",
"ts-protoc-gen": "^0.15.0",
"typescript": "^4.3.2"
}
}