-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
34 lines (34 loc) · 1.04 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
{
"name": "forward-proxy",
"version": "0.2.0",
"main": "index.js",
"author": "Henrique Barcelos <[email protected]>",
"license": "GPL-3.0-or-later",
"scripts": {
"prepare": "husky install",
"prepublishOnly": "copyfiles -u 1 \"./src/**/*.sol\" ./",
"postpublish": "rimraf ./*.sol",
"prepack": "yarn prepublishOnly",
"postpack": "yarn postpublish",
"lint": "run-s solhint prettier",
"lint:check": "run-s prettier:check solhint:check",
"prettier": "yarn prettier:check --write",
"prettier:check": "prettier --check \"src/**/*.sol\"",
"solhint": "yarn solhint:check --fix",
"solhint:check": "solhint --config ./.solhint.json \"src/**/*.sol\""
},
"devDependencies": {
"copyfiles": "^2.4.1",
"husky": ">=6",
"lint-staged": ">=10",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"rimraf": "^3.0.2",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5"
},
"lint-staged": {
"*.{js,css,md,sol}": "prettier --write"
}
}