"scripts": {
"start": "npm run dev & npm run rest-api",
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"rest-api": "json-server --watch server/api/db.json"
},
module.exports = {
apps : [{
name : "worker",
script : "./worker.js",
}, {
name : "api-app",
script : "./api.js",
}]
}