Skip to content

Instantly share code, notes, and snippets.

@NewteqDeveloper
Last active May 23, 2019 13:26
Show Gist options
  • Save NewteqDeveloper/9a10a19b6c363d486aa67e2562b648a3 to your computer and use it in GitHub Desktop.
Save NewteqDeveloper/9a10a19b6c363d486aa67e2562b648a3 to your computer and use it in GitHub Desktop.
A template for a NPM package json created with Angular2+
{
"name": "package-name",
"version": "0.0.0",
"description": "Your description",
"author": {
"name": "Author Name"
},
"repository": {
"type": "git",
"url": "GIT URL"
},
"keywords": [
"your custom keywords",
"each as a new",
"item in this array"
],
"homepage": "repo location (usually)",
"license": "UNLICENSE",
/*
Add any other dependencies that your library depends on
*/
"peerDependencies": {
"@angular/common": "^7.2.0",
"@angular/core": "^7.2.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment