This repository was archived by the owner on May 10, 2021. It is now read-only.
Commit 58d80e7
committed
Specify files in package.json
Whitelist only the `lib` directory for npm publication. All other files
will not be published as part of the npm package (with the exception of
the entry JS file, README, LICENSE, and CHANGELOG).
This will, for example, avoid publishing our future tests directory.
This was inspired by the following article:
https://medium.com/@jdxcode/for-the-love-of-god-dont-use-npmignore-f93c08909d8d1 parent bc7d866 commit 58d80e7
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
0 commit comments