Skip to content

Instantly share code, notes, and snippets.

@napolux
Created February 15, 2019 10:45
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 napolux/0c3fa8951ba0d470dc25297f5b95c382 to your computer and use it in GitHub Desktop.
Save napolux/0c3fa8951ba0d470dc25297f5b95c382 to your computer and use it in GitHub Desktop.
How to add comments to your package.json (see at the end of the file)
{
"name": "napolux-frontend",
"version": "1.0.0",
"description": "it's a test",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.3.1",
"babel-polyfill": "^6.26.0",
"gulp": "^4.0.0",
"gulp-babel": "^8.0.0",
"gulp-rename": "^1.4.0",
"gulp-uglify": "^3.0.1"
},
"dependencies": {
"jquery": "^3.3.1"
},
"comments": {
"dependencies": "we use jQuery because of reasons",
"repository": "our beloved repo",
"license": "we love MIT, so why not",
"devDependencies": {
"@babel/core": "it's @ version 7.2.2 because of...",
"gulp-rename": "why not"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment