generated from dewiz-xyz/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.26 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
{
"name": "foundry-template",
"version": "0.1.0",
"main": "index.js",
"repository": "[email protected]:dewiz-xyz/foundry-template.git",
"author": "Dewiz Team<[email protected]>",
"license": "AGPL-3.0-or-later",
"scripts": {
"prepare": "husky install",
"prepublishOnly": "copyfiles -u 1 \"./src/**/*.sol\" ./",
"postpublish": "rimraf ./*.sol",
"prepack": "run-s prepublishOnly",
"postpack": "run-s postpublish",
"lint": "run-s solhint prettier",
"lint:check": "run-s prettier:check solhint:check",
"prettier": "run-s 'prettier:check --write'",
"prettier:check": "prettier --check \"src/**/*.sol\"",
"solhint": "run-s 'solhint:check --fix'",
"solhint:check": "solhint \"src/**/*.sol\""
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"copyfiles": "^2.4.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.0",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"rimraf": "^3.0.2",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5"
},
"lint-staged": {
"*.{js,css,md,sol}": "prettier --write"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}