-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpackage.json
94 lines (94 loc) · 3.11 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
{
"name": "boltz-core",
"version": "2.2.1",
"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 .",
"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",
"format:solidity": "forge fmt contracts/*.sol contracts/script/ contracts/test/",
"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": ">=18"
},
"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.1.0",
"@vulpemventures/secp256k1-zkp": "^3.2.1",
"bip32": "^4.0.0",
"bip65": "^1.0.3",
"bip66": "^2.0.0",
"bitcoinjs-lib": "^6.1.7",
"bn.js": "^5.2.1",
"ecpair": "^2.1.0",
"varuint-bitcoin": "^2.0.0"
},
"devDependencies": {
"@eslint/js": "^9.16.0",
"@trivago/prettier-plugin-sort-imports": "^5.2.0",
"@typechain/ethers-v6": "^0.5.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.1",
"@types/ws": "^8.5.13",
"bip174": "^2.1.1",
"cross-os": "^1.5.0",
"eslint": "^9.16.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-n": "^17.14.0",
"ethers": "^6.13.4",
"git-cliff": "^2.7.0",
"globals": "^15.13.0",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"slip77": "^0.2.0",
"tiny-secp256k1": "^2.2.3",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.17.0",
"ws": "^8.18.0"
},
"peerDependencies": {
"liquidjs-lib": "^6.0.2-liquid.36"
}
}