-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 2.73 KB
/
Copy pathpackage.json
File metadata and controls
55 lines (55 loc) · 2.73 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
{
"license": "MIT",
"scripts": {
"uv": "uv sync; echo \"to enable vyper builds, run:\n source ./.venv/bin/activate\"",
"uv:install": "curl -LsSf https://astral.sh/uv/install.sh | sh",
"uv:upgrade": "uv self update",
"foundryup": "curl -L https://foundry.paradigm.xyz | bash && foundryup",
"update": "./lib/bao-base/run update-submodule",
"doctor": "./lib/bao-base/run doctor",
"CI": "./lib/bao-base/run CI",
"CI-act": "./lib/bao-base/run CI-act",
"clean": "./lib/bao-base/run clean",
"git-diffs": "./lib/bao-base/run git-diffs",
"fmt": "./lib/bao-base/run fmt-sol --write",
"fmt:check": "./lib/bao-base/run fmt-sol --check",
"test": "./lib/bao-base/run test",
"test:duration": "./lib/bao-base/run test-duration",
"gas": "./lib/bao-base/run duration-of regression-of gas",
"coverage": "./lib/bao-base/run regression-of coverage",
"slither": "./lib/bao-base/run slither",
"verify-audit": "./lib/bao-base/run verify-audit",
"validate": "./lib/bao-base/run validate",
"script": "forge script --force --ffi",
"disabled": "echo 'disabled tests:' && grep -n -e '^\\s*function\\s*test.*(.*).*private' test/**/*.t.sol",
"doc": "forge doc",
"svg": "cd results && find . -name \"*.gp\" -exec gnuplot -e \"set output '{}.svg'\" {} \\;",
"png": "cd results && find . -name \"*.svg\" -exec convert {} {}.png \\;",
"deploy": "lib/harbor/lib/bao-base/run deploy script/deploy-minter --broadcast",
"deploy:local": "yarn deploy --rpc-url local",
"deploy:anvil": "yarn deploy --anvil --mock-price default --developer-roles 'minter.ZERO_FEE_ROLE'",
"baomultisig:local": "NETWORK=local:test forge script --ffi script/deploy.s.sol:Transactions --unlocked --broadcast --slow",
"multisig:local": "yarn baomultisig:local",
"contracts": "awk '/gas_reports *=/ {flag=1; next} /]/ {flag=0} flag {gsub(/\"|,/, \"\"); print $1}' foundry.toml",
"contracts:regexp": "yarn contracts | paste -sd '|'",
"sizes": "./lib/bao-base/run regression-of sizes",
"contract-size": "./lib/bao-base/run solidity-functions --bytecode ",
"lint": "./lib/bao-base/run lint-sol",
"lint:test": "./lib/bao-base/run lint-sol --test",
"lint:bash": "./lib/bao-base/run lint-bash --lint script",
"regression": "yarn sizes; yarn gas; yarn coverage",
"mermaid": "mmdc",
"verify:stabilitypool": "./scripts/check-stabilitypool.sh"
},
"prettier": "./lib/bao-base/prettier.config.js",
"dependencies": {
"@mermaid-js/mermaid-cli": "^11.4.2",
"@openzeppelin/upgrades-core": "^1.42.2",
"@solidity-parser/parser": "^0.20.1",
"prettier": "^3.6.2",
"prettier-plugin-solidity": "^2.1.0",
"puppeteer": "^24.10.0",
"solhint": "^5.0.5"
},
"packageManager": "yarn@4.14.1"
}