When working on a fix for #83 I was getting an error with the npm prebuild script because the rm utility doesn't exist on Windows. There is a cross platform package (rimraf) that can be used if you want people using Windows to submit PRs.
Solution:
npm i -D rimraf and change the npm prebuild script to "prebuild": "rimraf -f ./.tmp/ts-build-infos.json && rimraf -rf dist"
When working on a fix for #83 I was getting an error with the
npm prebuild
script because therm
utility doesn't exist on Windows. There is a cross platform package (rimraf) that can be used if you want people using Windows to submit PRs.Solution:
npm i -D rimraf
and change the npm prebuild script to"prebuild": "rimraf -f ./.tmp/ts-build-infos.json && rimraf -rf dist"