Skip to content

Instantly share code, notes, and snippets.

@frontdevops
Last active August 3, 2016 07:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frontdevops/0230bcde1b8c2001d669ff494baca532 to your computer and use it in GitHub Desktop.
Save frontdevops/0230bcde1b8c2001d669ff494baca532 to your computer and use it in GitHub Desktop.
{
"name": "Front-service",
"main": "bin/server.js",
"scripts": {
"start-prod": "better-npm-run start-prod",
"start-dev": "better-npm-run start-dev"
},
"betterScripts": {
"start-prod": {
"command": "node ./bin/server.js",
"env": {
"NODE_ENV": "production",
"NODE_PATH": "./src",
"PORT": "48884",
"API_URL": "//rest.api.new.hr",
"API_HOST": "http://10.0.100.100"
}
},
"start-dev": {
"command": "node ./bin/server.js",
"env": {
"NODE_PATH": "./src",
"NODE_ENV": "development",
"PORT": 3000,
"HOST": "http://localhost"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment