Skip to content

Commit

Permalink
build: specify which files to publish instead of using .npmignore
Browse files Browse the repository at this point in the history
This is safer since all the code is in lib.
It wil avoid including test/build config by accident.
  • Loading branch information
rprieto committed Dec 10, 2023
1 parent 904f49f commit 6e0e589
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .npmignore

This file was deleted.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "2.5.2",
"description": "Convert / resize / transcode photos & videos to be web-friendly",
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {
"test:u": "mocha test/unit",
"test:i": "mocha test/integration",
Expand Down

0 comments on commit 6e0e589

Please sign in to comment.