aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/package.json
diff options
context:
space:
mode:
authorAlex Shafranovich <alex@cen.by>2018-07-06 01:58:52 +0800
committerAlex Shafranovich <alex@cen.by>2018-07-06 01:58:52 +0800
commitd8c7c9803c92a5069aae73d5fcbcf4920b18e0ab (patch)
tree7c4040a5705ccbf4f559a2bdabb472ca4c17f30c /packages/contracts/package.json
parent87a7a4ad2d55641cbe06d7157df0d8f0996d033a (diff)
downloaddexon-sol-tools-d8c7c9803c92a5069aae73d5fcbcf4920b18e0ab.tar
dexon-sol-tools-d8c7c9803c92a5069aae73d5fcbcf4920b18e0ab.tar.gz
dexon-sol-tools-d8c7c9803c92a5069aae73d5fcbcf4920b18e0ab.tar.bz2
dexon-sol-tools-d8c7c9803c92a5069aae73d5fcbcf4920b18e0ab.tar.lz
dexon-sol-tools-d8c7c9803c92a5069aae73d5fcbcf4920b18e0ab.tar.xz
dexon-sol-tools-d8c7c9803c92a5069aae73d5fcbcf4920b18e0ab.tar.zst
dexon-sol-tools-d8c7c9803c92a5069aae73d5fcbcf4920b18e0ab.zip
Added Solhint package and 'lint-contracts' npm script
Diffstat (limited to 'packages/contracts/package.json')
-rw-r--r--packages/contracts/package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 448871c23..a1abd1059 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -31,7 +31,8 @@
"coverage:report:html": "istanbul report html && open coverage/index.html",
"profiler:report:html": "istanbul report html && open coverage/index.html",
"coverage:report:lcov": "istanbul report lcov",
- "test:circleci": "yarn test"
+ "test:circleci": "yarn test",
+ "lint-contracts": "solhint src/2.0.0/**/*.sol"
},
"config": {
"abis":
@@ -68,6 +69,7 @@
"npm-run-all": "^4.1.2",
"shx": "^0.2.2",
"solc": "^0.4.24",
+ "solhint": "^1.2.1",
"tslint": "5.8.0",
"typescript": "2.7.1",
"yargs": "^10.0.3"