-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
79 lines (79 loc) · 2.71 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
{
"name": "elf-contracts",
"version": "1.0.0",
"description": "",
"scripts": {
"solhint": "npx solhint -f table contracts/*.sol contracts/**/*.sol contracts/**/**/*.sol",
"spell-check": "npx cspell ./**/**/**.sol --gitignore && npx cspell ./**/**/**.ts --gitignore",
"style-check": "npx prettier --check .",
"prettier": "npx prettier --write .",
"lint": "npm run solhint & npm run style-check & npm run spell-check",
"build": "npx hardhat compile",
"test": "npx hardhat compile && npx hardhat test --config hardhat.config.test.ts ./test/*.ts",
"typecheck": "npx hardhat compile && npx tsc --noEmit -p tsconfig.json",
"sim": "npm run load-contracts && sh scripts/load-sim-data.sh && npx hardhat test --config hardhat.config.test.ts ./test/simulation/*.ts",
"coverage": "COVERAGE=true NODE_OPTIONS=--max_old_space_size=8192 npx hardhat coverage --solcoverjs \".solcover.js\" --testfiles \"./test/*.ts\"",
"test:quick": "npx hardhat test --config hardhat.config.test.ts ./test/*.ts --no-compile",
"unit:test": "npx hardhat test --no-compile --config hardhat.config.test.ts",
"load-contracts": "sh scripts/load-balancer-contracts.sh"
},
"_moduleAliases": {
"test": "./test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "lint-staged"
}
},
"lint-staged": {
"contracts/**/*.sol": [
"npx prettier --write"
],
"./**/*.{js,ts,json,md}": [
"eslint --fix",
"npx prettier --write"
]
},
"author": "",
"license": "ISC",
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@typechain/ethers-v5": "^8.0.2",
"@typechain/hardhat": "^3.0.0",
"@types/chai-almost": "^1.0.1",
"@types/mocha": "^8.2.3",
"@types/node": "^14.17.32",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"chai": "^4.3.4",
"chai-almost": "^1.0.1",
"coveralls": "^3.1.1",
"cspell": "^5.12.6",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.5.1",
"hardhat": "^2.6.7",
"hardhat-gas-reporter": "^1.0.4",
"hardhat-tracer": "^1.0.0-alpha.6",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "0.0.5",
"solidity-coverage": "^0.7.17",
"ts-generator": "^0.1.1",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.11.0",
"typechain": "^6.0.2",
"typescript": "^4.4.4"
},
"dependencies": {
"@openzeppelin/contracts": "^4.3.2",
"ethereumjs-util": "^7.1.3",
"module-alias": "^2.2.2"
}
}