mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
 This is an attempt to scaffold yarn workspaces into our repo with as minimal as possible changes to our current setup and directory structure. Essentially this PR moves current `src` into `packages/babel-plugin-react-forget` as a first step to keep everything working. Later on when we're ready we can split out a `react-compiler` package that is decoupled from Babel, but it's too early for that now
24 lines
719 B
JSON
24 lines
719 B
JSON
{
|
|
"private": true,
|
|
"workspaces": {
|
|
"packages": ["packages/*"],
|
|
"nohoist": ["**/next", "**/next/**"]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/react-forget.git"
|
|
},
|
|
"scripts": {
|
|
"start": "yarn workspace playground run start",
|
|
"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\"",
|
|
"snap": "yarn workspace babel-plugin-react-forget run snap",
|
|
"snap:build": "yarn workspace snap run build"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"concurrently": "^7.4.0"
|
|
}
|
|
}
|