fix: typings generation script

This commit is contained in:
Alexander Skvortsov 2022-01-20 04:13:50 -05:00
parent 5b3839a2cc
commit 85e6076553

View File

@ -9,7 +9,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"
},