3 ms·
Ask yourself "will authors consuming my module need this dependency?". If not, it's a development dependency. If you're including pure-JavaScript artifacts in
by bsimpson 10y ago
Ask yourself "will authors consuming my module need this dependency?". If not, it's a development dependency.
If you're including pure-JavaScript artifacts in your npm releases, downstream authors probably don't care about your Babel/Webpack configuration.