-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
68 lines (68 loc) · 3.01 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
{
"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",
"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",
"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.0.3",
"ts-node": "10.8.1"
}
}