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 SyntaxRules
parent 25c44207be
commit 35730b7c80

View File

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