-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.28 KB
/
package.json
File metadata and controls
33 lines (33 loc) · 1.28 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
{
"name": "valantis-periphery",
"version": "1.0.0",
"main": "index.js",
"author": "Valantis Labs",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "npx pretty-quick --staged && yarn format && yarn lint && forge build"
}
},
"scripts": {
"coverage:lcov": "forge coverage --report lcov && lcov --remove ./lcov.info -o ./lcov.info.pruned 'test' && genhtml lcov.info.pruned -o coverage/html && open coverage/html/index.html",
"deploy:router": "eval $(grep '^RPC_URL' .env) && forge script scripts/ValantisRouterDeploy.s.sol:ValantisRouterDeploy --rpc-url $RPC_URL",
"deploy:entrypoint": "eval $(grep '^RPC_URL' .env) && forge script scripts/GaslessSwapEntrypointDeploy.s.sol:GaslessSwapEntrypointDeploy --rpc-url $RPC_URL",
"lint": "solhint 'src/**/*.sol'",
"format": "npx prettier --write .",
"format:contracts": "npx prettier --write src/**/*.sol",
"test-foundry": "forge test -vv",
"postinstall": "husky install",
"compile": "forge-deploy gen-deployer && forge build"
},
"devDependencies": {
"husky": "^8.0.1",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-beta.24",
"pretty-quick": "^3.1.3",
"solhint": "^3.4.1",
"solidity-coverage": "^0.8.0",
"ts-node": ">=8.0.0",
"typescript": ">=4.5.0"
}
}