mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[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:
@@ -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'",
|
||||
|
||||
Reference in New Issue
Block a user