forked from bitcoin-portal/bitcoincom-solidity-swap
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
94 lines (94 loc) · 3.41 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": "bitcoin-solidity-swap",
"version": "1.0.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/bitcoin-portal/bitcoincom-solidity-swap"
},
"description": "Bitcoin Swaps",
"author": "vitally.eth",
"private": true,
"scripts": {
"chain": "ganache-cli --defaultBalanceEther 10000000 -i 5777 -p 9545 -l 12500000 -m \"urban prevent meadow draft involve security curtain robot brick question try scatter\"",
"compile": "truffle compile",
"test-token": "npx truffle test test/token.test.js",
"test-swaps": "npx truffle test test/swaps.test.js",
"test-wraps": "npx truffle test test/wraps.test.js",
"test-coverage": "npx truffle run coverage --network development --testfiles \"test/swaps.test.js\"",
"flat-file": "cd contracts && truffle-flattener fileName.sol > ../flats/fileName.sol",
"docs": "oz-docs",
"lint:sol:fix": "prettier --write \"contracts/**/*.sol\"",
"prepublish": "rimraf build contracts/build artifacts cache",
"prepare": "env COMPILE_MODE=production truffle compile",
"migrate-weth": "cd weth && truffle migrate",
"migrate-uniswap-factory": "node deploy-factory.js",
"migrate-uniswap-router": "cd uniswap && truffle migrate",
"migrate-main": "truffle migrate",
"migrate-all": "npm run migrate-weth && npm run migrate-uniswap-factory && npm run migrate-uniswap-router && npm run migrate-main",
"bridge": "ethereum-bridge -H localhost:9545 -a 1 --dev",
"make-chain-live": "npx hardhat node --fork https://eth-mainnet.g.alchemy.com/v2/J3bTM7KLiYYwh8Ar_VBXuo-oLlGTx7od --fork-block-number 17274000 --port 9545",
"test-live" : "npx hardhat test --network live test/wraps.test.js",
"test-liquidity-maker" : "npx hardhat test --network live test/maker.test.js"
},
"keywords": [
"solidity",
"ethereum",
"smart",
"contracts",
"security",
"wise"
],
"bugs": {
"url": "https://github.com/bitcoin-portal/bitcoincom-solidity-swap"
},
"devDependencies": {
"@ethersproject/abi": "^5.5.0",
"@ethersproject/solidity": "^5.5.0",
"chai": "^4.2.0",
"eslint": "^6.5.1",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-mocha-no-only": "^1.1.0",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eth-sig-util": "^3.0.0",
"ethereumjs-util": "^7.0.7",
"ethereumjs-wallet": "^1.0.1",
"ethers": "^5.5.1",
"ganache-time-traveler": "^1.0.16",
"graphlib": "^2.1.8",
"hardhat-gas-reporter": "^1.0.4",
"keccak256": "^1.0.2",
"lodash.startcase": "^4.4.0",
"lodash.zip": "4.2.0",
"merkletreejs": "^0.2.13",
"micromatch": "^4.0.2",
"prettier": "^2.3.0",
"prettier-plugin-solidity": "^1.0.0-beta.16",
"rimraf": "^3.0.2",
"solhint": "^3.3.6",
"solidity-ast": "^0.4.25",
"solidity-coverage": "0.8.0-beta.1",
"solidity-docgen": "^0.5.3",
"truffle": "^5.4.12",
"web3": "^1.3.0",
"yargs": "^16.2.0",
"hardhat": "^2.12.6",
"truffle-plugin-verify": "^0.5.27"
},
"dependencies": {
"@openzeppelin/contracts": "^4.3.1",
"@openzeppelin/test-helpers": "^0.5.13",
"@nomicfoundation/hardhat-network-helpers": "^1.0.6",
"@nomiclabs/hardhat-ethers": "^2.1.1",
"@nomiclabs/hardhat-truffle5": "^2.0.7",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@nomiclabs/hardhat-web3": "^2.0.0",
"chai": "^4.3.6",
"custom-error-test-helper": "^1.0.6",
"ethers": "^5.7.1",
"web3": "^1.8.0"
}
}