-
Notifications
You must be signed in to change notification settings - Fork 133
/
package.json
99 lines (99 loc) · 4.2 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
{
"name": "trusttoken-smart-contracts",
"version": "2.0.0",
"description": "TrueFi and True Currency Smart Contracts",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"postinstall": "patch-package",
"flatten": "./flatten.sh",
"clean": "rm -rf ./build",
"typecheck": "tsc --noEmit",
"lint:sol": "solhint 'contracts/**/*.sol' && prettylint 'contracts/**/*.sol'",
"lint": "yarn lint:sol && yarn lint:ts",
"lint:js": "eslint '{test,scripts}/**/*.js'",
"lint:ts": "eslint '{test,scripts}/**/*.ts' -c .eslintrc.typescript.js",
"lint:fix": "prettier 'contracts/**/*.sol' --write --loglevel error && yarn lint:ts --fix",
"build:sol": "waffle .waffle.json",
"build:types": "typechain --target ethers-v5 --outDir build/types 'build/*.json' > /dev/null && echo 'Typechain generated'",
"build:waffle": "yarn clean && yarn build:sol && yarn build:types && bash ./indexBuild.sh",
"build": "yarn clean && yarn hardhat compile && bash ./indexBuild.sh",
"test:integration": "mocha --config .mocharc.integration.json",
"test": "mocha 'test/**/*.test.ts'",
"test:governance": "mocha 'test/governance/*.ts'",
"test:proxy": "mocha 'test/proxy/*.ts' ",
"test:registry": "mocha 'test/registry/*.ts'",
"test:scripts": "mocha 'test/scripts/*.ts'",
"test:true-currencies": "mocha 'test/true-currencies/*.ts'",
"test:true-gold": "mocha 'test/true-gold/*.ts'",
"test:truefi": "mocha 'test/truefi/**/*.ts'",
"test:truefi2": "NODE_OPTIONS='--max-old-space-size=5120' mocha 'test/truefi2/**/*.ts' --exclude test/truefi2/lines-of-credit/**/*.ts --exclude test/truefi2/complete-flow/**/*.ts",
"test:lines-of-credit": "mocha test/truefi2/lines-of-credit/**/*.ts",
"test:complete-flow": "mocha test/truefi2/complete-flow/**/*.ts",
"test:trusttoken": "mocha 'test/trusttoken/*.ts'",
"verify": "bash ./spec/run.sh",
"deploy:farms": "bash ./marsDeploy.sh deploy/farms.ts",
"deploy:credit-scores": "bash ./marsDeploy.sh deploy/credit_scores.ts",
"deploy:strategy": "bash ./marsDeploy.sh deploy/strategy.ts",
"deploy:truefi": "bash ./marsDeploy.sh deploy/truefi.ts",
"deploy:truefi2": "bash ./marsDeploy.sh deploy/truefi2.ts",
"deploy:vault": "bash ./marsDeploy.sh deploy/vault.ts",
"deploy:dryrun": "yarn deploy:truefi --network kovan --dry-run --yes && yarn deploy:truefi2 --network kovan --dry-run --yes && yarn deploy:farms --network kovan --dry-run --yes",
"checks": "yarn lint && yarn typecheck && yarn test && yarn test:integration",
"docs": "npx solidity-docgen --solc-module solc-0.6 -i contracts -o docs",
"slither": "./slither.sh",
"coverage": "bash ./runCoverage.sh"
},
"license": "SEE LICENSE IN LICENSE.md",
"devDependencies": {
"@ethersproject/abi": "5.0.7",
"@ethersproject/constants": "5.0.5",
"@ethersproject/keccak256": "5.0.4",
"@ethersproject/providers": "5.0.13",
"@ethersproject/strings": "5.0.5",
"@ethersproject/units": "5.0.6",
"@typechain/ethers-v5": "^6.0.5",
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"eslint": "^6.8.0",
"ethereum-waffle": "^3.4.0",
"hardhat-abi-exporter": "^2.2.1",
"mocha": "^8.2.1",
"node-fetch": "^2.6.1",
"patch-package": "^6.2.2",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"prettylint": "^1.0.0",
"solc": "0.6.10",
"solc-0.6": "npm:[email protected]",
"solhint": "^3.0.0",
"solidity-coverage": "^0.7.16",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.9.0",
"typechain": "^3.0.0",
"typescript": "^4.0.5"
},
"dependencies": {
"@chainlink/contracts": "^0.1.6",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^3.4.0",
"eslint-plugin-no-only-tests": "^2.6.0",
"ethereum-mars": "^0.1.7",
"ethers": "5.0.18",
"hardhat": "^2.2.0",
"hardhat-typechain": "^0.3.5",
"openzeppelin-solidity": "^2.4.0",
"web3": "1.2.4"
},
"resolutions": {
"**/@resolver-engine/core": "^0.3.3"
}
}