-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 3.95 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
{
"name": "amm-periphery",
"version": "1.0.0",
"description": "Periphery smart contracts for V3 ",
"main": "index.js",
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
"build": "forge build",
"build:trident": "cd reference/sushi-trident && yarn run build",
"ci": "forge build --force && npm run lint:check && npm run test:unit && npm run gas:check && npm run slither:check",
"clean": "forge clean",
"deploy:avax:test": "forge script script/deploy_router_timelock_asset_manager.s.sol --target-contract DeployRouterTimeLockAaveManager --fork-url \"http://127.0.0.1:8545\" --broadcast -vvvv --verify --ledger --mnemonic-derivation-paths \"m/44'/60'/0'/0/4\" --sender 0x5c5c2a70504AfD08845D5Ee6fD77E98E0bC3dFcd",
"deploy:avax": "forge script script/deploy_router_timelock_asset_manager.s.sol --target-contract DeployRouterTimeLockAaveManager --fork-url \"https://api.avax.network/ext/bc/C/rpc\" --broadcast -vvvv --verify --ledger --mnemonic-derivation-paths \"m/44'/60'/0'/0/4\" --sender 0x5c5c2a70504AfD08845D5Ee6fD77E98E0bC3dFcd",
"deploy:avax:quoter": "forge script script/deploy_quoter.s.sol --target-contract DeployQuoter --fork-url \"https://api.avax.network/ext/bc/C/rpc\" --broadcast -vvvv --verify --ledger --mnemonic-derivation-paths \"m/44'/60'/0'/0/4\" --sender 0x5c5c2a70504AfD08845D5Ee6fD77E98E0bC3dFcd",
"eslint": "npm run eslint:check",
"eslint:check": "eslint scripts",
"eslint:fix": "eslint scripts --fix",
"gas:snapshot": "forge snapshot",
"gas:check": "forge snapshot --check",
"generate": "typechain --target ethers-v5 --out-dir typings 'out/**/*.json'",
"lint": "npm run lint:check",
"lint:check": "npm run solhint:check && npm run prettier:check && npm run mdlint:check",
"lint:fix": "npm run solhint:fix && npm run prettier:fix && npm run eslint:fix && npm run mdlint:fix",
"mdlint": "npm run mdlint:check",
"mdlint:check": "markdownlint --config .markdownlint.yaml .",
"mdlint:fix": "markdownlint --config .markdownlint.yaml . --fix",
"myth": "npm run myth:check",
"myth:check": "myth analyze src/**/*.sol --solc-json .mythril.json --execution-timeout 30",
"myth:deep-check": "myth analyze src/**/*.sol --solc-json .mythril.json --execution-timeout 3600 --parallel-solving",
"prettier": "npm run prettier:check",
"prettier:check": "prettier --check '**/*.json'",
"prettier:fix": "prettier --write '**/*.json'",
"prettier:list": "prettier --list-different '**/*.json'",
"reinstall": "rm -rf node_modules package-lock.json && npm install",
"slither": "npm run slither:check",
"slither:check": "slither .",
"slither:triage": "slither . --triage-mode",
"slither:report": "slither . --checklist --markdown-root https://github.com/proximacapital/vault/blob/$(git rev-parse --verify HEAD)/ > slither-report.md",
"solhint": "npm run solhint:check",
"solhint:check": "solhint --config src/.solhint.json 'src/**/*.sol' && solhint --config test/.solhint.json 'test/**/*.sol'",
"solhint:fix": "solhint --config src/.solhint.json 'src/**/*.sol' --fix && solhint --config test/.solhint.json 'test/**/*.sol' --fix",
"submodule:check": "cd lib && find . -mindepth 1 -maxdepth 1 -type d -exec bash -c 'cd \"{}\" && pwd && ../../scripts/git-master-diff.sh && echo' \\;",
"submodule:reset": "git submodule update --recursive",
"test": "npm run test:unit",
"test:all": "npm run test:unit",
"test:unit": "forge test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vexchange/v3-periphery.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/vexchange/v3-periphery/issues"
},
"extends": [
"@proxima-oss/eslint-config/style/standard"
],
"homepage": "https://github.com/vexchange/v3-periphery#readme",
"dependencies": {
"@proxima-oss/eslint-config": "6.0.1",
"markdownlint-cli": "0.32.2",
"prettier": "2.7.1",
"solhint": "3.3.8",
"ts-node": "10.9.1"
}
}