mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Using the `link:` protocol to create a dependency doesn't work when we edit the `package.json` to lock the version to a specific version. It didn't really work before neither, it was just that `yarn` installed an existing `scheduler` dependency from npm instead of using the built one. So I'm updating all the fixture to use the technique where we copy files instead.
18 lines
460 B
JSON
18 lines
460 B
JSON
{
|
|
"devDependencies": {
|
|
"@babel/core": "^7.10.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
"@babel/preset-env": "^7.10.4",
|
|
"@babel/preset-react": "^7.10.4",
|
|
"babel-loader": "^8.1.0",
|
|
"react": "^18.2.0",
|
|
"react-art": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"webpack": "^1.14.0"
|
|
},
|
|
"scripts": {
|
|
"prebuild": "cp -r ../../build/oss-experimental/* ./node_modules/",
|
|
"build": "webpack app.js bundle.js"
|
|
}
|
|
}
|