mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
The `start` convention is a CRA convention but nobody else of the modern frameworks / tools use this convention for a file watcher and dev mode. Instead the common convention is `dev`. Instead `start` is for running a production build that's already been built. --------- Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
19 lines
524 B
JSON
19 lines
524 B
JSON
{
|
|
"name": "expiration-2",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"react": "^16.1.1",
|
|
"react-dom": "^16.1.1",
|
|
"react-scripts": "1.0.17"
|
|
},
|
|
"scripts": {
|
|
"predev":
|
|
"cp ../../build/oss-experimental/react/umd/react.development.js public/ && cp ../../build/oss-experimental/react-dom/umd/react-dom.development.js public/",
|
|
"dev": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test --env=jsdom",
|
|
"eject": "react-scripts eject"
|
|
}
|
|
}
|