From a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 24 May 2017 12:41:50 +0200 Subject: Add tslint command to npm scripts and fix linting errors --- package.json | 6 ++++-- src/ts/0x.js.ts | 2 +- 2 files changed, 5 insertions(+), 3 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" } diff --git a/src/ts/0x.js.ts b/src/ts/0x.js.ts index 3de57cc45..ac9e3376d 100644 --- a/src/ts/0x.js.ts +++ b/src/ts/0x.js.ts @@ -1,4 +1,4 @@ -export class zeroEx { +export class ZeroEx { public verifySignature() { // TODO } -- cgit v1.2.3