Closed styfle closed 5 years ago
To be honest, I don't see much value in stripping npm packages - I've been caught exploring node_modules
while on airplaine (with limited internet access) and having ability to read the entire source code was very helpful..
This isn't going to remove the source code, you can still explorer node_modules.
It will remove files like:
perf/
test/
.travis.yml
These are not useful unless you are developing ngraph.graph
in which case, you would clone the repo.
Sorry, I'd like to keep the file in the repository, so that developers who install the library can have full access to the source code when they are coding on an airplane, North Pole, space or anywhere else where there is no great internet connection
This prevents publishing unnecessary files to npm.
See the docs here: https://docs.npmjs.com/files/package.json#files