npm scripts don't run on windows
Closed this issue · 2 comments
sheam commented
npm scripts don't run on windows
sheam commented
Changeing the prepublish and preversion to "bash ./script/prepublish"
works, but of cource depends on bash existing on the dev machine.
nathanstitt commented
Hm, I don't have much experience with scripting on windows, but based on https://www.howtogeek.com/261591/how-to-create-and-run-bash-shell-scripts-on-windows-10/ !#/bin/bash
should work on windows 10 at least.
I've changed the scripts to use that in hopes it'll help