-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
92 lines (92 loc) · 3.04 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
{
"name": "boltz-core",
"version": "2.1.3",
"description": "Core library of Boltz",
"main": "dist/lib/Boltz.js",
"scripts": {
"compile": "npm run compile:solidity && npm run compile:typescript",
"compile:solidity": "forge compile && npm run compile:solidity:ethers",
"compile:solidity:ethers": "ts-node typechain.ts",
"compile:typescript": "tsc",
"compile:typescript:watch": "tsc --watch",
"lint": "eslint --max-warnings 0 --ext .ts .",
"prettier": "npx prettier '{lib,test}/**/*.ts'",
"prettier:write": "npm run prettier -- --write",
"prettier:check": "npm run prettier -- --check",
"docker:start": "./startRegtest.sh",
"docker:stop": "docker stop boltz-bitcoin && docker rm boltz-bitcoin && docker kill boltz-elements && docker rm boltz-elements",
"test": "npm run test:solidity && npm run test:unit && npm run test:int",
"test:solidity": "forge test",
"test:unit": "jest test/unit",
"test:int": "jest test/integration --runInBand",
"deploy:solidity": "forge script Deploy --broadcast --rpc-url http://127.0.0.1:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",
"changelog": "git-cliff -o CHANGELOG.md",
"preversion": "npm run lint && npm run compile && npm run test",
"version": "npm run changelog",
"prepublishOnly": "FOUNDRY_PROFILE=release npm run compile"
},
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/BoltzExchange/boltz-core.git"
},
"engines": {
"node": ">=14"
},
"files": [
"LICENSE",
"README.md",
"foundry.toml",
"remappings.txt",
"out/ERC20.sol/ERC20.json",
"out/TestERC20.sol/TestERC20.json",
"out/EtherSwap.sol/EtherSwap.json",
"out/ERC20Swap.sol/ERC20Swap.json",
"contracts/lib",
"contracts/*.sol",
"contracts/script/*.sol",
"typechain/*",
"dist/**/!(tsconfig.tsbuildinfo)"
],
"dependencies": {
"@boltz/bitcoin-ops": "^2.0.0",
"@openzeppelin/contracts": "^5.0.2",
"@vulpemventures/secp256k1-zkp": "^3.2.1",
"bip32": "^4.0.0",
"bip65": "^1.0.3",
"bip66": "^1.1.5",
"bitcoinjs-lib": "^6.1.5",
"bn.js": "^5.2.1",
"ecpair": "^2.1.0",
"varuint-bitcoin": "^1.1.2"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@typechain/ethers-v6": "^0.5.1",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.12",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"bip174": "^2.1.1",
"cross-os": "^1.5.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-node": "^11.1.0",
"ethers": "^6.12.1",
"git-cliff": "^2.2.2",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"slip77": "^0.2.0",
"tiny-secp256k1": "^2.2.3",
"ts-jest": "^29.1.3",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.4.5",
"ws": "^8.17.0"
},
"peerDependencies": {
"liquidjs-lib": "^6.0.2-liquid.35"
}
}