Merge pull request #4 from 0xProject/tslint

Add tslint command to npm scripts and fix linting errors
This commit is contained in:
Fabio Berger 2017-05-24 13:39:45 +02:00 committed by GitHub
commit cc4ff03bb3
2 changed files with 5 additions and 3 deletions

View File

@ -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"
}

View File

@ -1,4 +1,4 @@
export class zeroEx {
export class ZeroEx {
public verifySignature() {
// TODO
}