1
0
mirror of https://github.com/flarum/core.git synced 2025-08-01 14:10:37 +02:00

chore: unify JS actions into one (rewritten flarum/action-build) (#3573)

* chore: unify JS actions into one (rewritten `flarum/action-build)`
* chore: maintain backwards compatibility
* fix: wrong default format check script

Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
This commit is contained in:
Sami Mazouz
2022-08-08 14:48:43 +01:00
committed by GitHub
parent b20961cc9d
commit 631b4c194c
33 changed files with 86 additions and 513 deletions

View File

@@ -18,10 +18,6 @@
"build": "webpack --mode production",
"format": "prettier --write src",
"format-check": "prettier --check src",
"analyze": "cross-env ANALYZER=true yarn run build",
"clean-typings": "npx rimraf dist-typings && mkdir dist-typings",
"build-typings": "npm run clean-typings && cp -r src/@types dist-typings/@types && tsc",
"check-typings": "tsc --noEmit --emitDeclarationOnly false",
"check-typings-coverage": "typescript-coverage-report"
"analyze": "cross-env ANALYZER=true yarn run build"
}
}