config.json 1.8 KB
Newer Older
L
linxiangzhi 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
{
    "app": {
        "iconId": 33554436,
        "apiVersion": {
            "compatible": 4,
            "releaseType": "Release",
            "target": 5
        },
        "labelId": 33554432,
        "vendor": "example",
        "icon": "$media:icon",
        "bundleName": "com.example.l3jsdemo",
        "label": "$string:app_name",
        "version": {
            "code": 1000000,
            "name": "1.0.0"
        }
    },
    "deviceConfig": {
        "default": {
            "debug": true
        }
    },
    "module": {
        "abilities": [
            {
                "iconId": 33554435,
                "descriptionId": 33554434,
                "visible": true,
                "labelId": 33554433,
                "icon": "$media:icon",
                "name": "com.example.l2jsdemo.MainAbility",
                "description": "$string:mainability_description",
                "label": "$string:app_name",
                "type": "page",
                "homeAbility": false,
                "launchType": "standard"
            }
        ],
        "deviceType": [
            "tablet"
        ],
        "mainAbility": "com.example.l2jsdemo.MainAbility",
        "distro": {
            "moduleType": "feature",
            "installationFree": true,
            "deliveryWithInstall": true,
            "moduleName": "l2jsdemo"
        },
        "package": "com.example.l2jsdemo",
        "name": ".MyApplication",
        "js": [
            {
                "pages": [
                    "pages/index/index"
                ],
                "name": "default",
                "window": {
                    "designWidth": 720,
                    "autoDesignWidth": true
                }
            }
        ]
    }
}