mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 18:33:40 +08:00
fix: typings generation script
This commit is contained in:
parent
e23ac5d51c
commit
9ba882619c
|
@ -11,7 +11,7 @@
|
|||
"check-typings": "tsc --noEmit --emitDeclarationOnly false",
|
||||
"check-typings-coverage": "typescript-coverage-report",
|
||||
"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"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@flarum/prettier-config": "^1.0.0",
|
||||
|
|
Loading…
Reference in New Issue
Block a user