-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 3.46 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
{
"name": "swapica-contracts",
"version": "1.0.1",
"license": "MIT",
"author": "Distributed Lab",
"description": "Cross-chain atomic swaps",
"repository": {
"type": "git",
"url": "https://github.com/Swapica/core-contracts"
},
"scripts": {
"install": "npx husky install",
"compile": "npx hardhat compile",
"coverage": "npx hardhat coverage --solcoverjs ./.solcover.ts",
"clean": "npx hardhat clean",
"test": "npx hardhat test",
"test-all": "npm run deploy-localhost && npm run test",
"private-network": "npx hardhat node",
"private-network-fork": "npx hardhat node --fork https://mainnet.infura.io/v3/$(grep INFURA_KEY .env | cut -d '\"' -f2)",
"deploy-localhost": "npx hardhat migrate --network localhost",
"deploy-goerli": "npx hardhat migrate --network goerli --verify --confirmations 4",
"deploy-sepolia": "npx hardhat migrate --network sepolia --verify --confirmations 5",
"deploy-q-testnet": "npx hardhat migrate --confirmations 1 --verify --attempts 3 --network q_testnet",
"deploy-chapel": "npx hardhat migrate --network chapel --verify --confirmations 1",
"deploy-mumbai": "npx hardhat migrate --network mumbai --verify --confirmations 10",
"deploy-fuji": "npx hardhat migrate --network fuji --verify --confirmations 5",
"deploy-ethereum": "npx hardhat migrate --network ethereum --verify --confirmations 4",
"deploy-bsc": "npx hardhat migrate --network bsc --verify --confirmations 2",
"deploy-polygon": "npx hardhat migrate --network polygon --verify --confirmations 10",
"deploy-avalanche": "npx hardhat migrate --network avalanche --verify --confirmations 5",
"generate-types": "TYPECHAIN_FORCE=true npx hardhat typechain && npx hardhat gobind",
"generate-docs": "npx hardhat markup",
"lint-fix": "npm run lint-sol-fix && npm run lint-ts-fix && npm run lint-json-fix",
"lint-json-fix": "prettier --write \"./**/*.json\"",
"lint-ts-fix": "prettier --write \"./**/*.ts\"",
"lint-sol-fix": "prettier --write \"contracts/**/*.sol\"",
"publish-to-npm": "npm run lint-fix && bash ./scripts/publish.sh"
},
"dependencies": {
"@dlsl/dev-modules": "^2.0.2",
"@openzeppelin/contracts": "4.6.0",
"@openzeppelin/contracts-upgradeable": "4.6.0",
"dotenv": "^10.0.0",
"hardhat": "^2.12.0",
"typechain": "^8.1.0"
},
"devDependencies": {
"@dlsl/hardhat-gobind": "^1.0.2",
"@dlsl/hardhat-markup": "^1.0.0-rc.7",
"@dlsl/hardhat-migrate": "^1.5.4",
"@metamask/eth-sig-util": "^4.0.0",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.4",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@openzeppelin/hardhat-upgrades": "^1.22.1",
"@nomiclabs/hardhat-truffle5": "^2.0.7",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.5",
"@typechain/truffle-v5": "^8.0.1",
"@typechain/web3-v1": "^6.0.1",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@types/node": "^18.16.0",
"bignumber.js": "^9.0.1",
"chai": "^4.3.4",
"hardhat-contract-sizer": "^2.6.1",
"hardhat-gas-reporter": "^1.0.9",
"husky": "^7.0.2",
"mocha": "^10.2.0",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.8.1",
"truffle-assertions": "^0.9.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.0.4",
"web3": "^1.7.5"
}
}