mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Add workspace command to run all tests
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
"next": "yarn workspace playground run dev",
|
||||
"build": "yarn workspaces run build",
|
||||
"dev": "concurrently --kill-others \"yarn workspace babel-plugin-react-forget run tsc --watch\" \"yarn workspace playground run dev\"",
|
||||
"test": "yarn workspaces run test",
|
||||
"snap": "yarn workspace babel-plugin-react-forget run snap",
|
||||
"snap:build": "yarn workspace snap run build"
|
||||
},
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
"build": "rimraf dist && tsc",
|
||||
"bundle:meta": "scripts/bundle-meta.sh",
|
||||
"hash": "scripts/hash-dist.sh",
|
||||
"test": "tsc && jest",
|
||||
"test": "yarn jest && yarn snap:build && yarn snap",
|
||||
"jest": "tsc && jest",
|
||||
"snap": "node ../snap/dist/main.js",
|
||||
"snap:build": "yarn workspace snap run build",
|
||||
"ts:analyze-trace": "scripts/ts-analyze-trace.sh",
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
"private": true,
|
||||
"main": "dist/main.js",
|
||||
"scripts": {
|
||||
"build": "webpack --mode=development"
|
||||
"build": "webpack --mode=development",
|
||||
"test": ":"
|
||||
},
|
||||
"dependencies": {
|
||||
"eslint": "^8.25.0",
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
"build": "next build && node ./scripts/downloadFonts.js",
|
||||
"vercel-build": "yarn workspaces run build",
|
||||
"start": "next start",
|
||||
"lint": "next lint"
|
||||
"lint": "next lint",
|
||||
"test": "yarn lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.19.1",
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"index.js"
|
||||
],
|
||||
"scripts": {
|
||||
"build": ":"
|
||||
"build": ":",
|
||||
"test": ":"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user