generated from foundry-rs/forge-template
-
Notifications
You must be signed in to change notification settings - Fork 44
/
package.json
31 lines (31 loc) · 1 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
{
"name": "clones-with-immutable-args",
"author": "wighawag",
"license": "BSD",
"version": "1.1.2",
"description": "Factory for deploying clones with immutable parameters.",
"files": [
"*.sol"
],
"devDependencies": {
"copyfiles": "^2.4.1",
"prettier": "^3.2.5",
"prettier-plugin-solidity": "^1.3.1",
"rimraf": "^5.0.5",
"solhint": "^4.1.1",
"solhint-plugin-prettier": "^0.1.0"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepublishOnly": "copyfiles -u 1 \"./src/**/*.sol\" --exclude \"./src/test/**/*.sol\" ./",
"postpublish": "rimraf ./*.sol",
"prepack": "pnpm prepublishOnly",
"postpack": "pnpm postpublish",
"lint": "pnpm prettier && pnpm solhint",
"lint:check": "pnpm prettier:check && pnpm solhint:check",
"prettier": "pnpm prettier:check --write",
"prettier:check": "prettier --check \"src/**/*.sol\"",
"solhint": "pnpm solhint:check --fix",
"solhint:check": "solhint --config ./.solhint.json \"src/**/*.sol\""
}
}