rocketpwa
v1.0.2
Published
Command line toolbelt for PWA developers.
Downloads
5
Maintainers
Readme
RocketPWA
A toolbelt created for PWA developers.
Features
- Generate icons in all sizes;
- Generate rounded icons;
- Generate splash screens for iOS;
- Resize splash screens without cropping content;
How to use
npm install -g rocketpwa
rocketpwa -h
Generate icons
rocketpwa --icon icon.png
You can also add an -r
parameter to create rounded corner icons.
Generate splash screens
rocketpwa --splash splash.png
By default, rocketpwa will try to find the best match for positioning splash screen on different screen sizes but sometimes you may encounter crop problems.
To bypass that, you can simple add an --fill
parameter to set the fallback background color for splash screens:
rocketpwa --splash splash.png --fill "#7159C1"
Contribute
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request