Eneris / push-receiver

A library to subscribe to GCM/FCM and receive notifications within a node process.
https://medium.com/@MatthieuLemoine/my-journey-to-bring-web-push-support-to-node-and-electron-ce70eea1c0b0
MIT License
16 stars 16 forks source link

refactor: remove `request-promise` dependency and use the `mkdirp` and `rimraf` packages instead of plain `mkdir -p` and `rm -rf` commands #6

Closed erikian closed 1 year ago

erikian commented 1 year ago

This replaces the mkdir -p and rm -rf commands, which don't play nice with Windows, with the mkdirp and rimraf packages. Both packages are already in the dependency tree, so there's no extra cost for this. I've also removed the request-promise dependency since it's not being used anymore.