mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
- `npm start` only starts the applications and requires that `npm run build` is already run - `npm run dev-server` runs the build and starts the server with nodemon - update README
25 lines
663 B
JSON
25 lines
663 B
JSON
{
|
|
"name": "app",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"react-scripts": "file:../create-react-app/packages/react-scripts"
|
|
},
|
|
"dependencies": {
|
|
"express": "^4.14.0",
|
|
"lodash": "^4.17.4",
|
|
"nodemon": "^1.11.0",
|
|
"react": "^15.4.1",
|
|
"react-dom": "^15.4.1",
|
|
"react-helmet": "^3.3.0",
|
|
"react-router": "4.0.0-alpha.6"
|
|
},
|
|
"scripts": {
|
|
"dev": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test --env=jsdom",
|
|
"eject": "react-scripts eject",
|
|
"start": "node server/index.js",
|
|
"dev-server": "npm run build&&nodemon --watch server server/index.js"
|
|
}
|
|
}
|