capacitor-resources
Version:
Generates icon & splash screen for capacitor projects using javascript only.
122 lines (121 loc) • 2.11 kB
JavaScript
module.exports = {
platform: 'ios',
type: 'icon',
path: 'ios/icon',
definitions: [
{
size: 20,
idiom: 'iphone',
name: 'AppIcon-20x20@1x.png',
scale: '2x'
},
{
size: 40,
idiom: 'iphone',
name: 'AppIcon-20x20@2x.png',
scale: '2x'
},
{
size: 60,
idiom: 'iphone',
name: 'AppIcon-20x20@3x.png',
scale: '3x'
},
{
size: 58,
idiom: 'iphone',
name: 'AppIcon-29x29@2x-1.png',
scale: '2x'
},
{
size: 87,
idiom: 'iphone',
name: 'AppIcon-29x29@3x.png',
scale: '3x'
},
{
size: 80,
idiom: 'iphone',
name: 'AppIcon-40x40@2x.png',
scale: '2x'
},
{
size: 120,
idiom: 'iphone',
name: 'AppIcon-40x40@3x.png',
scale: '3x'
},
{
size: 120,
idiom: 'iphone',
name: 'AppIcon-60x60@2x.png',
scale: '2x'
},
{
size: 180,
idiom: 'iphone',
name: 'AppIcon-60x60@3x.png',
scale: '3x'
},
{
size: 20,
idiom: 'ipad',
name: 'AppIcon-20x20@1x.png',
scale: '1x'
},
{
size: 40,
idiom: 'ipad',
name: 'AppIcon-20x20@2x-1.png',
scale: '2x'
},
{
size: 29,
idiom: 'ipad',
name: 'AppIcon-29x29@1x.png',
scale: '1x'
},
{
size: 58,
idiom: 'ipad',
name: 'AppIcon-29x29@2x.png',
scale: '2x'
},
{
size: 40,
idiom: 'ipad',
name: 'AppIcon-40x40@1x.png',
scale: '1x'
},
{
size: 80,
idiom: 'ipad',
name: 'AppIcon-40x40@2x-1.png',
scale: '2x'
},
{
size: 76,
idiom: 'ipad',
name: 'AppIcon-76x76@1x.png',
scale: '1x'
},
{
size: 152,
idiom: 'ipad',
name: 'AppIcon-76x76@2x.png',
scale: '2x'
},
{
size: 167,
idiom: 'ipad',
name: 'AppIcon-83.5x83.5@2x.png',
scale: '2x'
},
{
size: 1024,
idiom: 'ios-marketing',
name: 'AppIcon-512@2x.png',
scale: '1x'
}
]
}