diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-04-08 20:58:07 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-04-08 21:03:47 +0200 |
commit | 44124980c55d5a5ec7dfb8e71bf14d10f0fe975d (patch) | |
tree | 795191ff37d862a4bcf9cbc57cdb60b909b038d1 /client/package.json | |
parent | 0dde91ff15ec3cb73d39da50b388e5e525160cb4 (diff) | |
download | PeerTube-44124980c55d5a5ec7dfb8e71bf14d10f0fe975d.tar.gz PeerTube-44124980c55d5a5ec7dfb8e71bf14d10f0fe975d.tar.zst PeerTube-44124980c55d5a5ec7dfb8e71bf14d10f0fe975d.zip |
Add typescript (and angular2) linter
Diffstat (limited to 'client/package.json')
-rw-r--r-- | client/package.json | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ | |||
16 | "tsc": "tsc", | 16 | "tsc": "tsc", |
17 | "tsc:w": "tsc -w", | 17 | "tsc:w": "tsc -w", |
18 | "typings": "typings", | 18 | "typings": "typings", |
19 | "postinstall": "typings install" | 19 | "postinstall": "typings install", |
20 | "test": "tslint -c ./tslint.json angular/**/*.ts angular/**/**/*.ts" | ||
20 | }, | 21 | }, |
21 | "license": "ISC", | 22 | "license": "ISC", |
22 | "dependencies": { | 23 | "dependencies": { |
@@ -34,6 +35,8 @@ | |||
34 | "zone.js": "0.5.15" | 35 | "zone.js": "0.5.15" |
35 | }, | 36 | }, |
36 | "devDependencies": { | 37 | "devDependencies": { |
38 | "codelyzer": "0.0.12", | ||
39 | "tslint": "^3.7.1", | ||
37 | "typescript": "^1.8.2", | 40 | "typescript": "^1.8.2", |
38 | "typings": "^0.6.8" | 41 | "typings": "^0.6.8" |
39 | } | 42 | } |