vajahath/lme

include .npmignore file

Closed this issue · 3 comments

We don't have to push ./media file to npm. right?

Correct. You do not need to include anything that is not required for the package to run.

Certain files are excluded by default (ie: .npmrc, .git, etc) and some are included automatically (ie:readme, license, etc).

https://docs.npmjs.com/misc/developers

An alternative to it is:
https://docs.npmjs.com/files/package.json#files

Think of .npmrc as a blacklisting of the files to exclude...
We can work in the opposite direction and simply make a whitelist of files to include.

Fixed. Thanks :) ( #8 )