-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 2.14 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
{
"name": "bao-base",
"description": "A base package for Bao Finance projects. You can copy-paste many of the script lines below into your package.json, correcting the path to the run script",
"license": "MIT",
"scripts": {
"upgrade:yarn": "yarn set version stable",
"upgrade": "[ $# -gt 0 ] && yarn up \"${0}\"; [ $# -eq 0 ] && yarn up \"*\"",
"update": "./run update-submodule",
"doctor": "./run doctor",
"clean": "./run clean",
"gas": "./run duration-of regression-of gas",
"sizes": "./run regression-of sizes",
"fmt": "./run fmt-sol --write",
"fmt:check": "./run fmt-sol --check",
"fmt:bash": "./run lint-bash --write",
"fmt:bash:check": "./run lint-bash --check",
"fmt:python": "./run fmt-python --write",
"fmt:python:check": "./run fmt-python --check",
"verify-audit": "./run verify-audit",
"validate": "./run validate",
"lint": "./run lint-sol",
"lint:bash": "./run lint-bash --lint",
"lint:python": "./run lint-python",
"lint:test": "./run lint-sol --test",
"slither": "./run slither",
"test": "./run test",
"test:duration": "./run test-duration",
"test:bash": "[ $# -gt 0 ] && ./node_modules/bats/bin/bats test/**/\"${0}\".bats; [ $# -eq 0 ] && ./node_modules/bats/bin/bats test/**/*.bats",
"test:python": "./run pytest test/",
"test:addresses": "./lib/bao-base/bin/check_addresses.sh ./lib/bao-base/script/addresses.mainnet.json ./lib/bao-base/script/addresses.arbitrum.json",
"coverage": "./run regression-of coverage",
"dotfiles": "git ls-tree -r HEAD | grep 120000 | awk '{print $4}'",
"regression": "yarn sizes; yarn gas; yarn coverage",
"pre-checkin": "yarn fmt && yarn slither && yarn lint && yarn test && yarn coverage && yarn gas && yarn sizes && echo \"ready for checkin\"",
"git-diffs": "./run git-diffs",
"CI": "./run CI",
"CI-act": "./run CI-act"
},
"dependencies": {
"@openzeppelin/upgrades-core": "1.44.0",
"bats": "^1.11.1",
"bats-assert": "^2.0.0",
"bats-support": "^0.3.0",
"prettier": "^3.6.2",
"prettier-plugin-solidity": "^2.1.0",
"solhint": "^5.0.5"
},
"packageManager": "yarn@4.9.1"
}