-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
44 lines (44 loc) · 1.42 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
40
41
42
43
44
{
"name": "diamond-foundry",
"description": "Foundry-based project for creating and managing Diamond proxy smart contracts",
"version": "0.1.0",
"author": {
"name": "Forgenie Labs",
"url": "https://github.com/Forgenie"
},
"devDependencies": {
"@commitlint/cli": "^17.5.0",
"@commitlint/config-conventional": "^17.4.4",
"@typechain/ethers-v6": "^0.4.0",
"husky": "^8.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"rimraf": "^4.1.2",
"solhint": "^3.4.1",
"typechain": "^8.2.0"
},
"keywords": [
"blockchain",
"ethereum",
"diamond",
"forge",
"foundry",
"smart-contracts",
"solidity"
],
"private": true,
"scripts": {
"clean": "forge clean & rimraf cache out",
"build": "forge build",
"build:src": "forge build --skip test script --force",
"test": "forge test",
"lint": "pnpm lint:sol && pnpm prettier:check",
"lint:sol": "forge fmt --check && pnpm solhint \"{script,src,test}/**/*.sol\"",
"fmt": "forge fmt && pnpm prettier:write",
"types": "forge build && rimraf types && pnpm typechain --target=ethers-v6 './out/!(*test*|*.t.sol|*.s.sol|Std*|src|Mock*|build-info)/**/*.json'",
"prettier:check": "prettier --check \"**/*.{json,md,yml}\"",
"prettier:write": "prettier --write \"**/*.{json,md,yml}\"",
"slither": "slither .",
"analyze": "run-s clean 'build:src --build-info' 'slither --ignore-compile'"
}
}