ns1-js icon indicating copy to clipboard operation
ns1-js copied to clipboard

Do we need all these dependencies to run it?

Open OP-Klaus opened this issue 7 years ago • 1 comments

When installed via npm this package is over 250mb, most of it is node_modules/babel*. I don't see any reference to babel except in the npm scripts, so are they really necessary for the functioning of the package, or should some of them be in devDependencies?

Looking through the code, it seems that the only dependencies needed to run this are pluralize and superagent, with the others just being for building and testing, so I suggest moving the other modules to devDependencies

OP-Klaus avatar Nov 30 '17 02:11 OP-Klaus

Exactly my observation as well. My project's node_modules is ~16Mb. Was that is. Can you please move babel*, browserfy, etc to devDependencies?

snobb avatar Aug 18 '21 18:08 snobb