Skip to content

Instantly share code, notes, and snippets.

@devmaufh
Created August 12, 2018 17:34
Show Gist options
  • Save devmaufh/693252e8f87cf91936dd8b899c2f995d to your computer and use it in GitHub Desktop.
Save devmaufh/693252e8f87cf91936dd8b899c2f995d to your computer and use it in GitHub Desktop.
Only copy the lines that has comments and add to your package.json from your application.
{
"name": "NodejsStarterApp",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app.js"
},
"dependencies": {
"express": "4.15.x",
"cfenv": "1.0.x",
"body-parser": "1.15.0", //Only copy this line,
"request": "2.72.0", // and this,
"htmlparser": "1.7.7", //and this,
"watson-developer-cloud": "^3.7.0"// and finally this. Please ignore everything else.
},
"repository": {},
"engines": {
"node": "6.x"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment