mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
6093f1862a
The DOM fixture hasn't worked on local builds since the UMD support was removed in https://github.com/facebook/react/pull/28735 Here we update the fixture to set the local experimental builds to window. Some of the pages are still broken, such as hydration. But these bugs exist on other versions as well and can be cleaned up separately.
29 lines
733 B
JSON
29 lines
733 B
JSON
{
|
|
"name": "react-fixtures",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"react-scripts": "^1.0.11"
|
|
},
|
|
"dependencies": {
|
|
"@babel/standalone": "^7.0.0",
|
|
"art": "^0.10.3",
|
|
"classnames": "^2.2.5",
|
|
"codemirror": "^5.40.0",
|
|
"core-js": "^2.4.1",
|
|
"jest-diff": "^29.4.1",
|
|
"prop-types": "^15.6.0",
|
|
"query-string": "^4.2.3",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"semver": "^5.5.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "react-scripts start",
|
|
"predev": "cp -a ../../build/oss-experimental/. node_modules",
|
|
"build": "react-scripts build && cp build/index.html build/200.html",
|
|
"test": "react-scripts test --env=jsdom",
|
|
"eject": "react-scripts eject"
|
|
}
|
|
}
|