use tsc --noEmit for backend and client

See https://github.com/misskey-dev/misskey/pull/9316
This commit is contained in:
Norm 2022-12-13 16:02:06 -05:00
parent e5a4c5d2d0
commit e28a9eb8e8
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
"scripts": {
"build": "tsc -p tsconfig.json || echo done. && tsc-alias -p tsconfig.json",
"watch": "node watch.mjs",
"lint": "eslint src --ext .ts",
"lint": "tsc --noEmit && eslint src --ext .ts",
"mocha": "cross-env NODE_ENV=test TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=\"./test/tsconfig.json\" mocha",
"migrate": "npx typeorm migration:run -d ormconfig.js",
"start": "node --experimental-json-modules ./built/index.js",

View file

@ -5,7 +5,7 @@
"scripts": {
"watch": "vite build --watch --mode development",
"build": "vite build",
"lint": "eslint src --ext .ts,.vue"
"lint": "tsc --noEmit && eslint src --ext .ts,.vue"
},
"dependencies": {
"@discordapp/twemoji": "14.0.2",