-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 4.34 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 4.34 KB
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
{
"name": "oracle",
"version": "0.1.0",
"description": "Oracle Smart Contracts for querying prices from the Reservoir AMM",
"eslintConfig": {
"parserOptions": {
"sourceType": "module"
},
"overrides": [
{
"files": [
"*"
],
"rules": {
"brace-style": [
"off"
]
}
}
]
},
"scripts": {
"build": "forge build",
"ci": "forge build --force && npm run lint:check && npm run test:unit && npm run gas:check && npm run slither:check",
"clean": "forge clean",
"coverage": "export FOUNDRY_PROFILE=coverage && forge coverage --report lcov",
"deploy:arb:fork": "forge script script/DeployScript.s.sol --target-contract DeployScript --fork-url \"http://127.0.0.1:8545\" --broadcast -vvvv --verify --ledger --mnemonic-derivation-paths \"m/44'/60'/0'/0/1\" --sender 0x2508b97B8041960ccA8AaBC7662F07EC8e285F6d",
"deploy:arb:testnet": "forge script script/DeployScript.s.sol --target-contract DeployScript --fork-url https://sepolia-rollup.arbitrum.io/rpc --broadcast -vvvv --verify --ledger --mnemonic-derivation-paths \"m/44'/60'/0'/0/1\" --sender 0x2508b97B8041960ccA8AaBC7662F07EC8e285F6d",
"deploy:arb": "forge script script/DeployScript.s.sol --target-contract DeployScript --fork-url https://arb1.arbitrum.io/rpc --broadcast -vvvv --verify --ledger --mnemonic-derivation-paths \"m/44'/60'/0'/0/1\" --sender 0x2508b97B8041960ccA8AaBC7662F07EC8e285F6d",
"deploy:avax": "forge script script/DeployScript.s.sol --target-contract DeployScript --fork-url https://api.avax.network/ext/bc/C/rpc --broadcast -vvvv --verify --ledger --mnemonic-derivation-paths \"m/44'/60'/0'/0/1\" --sender 0x2508b97B8041960ccA8AaBC7662F07EC8e285F6d",
"eslint": "npm run eslint:check",
"eslint:check": "eslint scripts",
"eslint:fix": "eslint scripts --fix",
"gas:snapshot": "forge snapshot",
"gas:check": "forge snapshot --check",
"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",
"setRoute:arb": "forge script script/SetRoute.s.sol --target-contract SetRoute --fork-url https://arb1.arbitrum.io/rpc --broadcast -vvvv --ledger --mnemonic-derivation-paths \"m/44'/60'/0'/0/1\" --sender 0x2508b97B8041960ccA8AaBC7662F07EC8e285F6d",
"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 && npm run test:unit-large && npm run test:integration",
"test:integration": "export FOUNDRY_PROFILE=integration && forge test",
"test:unit": "forge test",
"test:unit-large": "export FOUNDRY_PROFILE=large-test && forge test"
},
"devDependencies": {
"markdownlint": "0.36.1",
"markdownlint-cli": "0.42.0",
"prettier": "3.3.3",
"solhint": "5.1.0",
"ts-node": "10.8.1"
}
}