Added a dependency convention code example (#25515)

This commit is contained in:
Jose Toledo
2019-01-15 13:59:18 -08:00
committed by Tom
parent 3da1bd9f60
commit 1b0518202a

View File

@ -3,8 +3,14 @@ title: Manage npm Dependencies By Understanding Semantic Versioning
---
## Manage npm Dependencies By Understanding Semantic Versioning
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/apis-and-microservices/managing-packages-with-npm/manage-npm-dependencies-by-understanding-semantic-versioning/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
You should go over to the `package.json` file in your project. SemVer dependencies follow a similar convention like this:
```code
"dependencies": {
"dependency1": "^major.minor.patch"
},
...
```
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/apis-and-microservices/managing-packages-with-npm/manage-npm-dependencies-by-understanding-semantic-versioning/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.