Skip to content

Commit

Permalink
add files property to reduce pkg size (80kB -> 64.9kB unpacked)
Browse files Browse the repository at this point in the history
* allowlist /commands, /config, /libs, /utils

* do not include test files
  • Loading branch information
Ak5cel committed Jan 7, 2024
1 parent 5c6365f commit 282029b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
"bin": {
"heartify": "./index.js"
},
"files": [
"/commands",
"/config",
"/libs",
"/utils",
"!/**/__tests__"
],
"scripts": {
"test": "jest",
"test-cov": "jest --coverage"
Expand Down

0 comments on commit 282029b

Please sign in to comment.