5 ms·
I Prefer Makefiles over Package.json Scripts
- tnzm 6y agoI just use package.json scripts as entrypoints to custom JS scripts. Make is a build tool, not a meta-shellscript format; I wish its dependency tracking was unbundled into a separate tool.
- rualca 6y ago> I just use package.json scripts as entrypoints to custom JS scripts. Call me naive but I always thought that was the standard way to use the script support for package.json. One-liners could go directly in package.json, but from thereon it's scripts. In fact, the standard package.json project tree included a ./scripts dedicated to store scripts.