Monday, 5 March 2018

Naming and directory conventions for small utility scripts

I might have some small almost stand alone scripts that do some simple things. e.g. a deploy script to copy stuff to a server,these may or may not have other node_modules required.How do you organise things like this? A separate folder for each script, with its own package.json, even if the script is only a few lines? (I guess that is necessary if it relies on any other packages?)Put all the scripts in a single directory and somehow share the node_modules folder?

Submitted March 06, 2018 at 02:58AM by UnquestionableDoha

No comments:

Post a Comment