Last active
August 22, 2019 14:11
-
-
Save BretCameron/7375346e38d43c35bc5740d3bc029ae7 to your computer and use it in GitHub Desktop.
An example package.json file, for publishing an npm module.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "my-npm-package", | |
"version": "1.0.0", | |
"description": "An example package for a tutorial.", | |
"keywords": [ | |
"example", | |
"package", | |
"tutorial" | |
], | |
"homepage": "https://github.com/UserName/package-name", | |
"bugs": { | |
"url": "https://github.com/UserName/package-name/issues", | |
"email": "[email protected]" | |
}, | |
"main": "index.js", | |
"scripts": { | |
"test": "mocha" | |
}, | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/UserName/package-name.git" | |
}, | |
"author": "Joe Bloggs <[email protected]> (your-website.com)", | |
"license": "MIT", | |
"private": false, | |
"engines": { | |
"node": ">=6.0.0" | |
}, | |
"engineStrict": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment