35 ms·
If you specify a js file as an executable file in your package.json, npm wraps it in a .cmd file on Windows just like it wraps it in a shell file on nix.
by kodablah 14y ago
If you specify a js file as an executable file in your package.json, npm wraps it in a .cmd file on Windows just like it wraps it in a shell file on nix.
- importMe 14y agoThat's good to know. Thanks!