fix(tests): Have npm start run a full build (#6770)

Doing npm start in a clean checkout loads a broken playground,
because the deps script does not run buildLangfiles.

To fix this (and also to ensure that compressed playground loading
also works, even though uncompressed is the default), have the
start script run the build script rather than just deps.
This commit is contained in:
Christopher Allen
2023-01-13 18:36:00 +00:00
committed by GitHub
parent cd57e74d1a
commit c0d89bcaf4

View File

@@ -49,7 +49,7 @@
"publish:beta": "npm ci && gulp publishBeta",
"recompile": "gulp recompile",
"release": "gulp gitCreateRC",
"start": "npm run deps && concurrently -n tsc,server \"tsc --watch --preserveWatchOutput --outDir 'build/src' --declarationDir 'build/declarations'\" \"http-server ./ -s -o /tests/playground.html -c-1\"",
"start": "npm run build && concurrently -n tsc,server \"tsc --watch --preserveWatchOutput --outDir 'build/src' --declarationDir 'build/declarations'\" \"http-server ./ -s -o /tests/playground.html -c-1\"",
"tsc": "gulp tsc",
"test": "gulp test",
"test:generators": "gulp testGenerators",