Skip to content

Commit

Permalink
Shrink the package slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn committed May 21, 2022
1 parent 46ca00c commit 39f7c42
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This is an alternative to `package.json`'s `files`.
# This method shrinks the final tarball by ~21 bytes.
*
!CHANGELOG.md
!LICENSE
!README.md
!index.js
!index.d.ts
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Changed

- Shrunk package size slightly

## 3.0.3 - 2022-03-23

### Changed
Expand Down
7 changes: 0 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@
},
"main": "index.js",
"typings": "index.d.ts",
"files": [
"CHANGELOG.md",
"LICENSE",
"README.md",
"index.js",
"index.d.ts"
],
"scripts": {
"pretest": "npm run lint",
"lint": "npm run lint:eslint && npm run lint:prettier",
Expand Down

0 comments on commit 39f7c42

Please sign in to comment.