Code:
"dependencies": {
"express": "^4.14.0"
},
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"engines": {
"node": "8.11.2"
},
"repository": {
"type": "git",
"url": "https://idontknow/todo.git"
}
}
Can anyone help me out on how to add version “2.14.0” of the “moment” package to the dependencies
field of your package.json file.
Here is how they said the format should be:
"dependencies": {
"package-name": "version",
"express": "4.14.0"
}
Link to the challenge: https://www.freecodecamp.org/learn/apis-and-microservices/managing-packages-with-npm/expand-your-project-with-external-packages-from-npm