https://stackoverflow.com/questions/34937724/running-bash-scripts-with-npm
Its totally possible...
"scripts": { "build": "./build.sh" },
also, make sure you put a hash bang at the top of your bash file #!/usr/bin/env bash
#!/usr/bin/env bash
also make sure you have permissions to execute the file
chmod +x ./build.sh