-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
110 lines (110 loc) · 3.51 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@perp/voting-escrow",
"version": "1.3.0",
"description": "Perpetual Protocol voting escrow contracts",
"license": "MIT",
"author": {
"name": "Perpetual Protocol",
"email": "[email protected]",
"url": "https://perp.com/"
},
"repository": {
"type": "git",
"url": "https://github.com/perpetual-protocol/perp-voting-escrow.git"
},
"homepage": "https://perp.com/",
"keywords": [
"perpetual-protocol",
"perpetual-protocol-v2",
"perp",
"ve",
"contracts",
"artifacts"
],
"main": "index.js",
"files": [
"artifacts/contracts/",
"contracts/"
],
"scripts": {
"typechain": "npm run typechain-openzeppelin",
"typechain-openzeppelin": "typechain --target ethers-v5 --out-dir ./typechain/openzeppelin ./node_modules/@openzeppelin/contracts/build/contracts/**/*.json",
"clean": "rm -rf typechain && rm -rf artifacts && rm -rf cache",
"test": "hardhat test",
"foundry-test": "forge test",
"parallel-test": "hardhat test --parallel",
"build": "npx hardhat compile --no-typechain && npx hardhat typechain",
"coverage": "forge coverage",
"coverage:report": "forge coverage --report lcov; genhtml lcov.info --output-directory coverage-out",
"prepare": "husky install",
"lint": "npm run lint-contracts && npm run lint-tests",
"lint-contracts": "solhint 'contracts/**/*.sol'",
"lint-tests": "if grep -qr 'test' -e '.only('; then echo 'found .only() in tests'; exit 1; else echo 'not found .only() in tests'; fi",
"lint-staged": "lint-staged",
"snapshot": "ts-node scripts/snapshot.ts",
"prepack": "ts-node --files scripts/prepack.ts",
"flatten": "ts-node --files scripts/flatten.ts",
"slither": "ts-node --files scripts/slither.ts"
},
"dependencies": {
"@openzeppelin/contracts": "3.4.0",
"@openzeppelin/contracts-upgradeable": "3.4.2",
"@uniswap/v3-core": "https://github.com/Uniswap/uniswap-v3-core/tarball/v1.0.0"
},
"devDependencies": {
"@defi-wonderland/smock": "2.0.7",
"@ethereumjs/block": "3.3.0",
"@ethereumjs/blockchain": "5.3.0",
"@ethereumjs/common": "2.3.0",
"@ethereumjs/tx": "3.2.0",
"@ethereumjs/vm": "5.4.0",
"@nomiclabs/ethereumjs-vm": "4.2.2",
"@nomiclabs/hardhat-ethers": "2.0.5",
"@nomiclabs/hardhat-vyper": "3.0.0",
"@nomiclabs/hardhat-waffle": "2.0.1",
"@openzeppelin/hardhat-upgrades": "1.10.0",
"@typechain/ethers-v5": "7.0.0",
"@typechain/hardhat": "2.0.1",
"@types/chai": "4.2.18",
"@types/json-stable-stringify": "1.0.33",
"@types/lodash": "4.14.170",
"@types/mocha": "9.0.0",
"@types/node": "15.6.1",
"bignumber.js": "9.0.1",
"chai": "4.3.4",
"dotenv": "11.0.0",
"eslint-config-prettier": "8.3.0",
"ethereum-block-by-date": "1.4.5",
"ethereum-waffle": "3.4.4",
"ethers": "5.5.2",
"hardhat": "2.8.3",
"hardhat-contract-sizer": "2.0.3",
"hardhat-gas-reporter": "1.0.4",
"husky": "6.0.0",
"json-stable-stringify": "1.0.1",
"lint-staged": "11.0.0",
"lodash": "4.17.21",
"mocha": "9.2.2",
"prettier": "2.3.0",
"prettier-plugin-solidity": "1.0.0-beta.11",
"shelljs": "0.8.4",
"solc": "0.7.6",
"solhint": "3.3.6",
"solhint-plugin-prettier": "0.0.5",
"solidity-coverage": "0.7.16",
"truffle-flatten": "1.0.8",
"ts-generator": "0.1.1",
"ts-node": "10.0.0",
"typechain": "5.0.0",
"typescript": "4.3.2"
},
"lint-staged": {
"*.ts": [
"prettier --write"
],
"*.sol": [
"prettier --write",
"solhint"
]
}
}