Skip to content

Commit 798d4da

Browse files
committed
Supply --jsx react to tsc
1 parent f44694a commit 798d4da

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
@@ -46,7 +46,7 @@
4646
"build:electron:linux": "yarn build && electron-builder -l --x64",
4747
"build:electron:macos": "yarn build && electron-builder -m --x64",
4848
"build:electron:windows": "yarn build && electron-builder -w --ia32 --x64",
49-
"build:types": "tsc --emitDeclarationOnly",
49+
"build:types": "tsc --emitDeclarationOnly --jsx react",
5050
"install:electron": "electron-builder install-app-deps",
5151
"dist": "scripts/package.sh",
5252
"start": "concurrently --kill-others-on-fail --prefix \"{time} [{name}]\" -n reskindex,reskindex-react,res,riot-js \"yarn reskindex:watch\" \"yarn reskindex:watch-react\" \"yarn start:res\" \"yarn start:js\"",
@@ -56,7 +56,7 @@
5656
"lint": "yarn lint:types && yarn lint:ts && yarn lint:js && yarn lint:style",
5757
"lint:js": "eslint src",
5858
"lint:ts": "echo 'We don't actually have a typescript linter at this layer because tslint is being removed from our stack. Presumably your TS is fine.'",
59-
"lint:types": "tsc --noEmit",
59+
"lint:types": "tsc --noEmit --jsx react",
6060
"lint:style": "stylelint 'res/css/**/*.scss'",
6161
"test": "jest"
6262
},

0 commit comments

Comments
 (0)