UNPKG

auto-icon

Version:

Automatic icon resizing for Reactnative

25 lines (15 loc) 562 B
#rauto-icon Automatic icon resizing for ReactNative. Create an icon in the root folder of your ReactNative project and use ReactNative-icon to automatically resize and copy it for all the platforms your project supports (currenty works with iOS). ### Installation ```bash $ brew install imagemagick $ sudo npm install auto-icon -g ``` ### Usage Create an `icon.png` file in the root folder of your ReactNative project. Then run: ```bash $ autoicon # if your projectname not package.json name you can add params $ autoicon --name 'your project name' ```