possible to do this as plain JS + npm scripts? (thinking of windows users)