mirror of
https://github.com/facebook/react.git
synced 2026-02-21 19:31:52 +00:00
It's confusing to new contributors, and me, that you're supposed to use `yarn build-combined` for almost everything but not fixtures. We should use only one build command for everything. Updated fixtures to use the folder convention of build-combined.
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"name": "react-ssr",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=14.9.0"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@babel/core": "7.14.3",
|
|
"@babel/register": "7.13.16",
|
|
"babel-loader": "8.1.0",
|
|
"babel-preset-react-app": "10.0.0",
|
|
"compression": "^1.7.4",
|
|
"concurrently": "^5.3.0",
|
|
"express": "^4.17.1",
|
|
"nodemon": "^2.0.6",
|
|
"react": "link:../../build/oss-experimental/react",
|
|
"react-dom": "link:../../build/oss-experimental/react-dom",
|
|
"react-error-boundary": "^3.1.3",
|
|
"resolve": "1.12.0",
|
|
"rimraf": "^3.0.2",
|
|
"webpack": "4.44.2",
|
|
"webpack-cli": "^4.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"cross-env": "^7.0.3",
|
|
"prettier": "1.19.1"
|
|
},
|
|
"scripts": {
|
|
"start": "concurrently \"npm run server:dev\" \"npm run bundler:dev\"",
|
|
"start:prod": "concurrently \"npm run server:prod\" \"npm run bundler:prod\"",
|
|
"server:dev": "cross-env NODE_ENV=development nodemon -- server/server.js",
|
|
"server:prod": "cross-env NODE_ENV=production nodemon -- server/server.js",
|
|
"bundler:dev": "cross-env NODE_ENV=development nodemon -- scripts/build.js",
|
|
"bundler:prod": "cross-env NODE_ENV=production nodemon -- scripts/build.js"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
[
|
|
"react-app",
|
|
{
|
|
"runtime": "automatic"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"nodemonConfig": {
|
|
"ignore": [
|
|
"build/*"
|
|
]
|
|
}
|
|
}
|