Closed pdehaan closed 7 years ago
Ref: #12, we'll also want to figure out if we should include the 16KB LICENSE file in the published npm module.
After doing some skillfull rm -rf
action on some files, it looks like we can get the module down to 11-20KB:
$ du -sh node_modules
20K node_modules
$ ls -lashR node_modules
node_modules/testpilot-metrics:
8 -rw-r--r-- 1 pdehaan staff 15B Jan 23 22:48 .npmignore
8 -rw-r--r-- 1 pdehaan staff 2.7K Jan 26 12:40 package.json
24 -rw-r--r-- 1 pdehaan staff 11K Jan 25 23:47 testpilot-metrics.js
Nope, we're going to distribute everything together
The installation docs make it pretty clear that all you need to use the module is the js file that has no dependencies. I want to keep the rest of the docs there for experiment authors to lean on.
But...maybe I'm being too rash in closing this. Reopen if I am :-)
We probably want to limit the number of files in the published npm module. I only have testpilot-metrics installed, but the ./node_modules/ directory is ~480K.
We probably don't need to distribute the *.MD files, or the /examples/ and /test/ directories.