1
0
mirror of https://github.com/flarum/core.git synced 2025-07-15 13:56:23 +02:00

fix: typings generation script

This commit is contained in:
Alexander Skvortsov
2022-01-20 04:12:32 -05:00
parent 6cf8334ad1
commit 0de271153d

View File

@ -43,7 +43,7 @@
"format": "prettier --write src",
"format-check": "prettier --check src",
"clean-typings": "npx rimraf dist-typings && mkdir dist-typings",
"build-typings": "npm run clean-typings && cp -r src/@types dist-typings/@types && tsc",
"build-typings": "npm run clean-typings && tsc && [[ -e src/@types ]] && cp -r src/@types dist-typings/@types",
"check-typings": "tsc --noEmit --emitDeclarationOnly false",
"check-typings-coverage": "typescript-coverage-report"
},