mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
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:
committed by
GitHub
parent
cd57e74d1a
commit
c0d89bcaf4
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user