Added a license code example for Package.json (#25488)

pull/26275/merge
Jose Toledo 2019-01-15 13:51:52 -08:00 committed by Tom
parent b719cb01cf
commit 93e65641bc
1 changed files with 7 additions and 4 deletions

View File

@ -3,8 +3,11 @@ title: Add a License to Your package.json
---
## Add a License to Your package.json
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/apis-and-microservices/managing-packages-with-npm/add-a-license-to-your-package.json/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. Licenses follow a similar convention as this:
```code
"license": "ExampleLicense"
```
<a href='https://github.com/freeCodeCamp/freeCodeCamp/blob/master/guide/english/certifications/apis-and-microservices/managing-packages-with-npm/add-a-license-to-your-package.json/index.md' target='_blank' rel='nofollow'>Help our community expand these hints and guides</a>.