-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
121 lines (121 loc) · 4.12 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
112
113
114
115
116
117
118
119
120
121
{
"name": "@tokemak/contracts",
"version": "0.0.18",
"description": "Contracts for Tokemak - The Token Reactor",
"repository": {
"type": "git",
"url": "https://github.com/tokemak/tokemak-smart-contracts.git"
},
"files": [
"abis",
"artifacts",
"contracts"
],
"engines": {
"node": ">=12"
},
"author": "",
"license": "MIT",
"scripts": {
"lint": "npm run lint:eslint && npm run lint:solhint",
"lint:eslint": "eslint --cache --quiet test-unit test-integration",
"lint:solhint": "solhint contracts/**/*.sol contracts/*.sol",
"prettier:fix": "prettier --write '**/*.{js,css,md,ts}'",
"clean": "hardhat clean",
"compile": "hardhat compile",
"test": "npm run compile && npm run test:unit && npm run test:integration && npm run test:integration:snapshot",
"test:unit": "globstar -- hardhat test 'test-unit/*.test.*' --typecheck",
"test:integration": "globstar -i 'test-integration/**/SnapshotVote.test.ts' -- hardhat test 'test-integration/**/*.test.*' --typecheck",
"test:integration:snapshot": "HARDHAT_FORKING_BLOCK_NUMBER=14844035 globstar -- hardhat test 'test-integration/**/SnapshotVote.test.ts' --typecheck",
"coverage": "hardhat coverage --testfiles \"test-*/**/*.test.*\"",
"script-cli": "ts-node ./scripts/cli/cli.ts",
"size": "npm run hardhat size-contracts",
"test:acctoke": "hardhat test 'test-integration/AccToke.test.ts' --show-stack-traces",
"test:acctoke:slither": "slither contracts/acctoke/AccToke.sol --solc-remaps @=node_modules/@",
"reset": "rm -rf node_modules && rm -rf .openzeppelin && rm -rf artifacts && rm -rf cache && rm -rf typechain && npm install && npm run compile"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && gitleaks --verbose --redact"
}
},
"lint-staged": {
"contracts/**/*.sol": "solhint -w 0",
"*.{js,ts}": "eslint --cache --fix",
"*.{js,css,md,ts}": "prettier --write"
},
"publishConfig": {
"access": "restricted",
"scope": "@tokemak"
},
"devDependencies": {
"@airswap/merkle": "0.0.1",
"@balancer-labs/typechain": "^1.0.0",
"@nomiclabs/hardhat-ethers": "^2.2.1",
"@nomiclabs/hardhat-etherscan": "^3.1.2",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@openzeppelin/contracts": "^3.4.1",
"@openzeppelin/hardhat-upgrades": "^1.7.0",
"@openzeppelin/test-helpers": "^0.5.10",
"@pinata/sdk": "^1.1.23",
"@typechain/ethers-v5": "^7.2.0",
"@typechain/hardhat": "^2.0.1",
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"@types/node": "^15.12.0",
"@types/yargs": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"axios": "^0.21.1",
"base-path-converter": "^1.0.2",
"bip39": "^3.0.4",
"chai": "^4.3.4",
"dotenv": "^8.2.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eth-sig-util": "^3.0.1",
"ethereum-waffle": "^3.3.0",
"ethereumjs-wallet": "^1.0.1",
"ethers": "^5.1.4",
"ganache-time-traveler": "^1.0.16",
"globstar": "^1.0.0",
"hardhat": "^2.2.1",
"hardhat-contract-sizer": "^2.4.0",
"hardhat-gas-reporter": "^1.0.4",
"husky": "^4.3.8",
"keccak": "^3.0.2",
"lint-staged": "^10.5.4",
"lodash": "^4.17.21",
"mocha": "^9.1.2",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "prettier-solidity/prettier-plugin-solidity#v1.0.0-rc.0",
"rlp": "^2.2.6",
"solhint": "^3.3.4",
"solidity-coverage": "^0.7.17",
"ts-node": "^10.9.0",
"typechain": "^5.0.0",
"typescript": "^4.3.2",
"web3": "^1.3.5"
},
"dependencies": {
"@0x/contracts-erc20": "^3.3.13",
"@0x/contracts-utils": "^4.7.13",
"@0x/contracts-zero-ex": "^0.26.0",
"@balancer-labs/balancer-js": "^1.0.1",
"@balancer-labs/v2-vault": "^2.0.0",
"@chainlink/contracts": "^0.1.7",
"@gnosis.pm/mock-contract": "^4.0.0",
"@nomiclabs/hardhat-truffle5": "^2.0.0",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/contracts-upgradeable": "^3.4.1",
"@openzeppelin4/contracts-upgradeable": "npm:@openzeppelin/contracts-upgradeable@^4.7.1",
"@sushiswap/core": "^1.4.2",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"chalk": "^4.1.2",
"ethcall": "^4.2.5",
"gnosis-tx-submitter": "^0.0.5",
"tsconfig-paths": "^4.1.0",
"yargs": "^17.1.1"
}
}