[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.
Lauren Tan committed
Apr 6, 2023 at 19:10 UTC
2eae7dc6b9add777d24229d8c44efa1ba4da49f1
1 file changed
+3
-2
compiler/forget/package.json
+3
-2
@@ -8,11 +8,12 @@
8
"src"
9
],
10
"scripts": {
11
- "build": "rimraf dist && tsc && scripts/hash-dist.sh",
11
+ "build": "rimraf dist && tsc",
12
"bundle:meta": "scripts/bundle-meta.sh",
13
"dev": "concurrently --kill-others \"tsc --watch\" \"yarn:playground\"",
14
+ "hash": "scripts/hash-dist.sh",
15
"playground": "cd packages/playground && yarn && yarn dev",
15
- "test": "yarn build && jest",
16
+ "test": "tsc && jest",
17
"ts:analyze-trace": "scripts/ts-analyze-trace.sh",
18
"test262": "yarn run --silent test262-harness --preprocessor=scripts/test262-preprocessor.js",
19
"test262:all": "yarn run --silent test262 'test262/test/**/*.js'",