-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
72 lines (72 loc) · 3.17 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
{
"name": "contracts-fluorine",
"version": "1.0.0",
"description": "TrueFi Fluorine",
"scripts": {
"clean": "rm -rf ./build && hardhat clean",
"clean:fuzz": "./fuzzing/revert_copy_carbon.sh",
"build:fuzz": "pnpm clean && ./fuzzing/copy_carbon.sh && pnpm build:hardhat && pnpm build:typechain && pnpm build:mars && pnpm run build:merge-deployments",
"build:hardhat": "hardhat compile",
"build:typechain": "typechain --target ethers-v5 --out-dir build/types 'build/*.json'",
"build:verify": "ts-node spec/generateConfigs.ts",
"build:abi": "cat carbon.yaml | xargs -I % cp ../contracts-carbon/build/%.json ./build",
"build:zk": "hardhat compile --config hardhat.zksync.config.ts",
"build:merge-deployments": "ts-node ./scripts/deployment/mergeDeployments.ts",
"build:mars": "mars",
"build:docs": "hardhat docgen",
"build": "pnpm clean && pnpm build:hardhat && pnpm build:abi && pnpm build:typechain && pnpm build:mars && pnpm build:merge-deployments",
"deployFluorine": "bash ./bash/guardedRun.sh",
"deployZkSync": "hardhat deploy-zksync --config hardhat.zksync.config.ts",
"fuzz": "./fuzzing/fuzz.py",
"fuzz:check": "./fuzzing/fuzz.py --test-limit 1",
"fuzz:explore": "rm -rf echidna-corpus/ && echidna-test . --test-mode exploration --test-limit 1000",
"test": "mocha 'test/**/*.test.ts'",
"lint:fix": "prettier 'contracts/**/*.sol' '{test,deploy}/**/*.ts' --write --loglevel error && pnpm run lint:ts --fix",
"lint:sol": "solhint 'contracts/**/*.sol' && prettier 'contracts/**/*.sol' --check --loglevel error",
"lint:ts": "prettier '{test,deploy}/**/*.ts' --check --loglevel error && eslint 'test/**/*.ts' -c .eslintrc.json --cache",
"lint": "pnpm run lint:sol && pnpm run lint:ts",
"verify": "bash spec/verify.sh",
"verify:sanity": "bash spec/verify.sh -s",
"verify:typecheck": "bash ./spec/verify.sh -t",
"analyze": "slither ."
},
"devDependencies": {
"@crytic/properties": "github:trusttoken/properties",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/providers": "^5.7.0",
"@matterlabs/hardhat-zksync-deploy": "^0.6.3",
"@matterlabs/hardhat-zksync-solc": "^0.3.15",
"@matterlabs/hardhat-zksync-verify": "^0.1.4",
"@openzeppelin/contracts": "4.7.3",
"@openzeppelin/contracts-upgradeable": "^4.8.1",
"@typechain/ethers-v5": "^10.0.0",
"@typechain/hardhat": "^6.0.0",
"@types/chai": "^4.3.3",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.34",
"chai": "^4.3.6",
"contracts-carbon": "workspace:^1.0.0",
"deployments-utils": "workspace:*",
"eslint": "^7.32.0",
"ethereum-mars": "0.2.6-dev.7dac279",
"ethereum-waffle": "4.0.10",
"ethers": "^5.7.0",
"ganache": "7.1.0",
"hardhat": "^2.10.2",
"hardhat-waffle-dev": "2.0.3-dev.c5b5c29",
"mocha": "^10.0.0",
"prettier": "^2.8.1",
"prettier-contracts": "workspace:^1.0.0",
"solc": "0.8.18",
"solhint": "^3.3.7",
"solidity-docgen": "0.6.0-beta.22",
"ts-node": "^10.7.0",
"tsconfig-paths": "^4.1.0",
"typechain": "^8.0.0",
"typescript": "4.9.4",
"zksync-web3": "^0.14.3"
},
"author": "",
"license": "MIT"
}