Skip to content

Commit 35730b7

Browse files
futagozaSyntaxRules
authored andcommitted
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
1 parent 25c4420 commit 35730b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
"bin": {
3939
"showdown": "bin/showdown.js"
4040
},
41+
"files": [
42+
"bin",
43+
"dist"
44+
],
4145
"devDependencies": {
4246
"chai": "^4.3.4",
4347
"grunt": "^1.4.1",

0 commit comments

Comments
 (0)