mirror of
https://github.com/flarum/framework.git
synced 2025-02-27 02:29:39 +08:00
fix: build typings script
This commit is contained in:
parent
a04b420295
commit
d8b83cc372
@ -43,7 +43,7 @@
|
|||||||
"format": "prettier --write src",
|
"format": "prettier --write src",
|
||||||
"format-check": "prettier --check src",
|
"format-check": "prettier --check src",
|
||||||
"clean-typings": "npx rimraf dist-typings && mkdir dist-typings",
|
"clean-typings": "npx rimraf dist-typings && mkdir dist-typings",
|
||||||
"build-typings": "npm run clean-typings && tsc && [[ -e src/@types ]] && cp -r src/@types dist-typings/@types",
|
"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": "tsc --noEmit --emitDeclarationOnly false",
|
||||||
"check-typings-coverage": "typescript-coverage-report"
|
"check-typings-coverage": "typescript-coverage-report"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user