aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-05-24 18:41:50 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-05-24 18:41:50 +0800
commita3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1 (patch)
tree3d2454df4d036b522569a6d90727259e6993b6f4 /package.json
parent3097f8cdfbcc778c65a0b48dcfa4448767ab3713 (diff)
downloaddexon-0x-contracts-a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1.tar.gz
dexon-0x-contracts-a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1.tar.zst
dexon-0x-contracts-a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1.zip
Add tslint command to npm scripts and fix linting errors
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/package.json b/package.json
index d92754613..c395340eb 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,8 @@
"build:bundle": "webpack",
"build:commonjs": "tsc",
"build:es6": "tsc -m es6 --outDir lib-esm",
- "build": "npm run clean && run-p build:*"
+ "build": "npm run clean && run-p build:*",
+ "lint": "tslint src/ts/**/*"
},
"repository": {
"type": "git",
@@ -28,7 +29,8 @@
"awesome-typescript-loader": "^3.1.3",
"npm-run-all": "^4.0.2",
"shx": "^0.2.2",
- "tslint-config-0xproject": "^0.0.0",
+ "tslint": "^5.3.2",
+ "tslint-config-0xproject": "^0.0.2",
"typescript": "^2.3.3",
"webpack": "^2.6.0"
}