Skip to content

Commit

Permalink
fix: reduce npm package size
Browse files Browse the repository at this point in the history
Add files field to package.json so that the size of the published package is reduced by only including the files required (the bin and the dist folders)

Closes #619
  • Loading branch information
futagoza authored and tivie committed Nov 13, 2018
1 parent 6679891 commit 82f90eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
"bin": {
"showdown": "bin/showdown.js"
},
"files": [
"bin",
"dist"
],
"devDependencies": {
"chai": "4.1.x",
"grunt": "^1.0.3",
Expand Down

0 comments on commit 82f90eb

Please sign in to comment.