-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.75 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 3.75 KB
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
{
"name": "boltz-core",
"version": "4.0.3",
"description": "Core library of Boltz",
"main": "dist/lib/Boltz.js",
"types": "dist/lib/Boltz.d.ts",
"exports": {
".": {
"types": "./dist/lib/Boltz.d.ts",
"require": "./dist/lib/Boltz.js",
"default": "./dist/lib/Boltz.js"
},
"./liquid": {
"types": "./dist/lib/liquid/index.d.ts",
"require": "./dist/lib/liquid/index.js",
"default": "./dist/lib/liquid/index.js"
},
"./out/*": "./out/*",
"./typechain/*": {
"types": "./typechain/*.ts"
},
"./package.json": "./package.json"
},
"scripts": {
"compile": "npm run compile:solidity && npm run compile:typescript",
"compile:solidity": "forge compile && npm run compile:solidity:ethers",
"compile:solidity:ethers": "node typechain.js",
"compile:typescript": "tsc && npm run compile:typescript:test",
"compile:typescript:test": "tsc --project tsconfig.test.json",
"compile:typescript:watch": "tsc --watch",
"lint": "npm run lint:eslint && npm run lint:biome",
"lint:eslint": "eslint --max-warnings 0 .",
"lint:biome": "npx @biomejs/biome lint .",
"prettier": "npx prettier '{lib,test}/**/*.ts' .github *.json *.mjs *.js",
"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": ">=20"
},
"files": [
"LICENSE",
"README.md",
".gitmodules",
"foundry.toml",
"remappings.txt",
"out/ERC20.sol/ERC20.json",
"out/Router.sol/Router.json",
"out/TestERC20.sol/TestERC20.json",
"out/EtherSwap.sol/EtherSwap.json",
"out/ERC20Swap.sol/ERC20Swap.json",
"contracts/*.sol",
"contracts/interfaces/*.sol",
"contracts/script/*.sol",
"typechain/*",
"dist/**/!(tsconfig.tsbuildinfo)"
],
"dependencies": {
"@boltz/bitcoin-ops": "^2.0.0",
"@noble/curves": "^2.0.1",
"@noble/hashes": "^2.0.1",
"@scure/base": "^2.0.0",
"@scure/btc-signer": "^2.0.1"
},
"devDependencies": {
"@biomejs/biome": "^2.4.10",
"@eslint/js": "^9.39.4",
"@swc/core": "^1.15.24",
"@swc/jest": "^0.2.39",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@typechain/ethers-v6": "^0.5.1",
"@types/jest": "^30.0.0",
"@types/node": "^25.5.2",
"@types/ws": "^8.18.1",
"eslint": "^9.39.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.15.1",
"eslint-plugin-n": "^17.24.0",
"ethers": "^6.16.0",
"git-cliff": "^2.12.0",
"globals": "^17.4.0",
"jest": "^30.3.0",
"prettier": "^3.8.1",
"slip77": "^0.2.0",
"typechain": "^8.3.2",
"typescript": "^6.0.2",
"typescript-eslint": "^8.58.0",
"ws": "^8.20.0"
},
"peerDependencies": {
"@vulpemventures/secp256k1-zkp": "^3.2.1",
"liquidjs-lib": "^6.0.2-liquid.37"
}
}