droneshire / dealanalyzer

Analyze deals using in PA
0 stars 0 forks source link

Dev dependencies #9

Open jvandermey opened 1 year ago

jvandermey commented 1 year ago

This is definitely a nit, but a lot of these dependencies (and things like typescript) can be in devDependencies since they are only needed at build/test time and not actually in production. You can usually do this automatically at install time with a -d flag

https://github.com/droneshire/dealanalyzer/blob/42c14590838684bfc521270ac0ea08dae8c975ba/package.json#L9-L15

droneshire commented 1 year ago

Good tip. Is the -d flag used when npm installing? e.g. npm install -d mymodule?

droneshire commented 1 year ago

Is there a way to retroactively prune the added unnecessary deps?