Node.js allows defining scripts in
package.json
. This feature often constitutes a
major component of a developer’s workflow. For example, developers can define procedures such as
building, testing, deployment as scripts in
package.json
. If the project is
intended to be cross-platform, the scripts should also be cross-platform.
This is a companion discussion topic for the original entry at https://8hob.io/posts/guides-creating-cross-platform-nodejs-scripts/