Skip to content

Commit 403131d

Browse files
committed
MC-10833: Resolve TypeScript errors
- Output errors from both tsc and tslint
1 parent 547f282 commit 403131d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "100.0.0-dev",
44
"description": "PageBuilder module",
55
"scripts": {
6-
"test:static": "npm run ts:errors && tslint --project tsconfig.json",
7-
"test:static:log": "npm run test:static -- -o ./static-error-log.xml -t junit",
6+
"test:static": "tslint --project tsconfig.json",
7+
"test:static:log": "npm run ts:errors 2>&1 | tee tsc-errors.txt && npm run test:static 2>&1 | tee tslint-errors.txt",
88
"ts:errors": "tsc --noEmit",
99
"ts:errors:watch": "npm run ts:errors -- -watch",
1010
"ts:lint": "tslint --fix --project .",

0 commit comments

Comments
 (0)