This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
forked from BoltzExchange/boltz-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 3.02 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
{
"name": "boltz-core",
"version": "0.5.0",
"description": "Core library of Boltz",
"main": "dist/lib/Boltz.js",
"scripts": {
"compile": "npm run compile:solidity && npm run compile:typescript",
"compile:solidity": "hardhat compile && npm run compile:solidity:ethers",
"compile:solidity:ethers": "typechain --target ethers-v5 --out-dir typechain/ ./artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json && typechain --target ethers-v5 --out-dir typechain/ ./artifacts/contracts/EtherSwap.sol/EtherSwap.json && typechain --target ethers-v5 --out-dir typechain/ ./artifacts/contracts/ERC20Swap.sol/ERC20Swap.json && rm ./typechain/index.ts",
"compile:typescript": "tsc",
"compile:typescript:watch": "tsc --watch",
"lint": "eslint --max-warnings 0 --ext .ts .",
"docker:start": "./startRegtest.sh",
"docker:stop": "docker stop boltz-bitcoin && docker rm boltz-bitcoin",
"test": "npm run test:solidity && npm run test:unit && npm run test:int",
"test:solidity": "hardhat test",
"test:unit": "jest test-lib/unit",
"test:int": "jest test-lib/integration --runInBand",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"preversion": "npm run lint && npm run compile && npm run test",
"version": "npm run changelog",
"prepublishOnly": "npm run compile"
},
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/BoltzExchange/boltz-core.git"
},
"files": [
"LICENSE",
"scripts",
"typechain",
"README.md",
"hardhat.config.ts",
"dist/**/!(tsconfig.tsbuildinfo)",
"artifacts/contracts/EtherSwap.sol/EtherSwap.json",
"artifacts/contracts/ERC20Swap.sol/ERC20Swap.json",
"artifacts/contracts/TestERC20.sol/TestERC20.json",
"artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json"
],
"dependencies": {
"@boltz/bitcoin-ops": "^2.0.0",
"bip32": "^3.0.1",
"bip65": "^1.0.3",
"bip66": "^1.1.5",
"bitcoinjs-lib": "^6.0.0",
"bn.js": "^5.2.0",
"ecpair": "^1.0.1",
"varuint-bitcoin": "^1.1.2"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.7",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^4.3.3",
"@typechain/ethers-v5": "8.0.3",
"@types/chai": "^4.2.22",
"@types/jest": "^27.0.3",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.9",
"@types/ws": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"chai": "^4.3.4",
"conventional-changelog-cli": "^2.1.1",
"cross-os": "^1.4.0",
"eslint": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.2.4",
"eslint-plugin-node": "^11.1.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.5.1",
"hardhat": "^2.6.8",
"hardhat-gas-reporter": "^1.0.4",
"jest": "^27.3.1",
"ts-jest": "^27.0.7",
"ts-node": "^10.4.0",
"typechain": "^6.0.3",
"typescript": "^4.5.2",
"ws": "^8.2.3"
}
}