fix: reduce npm package size

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
This commit is contained in:
Futago-za Ryuu 2018-11-13 21:47:31 +00:00 committed by Estevão Soares dos Santos
parent 66798912de
commit 82f90ebda2

View File

@ -38,6 +38,10 @@
"bin": {
"showdown": "bin/showdown.js"
},
"files": [
"bin",
"dist"
],
"devDependencies": {
"chai": "4.1.x",
"grunt": "^1.0.3",