Skip to content

Commit

Permalink
Use "files" field in package.json
Browse files Browse the repository at this point in the history
Include only files relevant to the end user on npm.
  • Loading branch information
Hadrien Milano authored and BigBlueHat committed Jun 22, 2017
1 parent 7e9ff0b commit 4f3a998
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules/*
!node_modules/node-static
npm-debug.log
npm-debug.log
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"pretest": "common bin/http-server lib/ test",
"test": "vows --spec --isolate"
},
"files": [
"lib",
"bin"
],
"contributors": [
{
"name": "Charlie Robbins",
Expand Down

0 comments on commit 4f3a998

Please sign in to comment.