diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-24 18:41:50 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-24 18:41:50 +0800 |
commit | a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1 (patch) | |
tree | 3d2454df4d036b522569a6d90727259e6993b6f4 | |
parent | 3097f8cdfbcc778c65a0b48dcfa4448767ab3713 (diff) | |
download | dexon-sol-tools-a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1.tar dexon-sol-tools-a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1.tar.gz dexon-sol-tools-a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1.tar.bz2 dexon-sol-tools-a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1.tar.lz dexon-sol-tools-a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1.tar.xz dexon-sol-tools-a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1.tar.zst dexon-sol-tools-a3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1.zip |
Add tslint command to npm scripts and fix linting errors
-rw-r--r-- | package.json | 6 | ||||
-rw-r--r-- | 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 } |