diff options
Diffstat (limited to 'client/package.json')
-rw-r--r-- | client/package.json | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/client/package.json b/client/package.json index 6a1fd145c..345a85a5f 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -13,14 +13,17 @@ | |||
13 | "url": "git+https://github.com/Chocobozzz/PeerTube.git" | 13 | "url": "git+https://github.com/Chocobozzz/PeerTube.git" |
14 | }, | 14 | }, |
15 | "scripts": { | 15 | "scripts": { |
16 | "lint": "tslint --project ./tsconfig.json -c ./tslint.json 'src/app/**/*.ts' 'src/standalone/**/*.ts'", | 16 | "lint": "npm run lint-ts && npm run lint-scss", |
17 | "lint-ts": "tslint --project ./tsconfig.json -c ./tslint.json 'src/app/**/*.ts' 'src/standalone/**/*.ts'", | ||
18 | "lint-scss": "sass-lint -c .sass-lint.yml", | ||
17 | "webpack": "webpack", | 19 | "webpack": "webpack", |
18 | "tslint": "tslint", | 20 | "tslint": "tslint", |
19 | "ng": "ng", | 21 | "ng": "ng", |
20 | "postinstall": "npm rebuild node-sass", | 22 | "postinstall": "npm rebuild node-sass", |
21 | "webpack-bundle-analyzer": "webpack-bundle-analyzer", | 23 | "webpack-bundle-analyzer": "webpack-bundle-analyzer", |
22 | "webdriver-manager": "webdriver-manager", | 24 | "webdriver-manager": "webdriver-manager", |
23 | "ngx-extractor": "ngx-extractor" | 25 | "ngx-extractor": "ngx-extractor", |
26 | "sass-lint": "sass-lint" | ||
24 | }, | 27 | }, |
25 | "typings": "*.d.ts", | 28 | "typings": "*.d.ts", |
26 | "resolutions": { | 29 | "resolutions": { |
@@ -112,6 +115,7 @@ | |||
112 | "raw-loader": "^1", | 115 | "raw-loader": "^1", |
113 | "rxjs": "^6.5.2", | 116 | "rxjs": "^6.5.2", |
114 | "sanitize-html": "^1.18.4", | 117 | "sanitize-html": "^1.18.4", |
118 | "sass-lint": "^1.13.1", | ||
115 | "sass-loader": "7", | 119 | "sass-loader": "7", |
116 | "sass-resources-loader": "^2.0.0", | 120 | "sass-resources-loader": "^2.0.0", |
117 | "socket.io-client": "^2.2.0", | 121 | "socket.io-client": "^2.2.0", |