forked from perpetual-protocol/perp-curie-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 3.79 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
111
{
"name": "@perp/curie-contract",
"version": "2.8.3",
"description": "Perpetual Protocol Curie (V2) core contracts",
"license": "GPL-3.0-or-later",
"author": {
"name": "Perpetual Protocol",
"email": "[email protected]",
"url": "https://perp.com/"
},
"repository": {
"type": "git",
"url": "https://github.com/perpetual-protocol/perp-curie-contract.git"
},
"homepage": "https://perp.com/",
"keywords": [
"perpetual-protocol",
"perpetual-protocol-v2",
"perp",
"core",
"contracts",
"artifacts"
],
"main": "index.js",
"files": [
"artifacts/contracts/",
"contracts/"
],
"scripts": {
"typechain": "npm run typechain-openzeppelin && npm run typechain-perp-oracle",
"typechain-openzeppelin": "typechain --target ethers-v5 --out-dir ./typechain/openzeppelin './node_modules/@openzeppelin/contracts/build/contracts/**/*.json'",
"typechain-perp-oracle": "typechain --target ethers-v5 --out-dir ./typechain/perp-oracle './node_modules/@perp/perp-oracle-contract/artifacts/contracts/**/*.json'",
"clean": "rm -rf typechain && rm -rf artifacts && rm -rf cache",
"test": "NODE_OPTIONS='--max-old-space-size=8192' hardhat --max-memory 8192 test",
"parallel-test": "hardhat test --parallel",
"foundry-test": "forge test",
"foundry-build-uniswap": "forge build --contracts node_modules/@uniswap/v3-core/contracts/UniswapV3Factory.sol",
"build": "npm run typechain && hardhat compile",
"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",
"prepack": "ts-node --files scripts/prepack.ts",
"flatten": "ts-node --files scripts/flatten.ts",
"slither": "ts-node --files scripts/slither.ts"
},
"dependencies": {
"@chainlink/contracts": "0.1.7",
"@openzeppelin/contracts": "3.4.1-solc-0.7-2",
"@openzeppelin/contracts-upgradeable": "3.4.2",
"@perp/perp-oracle-contract": "0.6.7",
"@perp/voting-escrow": "1.2.0",
"@uniswap/v3-core": "https://github.com/Uniswap/uniswap-v3-core/tarball/v1.0.0",
"@uniswap/v3-periphery": "1.0.1"
},
"devDependencies": {
"@eth-optimism/smock": "1.1.4",
"@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.2",
"@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",
"eslint-config-prettier": "8.5.0",
"ethereum-waffle": "3.4.0",
"ethers": "5.6.1",
"hardhat": "2.3.0",
"hardhat-contract-sizer": "2.5.1",
"hardhat-dependency-compiler": "1.1.1",
"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.1.1",
"prettier": "2.3.0",
"prettier-plugin-solidity": "1.0.0-beta.11",
"shelljs": "0.8.4",
"solc": "0.7.6",
"solhint": "3.3.7",
"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"
]
}
}