[be] Simplify yarn test

Updates our scripts to only hash and clean up`dist` when bundling for Meta, 
since we don't need to do that for tests.
This commit is contained in:
Lauren Tan
2023-04-06 19:10:21 -04:00
parent 9c1f8a962c
commit 2eae7dc6b9
+3 -2
View File
@@ -8,11 +8,12 @@
"src"
],
"scripts": {
"build": "rimraf dist && tsc && scripts/hash-dist.sh",
"build": "rimraf dist && tsc",
"bundle:meta": "scripts/bundle-meta.sh",
"dev": "concurrently --kill-others \"tsc --watch\" \"yarn:playground\"",
"hash": "scripts/hash-dist.sh",
"playground": "cd packages/playground && yarn && yarn dev",
"test": "yarn build && jest",
"test": "tsc && jest",
"ts:analyze-trace": "scripts/ts-analyze-trace.sh",
"test262": "yarn run --silent test262-harness --preprocessor=scripts/test262-preprocessor.js",
"test262:all": "yarn run --silent test262 'test262/test/**/*.js'",