forked from GenerationSoftware/pt-v5-builder-code-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.57 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
{
"name": "@generationsoftware/builder-code-examples",
"version": "1.0.0",
"description": "A collection of code examples for builders looking to build on top of PoolTogether V5.",
"author": {
"name": "G9 Software Inc.",
"url": "https://github.com/GenerationSoftware"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GenerationSoftware/builder-code-examples.git"
},
"scripts": {
"clean": "forge clean",
"compile": "forge compile",
"coverage": "forge coverage --report lcov && lcov --extract lcov.info -o lcov.info 'src/*' && genhtml lcov.info -o coverage",
"format": "prettier --config .prettierrc --write \"**/*.{json,md,sol,yml}\"",
"format:file": "prettier --config .prettierrc --write",
"hint": "solhint --config \"./.solhint.json\" \"{src,test}/**/*.sol\"",
"lint-staged": "lint-staged",
"prepack": "npm run clean && npm run compile",
"prepare": "husky install",
"test": "forge test",
"------------------ Deploy Scripts ------------------": "",
"deploy:prize-hook:prize-boost:optimism": "forge script script/prize-hooks/examples/prize-boost/deploy.s.sol:DeployPrizeBoostHook --rpc-url $OPTIMISM_RPC_URL --sender $SENDER --private-key $PRIVATE_KEY --broadcast --verify --etherscan-api-key $OPTIMISM_ETHERSCAN_API_KEY --priority-gas-price 100000"
},
"devDependencies": {
"husky": "8.0.3",
"lint-staged": "15.0.0",
"prettier": "2.8.8",
"prettier-plugin-solidity": "1.1.3",
"solhint": "3.6.2",
"solhint-plugin-prettier": "0.0.5"
},
"files": [
"src/**",
"out/**"
]
}