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 SyntaxRules committed Feb 1, 2022
1 parent 25c4420 commit 35730b7
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.3.4",
"grunt": "^1.4.1",
Expand Down

0 comments on commit 35730b7

Please sign in to comment.