-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 2.34 KB
/
Copy pathpackage.json
File metadata and controls
53 lines (53 loc) · 2.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
{
"name": "@smardex/universal-router",
"version": "1.0.0",
"description": "Universal router to perform controlled multicall actions on the protocols of the SmarDex ecosystem",
"repository": {
"type": "git",
"url": "git+https://github.com/SmarDex-Ecosystem/universal-router.git"
},
"author": {
"name": "RA2 Tech SA",
"url": "https://ra2.tech"
},
"dockerize": true,
"license": "GPL-3.0-or-later",
"scripts": {
"clean": "rm -rf dist && rm -rf node_modules && rm -rf .coverage && rm -rf out && rm -rf lib && rm -rf dependencies && forge clean && npm i && forge soldeer install",
"coverage": "npm run cov -- --report lcov",
"cov": "forge build --skip .sol && forge coverage --no-match-test \"(FFI|Fork|Fuzz|invariant)\" --no-match-contract Fork -vvv --offline",
"cov:html": "npm run coverage && genhtml -o .coverage lcov.info && open .coverage/index.html",
"deploy:fork": "forge script -i 1 -f anvil script/Deploy.s.sol",
"exportAbi": "forge build --skip \"test/**/*\" --skip script && tsx ./script/exportAbi.ts -g '{*.sol,!(libraries|interfaces)/**/*.sol}' && tsup ./dist/abi/index.ts --format cjs --format esm --dts --sourcemap",
"format": "forge fmt",
"format:js": "npx @biomejs/biome format . --write",
"installDeps": "npm i && forge soldeer install",
"lint": "solhint 'src/**/*.sol'",
"lint:test": "solhint -c test/.solhint.json 'test/**/*.sol'",
"prepare": "husky",
"quicktest": "forge test -vvv --no-match-test \"(FFI|Fork|Fuzz|invariant)\" --no-match-contract Fork --offline",
"quicktest:gas": "npm run quicktest -- --gas-report",
"snapshot:check": "FOUNDRY_PROFILE=ci forge build && FOUNDRY_PROFILE=ci forge snapshot --no-match-test \"(FFI|Fork|Fuzz)\" --no-match-contract Fork --check --offline",
"snapshot": "FOUNDRY_PROFILE=ci forge clean && FOUNDRY_PROFILE=ci forge snapshot --no-match-test \"(FFI|Fork|Fuzz)\" --no-match-contract Fork --offline",
"test": "forge test -vvv",
"verify": "tsx script/verifyContracts.ts"
},
"files": [
"dist",
"docs",
"src/**/*",
"foundry.toml",
"soldeer.lock"
],
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@types/node": "^20.0.0",
"commander": "^12.1.0",
"glob": "^11.0.0",
"husky": "^9.1.4",
"tsup": "^8.2.4",
"tsx": "^4.19.1",
"typescript": "^5.5.4",
"viem": "^2.19.4"
}
}