-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
30 lines (30 loc) · 993 Bytes
/
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
{
"name": "dapptools-template",
"author": "Georgios Konstantopoulos",
"license": "Unlicense",
"version": "1.0.0",
"description": "A template for building dapptools projects",
"files": [
"*.sol"
],
"devDependencies": {
"copyfiles": "^2.4.1",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
"rimraf": "^3.0.2",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5"
},
"scripts": {
"prepublishOnly": "copyfiles -u 1 \"./src/**/*.sol\" --exclude \"./src/test/**/*.sol\" ./",
"postpublish": "rimraf ./*.sol",
"prepack": "yarn prepublishOnly",
"postpack": "yarn postpublish",
"lint": "yarn prettier && yarn solhint",
"lint:check": "yarn prettier:check && yarn 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\""
}
}