This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
forked from BoltzExchange/boltz-backend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
118 lines (118 loc) · 4.14 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
{
"name": "boltz-backend",
"version": "3.1.5",
"description": "Backend of Boltz",
"main": "dist/lib/Boltz.js",
"scripts": {
"postinstall": "npm run precompile",
"proto": "node protos.js",
"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:build": "docker build . -t boltz/backend:latest",
"docker:regtest": "./docker/regtest/startRegtest.sh",
"docker:geth": "docker run -d --name geth -p 8545:8545 -p 8546:8546 boltz/geth:1.10.25",
"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",
"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 --testTimeout 10000",
"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",
"darwin": "cp -R lib/proto/ dist/lib/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": ">=16.13.0"
},
"dependencies": {
"@boltz/bolt11": "^1.2.7",
"@google-cloud/storage": "^6.5.2",
"@grpc/grpc-js": "^1.7.1",
"@iarna/toml": "^2.2.5",
"async-lock": "^1.3.2",
"axios": "^0.27.2",
"bip32": "^3.0.1",
"bip39": "^3.0.4",
"bitcoinjs-lib": "^6.0.2",
"boltz-core": "^0.5.0",
"boltz-core-liquid": "^0.5.1",
"cors": "^2.8.5",
"cross-os": "^1.5.0",
"discord.js": "^14.4.0",
"ecpair": "^2.0.1",
"ethers": "^5.7.1",
"express": "^4.18.1",
"google-protobuf": "^3.21.0",
"node-forge": "^1.3.1",
"node-schedule": "^2.1.0",
"otplib": "^12.0.1",
"sequelize": "^6.23.1",
"sqlite3": "^5.1.1",
"winston": "^3.8.2",
"ws": "^8.9.0",
"yargs": "^17.5.1",
"zeromq": "^5.2.8"
},
"devDependencies": {
"@boltz/bitcoin-ops": "^2.0.0",
"@nomiclabs/hardhat-ethers": "2.1.1",
"@nomiclabs/hardhat-etherscan": "3.1.0",
"@nomiclabs/hardhat-waffle": "2.0.3",
"@types/async-lock": "^1.3.0",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.14",
"@types/jest": "^29.0.3",
"@types/node-forge": "^1.0.5",
"@types/node-schedule": "^2.1.0",
"@types/ws": "^8.5.3",
"@types/yargs": "^17.0.13",
"@types/zeromq": "^5.2.1",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"concurrently": "^7.4.0",
"conventional-changelog": "^3.1.25",
"conventional-changelog-cli": "^2.2.2",
"eslint": "^8.24.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-node": "^11.1.0",
"ethereum-waffle": "^3.4.4",
"grpc-tools": "^1.11.2",
"hardhat": "^2.11.2",
"hardhat-gas-reporter": "^1.0.9",
"jest": "29.0.3",
"ts-jest": "29.0.2",
"ts-node": "10.9.1",
"ts-protoc-gen": "^0.15.0",
"typescript": "^4.8.3"
}
}