aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-24 19:39:45 +0800
committerGitHub <noreply@github.com>2017-05-24 19:39:45 +0800
commitcc4ff03bb326ddd76a736a63fcf5662545af0846 (patch)
tree3d2454df4d036b522569a6d90727259e6993b6f4
parent302a497327296eee08f16b3203794e64a1609b16 (diff)
parenta3ff1e42bf3700dbfd02bc7e38cd6bbc336404e1 (diff)
downloaddexon-sol-tools-cc4ff03bb326ddd76a736a63fcf5662545af0846.tar
dexon-sol-tools-cc4ff03bb326ddd76a736a63fcf5662545af0846.tar.gz
dexon-sol-tools-cc4ff03bb326ddd76a736a63fcf5662545af0846.tar.bz2
dexon-sol-tools-cc4ff03bb326ddd76a736a63fcf5662545af0846.tar.lz
dexon-sol-tools-cc4ff03bb326ddd76a736a63fcf5662545af0846.tar.xz
dexon-sol-tools-cc4ff03bb326ddd76a736a63fcf5662545af0846.tar.zst
dexon-sol-tools-cc4ff03bb326ddd76a736a63fcf5662545af0846.zip
Merge pull request #4 from 0xProject/tslint
Add tslint command to npm scripts and fix linting errors
-rw-r--r--package.json6
-rw-r--r--src/ts/0x.js.ts2
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
}