ionic-resources

0.1.8 • Public • Published

ionic-resources

Gitter

Join the chat at https://gitter.im/helixhuang/ionic-resources

Base on https://github.com/AlexDisler/cordova-splash and https://github.com/AlexDisler/cordova-icon

Automatic splash screen and icon generator for Cordova(Ionic). Create a splash screen (2732x2732) and an icon (1024x1024) once in the resources folder of your Cordova project and use cordova-resgen to automatically crop and copy it for all the platforms your project supports (currenty works with iOS, Android and Windows 10).

Installation

$ sudo npm install ionic-resources -g

Requirements

  • GraphicsMagick installed (Mac: brew install graphicsmagick, Debian/Ubuntu: sudo apt-get install graphicsmagick, Windows: See here)
  • At least one platform was added to your project (cordova platforms docs)
  • Cordova's config.xml file must exist in the root folder (cordova config.xml docs)

Usage

Create a splash.png and a 'icon.png' file in the root folder of your cordova project and run:

$ ionic-resources

$ ionic-resources --icon

$ ionic-resources --splash

License

MIT

Package Sidebar

Install

npm i ionic-resources

Weekly Downloads

15

Version

0.1.8

License

MIT

Unpacked Size

19.1 kB

Total Files

8

Last publish

Collaborators

  • helixhuang