Skip to content

Instantly share code, notes, and snippets.

@satyambnsal
Created October 3, 2018 19:15
Show Gist options
  • Select an option

  • Save satyambnsal/e7fc54bc48021d43bce70bccadb2e72e to your computer and use it in GitHub Desktop.

Select an option

Save satyambnsal/e7fc54bc48021d43bce70bccadb2e72e to your computer and use it in GitHub Desktop.
Sample package.json file for Javascript developers
{
"name": "service name",
"version": "1.0.0",
"main": "src/index.js",
"engines": {
"node": ">=8.9.1"
},
"scripts": {
"start": "node src/index.js",
"lint": "eslint --fix ."
},
"dependencies": {
"express": "1.0.0",
"config": "1.0.0"
},
"devDependencies": {
"eslint": "1.0.0",
"eslint-plugin-node": "1.0.0"
},
"repository": {
"type": "git",
"url": "git url"
},
"license": "UNLICENSED",
"author": "Company name"
"description": "What your service is all about"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment