From 44124980c55d5a5ec7dfb8e71bf14d10f0fe975d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Apr 2016 20:58:07 +0200 Subject: Add typescript (and angular2) linter --- client/package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client/package.json') diff --git a/client/package.json b/client/package.json index 31c92f8cc..5fd5beca4 100644 --- a/client/package.json +++ b/client/package.json @@ -16,7 +16,8 @@ "tsc": "tsc", "tsc:w": "tsc -w", "typings": "typings", - "postinstall": "typings install" + "postinstall": "typings install", + "test": "tslint -c ./tslint.json angular/**/*.ts angular/**/**/*.ts" }, "license": "ISC", "dependencies": { @@ -34,6 +35,8 @@ "zone.js": "0.5.15" }, "devDependencies": { + "codelyzer": "0.0.12", + "tslint": "^3.7.1", "typescript": "^1.8.2", "typings": "^0.6.8" } -- cgit v1.2.3