mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 07:22:15 +08:00
fix: typings generation script
This commit is contained in:
parent
5b3839a2cc
commit
85e6076553
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user