I want to extend the npm run build
command in my package.json
not by replacing it, because it uses react-scripts build
but by &&
'ing another script.
Fastest way to achieve this would be a bash script which just does that. I want to copy a few other files from src
into build
in order to make a chrome extension out of it.
Is it considered bad practice to use a shell script here rather than writing it natively in a node environment?