Add tslint

This commit is contained in:
Daniel Imms
2018-04-26 09:52:50 -07:00
parent 250c62554a
commit 2c50c2ff0b
7 changed files with 125 additions and 17 deletions

View File

@@ -8,7 +8,8 @@
"build": "tsc",
"prestart": "tsc demo/generate.ts",
"start": "node demo/generate.js",
"prepublish": "npm run build"
"prepublish": "npm run build",
"lint": "tslint src/*.ts"
},
"author": "Tyriar",
"license": "MIT",
@@ -22,6 +23,8 @@
"typings": "dist/index",
"devDependencies": {
"@types/node": "^6.0.41",
"tslint": "^5.9.1",
"tslint-consistent-codestyle": "^1.13.0",
"typescript": "^2.8.3"
}
}