-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
82 lines (82 loc) · 2.53 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": "@opynfinance/perp-vault-templates",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"chain": "hardhat node",
"fork": "hardhat node --fork https://mainnet.infura.io/v3/460f40a260564ac4a4f4b3fffb032dad",
"test:fork": "FORK=true hardhat test --network hardhat ./test/mainnet-fork/*.ts",
"test": "FORK=false hardhat test --network hardhat ./test/unit-tests/**/*.ts",
"coverage": "npx hardhat coverage --testfiles 'test/unit-tests/**/*.ts'",
"compile": "hardhat compile",
"lint:contract": "npx hardhat format",
"lint:tests": "prettier --check 'test/**/*.ts'",
"lint:tests:fix": "prettier --write 'test/**/*.ts'",
"lint": "npm run lint:contract && npm run lint:tests",
"deploy": "hardhat run scripts/deploy.js",
"postdeploy": "hardhat run scripts/publish.js",
"watch": "node scripts/watch.js",
"accounts": "hardhat accounts",
"balance": "hardhat balance",
"send": "hardhat send",
"generate": "hardhat generate",
"account": "hardhat account"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.sol": [
"npm run lint:contract",
"git add"
],
"test/**": [
"npm run lint:tests:fix",
"git add"
]
},
"devDependencies": {
"@0x/protocol-utils": "^1.7.1",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"chai": "^4.3.4",
"eslint": "^7.5.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-prettier": "^3.1.4",
"ethereum-waffle": "^3.3.0",
"ethers": "^5.1.4",
"hardhat-contract-sizer": "^2.0.3",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"prettier-plugin-solidity": "^1.0.0-beta.10",
"solidity-coverage": "^0.7.16",
"ts-node": "^9.1.1",
"typechain": "^5.0.0",
"typescript": "^4.2.4"
},
"dependencies": {
"@airswap/utils": "^0.4.4",
"@nomiclabs/hardhat-etherscan": "^2.1.1",
"@openzeppelin/contracts": "3.4.0",
"@openzeppelin/contracts-upgradeable": "^3.4.1",
"@tenderly/hardhat-tenderly": "^1.0.10",
"@typechain/ethers-v5": "^7.0.0",
"@typechain/hardhat": "^2.0.1",
"@types/mocha": "^8.2.2",
"chalk": "^4.1.0",
"dotenv": "^9.0.2",
"hardhat": "^2.0.11",
"hardhat-prettier": "0.0.1",
"hardhat-typechain": "^0.3.5",
"node-watch": "^0.7.0",
"qrcode-terminal": "^0.12.0",
"ramda": "^0.27.1",
"solc": "^0.7.6",
"ts-generator": "^0.1.1"
}
}