-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
93 lines (93 loc) · 2.93 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
{
"name": "@perp/curie-periphery-contract",
"version": "1.5.0",
"description": "Perpetual Protocol Curie (v2) periphery contracts",
"license": "GPL-3.0-or-later",
"author": {
"name": "Perpetual Protocol",
"email": "hi@perp.fi",
"url": "https://perp.com/"
},
"repository": {
"type": "git",
"url": "https://github.com/perpetual-protocol/perp-curie-periphery-contract.git"
},
"homepage": "https://perp.com/",
"keywords": [
"perpetual-protocol",
"perpetual-protocol-v2",
"perp",
"periphery",
"contracts",
"artifacts"
],
"main": "index.js",
"files": [
"artifacts/contracts/",
"contracts/"
],
"scripts": {
"prepare": "husky install",
"clean": "rm -rf artifacts/ && rm -rf cache/ && rm -rf typechain-types/ && npm run clean-dbg",
"clean-dbg": "find node_modules/@perp/curie-contract/artifacts/contracts -name '*.dbg.json' -delete",
"compile-watch": "nodemon -w contracts -e sol -x hardhat compile",
"build": "hardhat compile",
"test": "hardhat test",
"test-parallel": "hardhat test --parallel",
"foundry-test": "npm run foundry-build-uniswap && forge test -vvv",
"foundry-build-uniswap": "forge build --contracts node_modules/@uniswap/v3-core/contracts/UniswapV3Factory.sol",
"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",
"prepack": "ts-node --files scripts/prepack.ts",
"slither": "ts-node --files scripts/slither.ts"
},
"dependencies": {
"@perp/curie-contract": "2.6.0",
"@perp/perp-oracle-contract": "0.6.5",
"@uniswap/v3-core": "https://github.com/Uniswap/v3-core/tarball/v1.0.0"
},
"devDependencies": {
"@defi-wonderland/smock": "2.0.7",
"@metamask/eth-sig-util": "4.0.1",
"@nomiclabs/hardhat-ethers": "2.0.5",
"@nomiclabs/hardhat-waffle": "2.0.3",
"@typechain/ethers-v5": "10.0.0",
"@typechain/hardhat": "6.0.0",
"@types/chai": "4.3.0",
"@types/lodash": "4.14.181",
"@types/mocha": "9.1.0",
"@types/node": "16.11.7",
"chai": "4.3.6",
"eslint-config-prettier": "8.3.0",
"ethereum-waffle": "3.4.4",
"ethers": "5.6.1",
"hardhat": "2.10.1",
"hardhat-contract-sizer": "2.5.1",
"hardhat-dependency-compiler": "1.1.2",
"hardhat-gas-reporter": "1.0.8",
"husky": "7.0.4",
"lint-staged": "12.3.7",
"lodash": "4.17.21",
"nodemon": "^2.0.15",
"prettier": "2.6.2",
"prettier-plugin-solidity": "1.0.0-beta.19",
"shelljs": "0.8.4",
"solc": "0.7.6",
"solhint": "3.3.7",
"solhint-plugin-prettier": "0.0.5",
"truffle-flattener": "1.6.0",
"ts-node": "10.7.0",
"typechain": "8.0.0",
"typescript": "4.6.3"
},
"lint-staged": {
"*.ts": [
"prettier --write"
],
"*.sol": [
"prettier --write",
"solhint"
]
}
}