I don't know the specifics, but you might get a more general solution by supporting npm-scripts https://docs.npmjs.com/misc/scripts
I don't know the specifics, but you might get a more general solution by supporting npm-scripts https:/ /docs.npmjs. com/misc/ scripts