I am having trouble running this repository on Windows because from what I can see, it is heavily developed on a Unix environment.
https://github.com/gocardless/splash-pages
From the package.json, I am trying to run the script npm run build-production
but it wouldn't work since it is dependent on a bash file.
This is the given command:
"build-production": "TARGET=https://gocardless.com ./script/build"
I tried different variation of it on windows, namely
"build-production": "set TARGET=https://gocardless.com ./script/build"
Source: How can i set NODE_ENV=production in Windows?
"build-production": "set TARGET=https://gocardless.com; sh ./script/build"
Source: https://superuser.com/questions/612409/how-do-i-run-multiple-commands-on-one-line-in-powershell
"build-production": "set TARGET=https://gocardless.com&&sh ./script/build"
Source: How to run .sh on Windows Command Prompt?
Question: How can I get this repo up and running on Windows?