[PE mobile] Fixed build config.
This commit is contained in:
parent
beec096e9d
commit
627517cb5f
|
@ -216,46 +216,153 @@
|
|||
}
|
||||
},
|
||||
"mobile": {
|
||||
"clean": [
|
||||
"clean": {
|
||||
"deploy": [
|
||||
"../deploy/web-apps/apps/presentationeditor/mobile"
|
||||
],
|
||||
"template-backup": [
|
||||
"../apps/presentationeditor/mobile/app/template/backup"
|
||||
]
|
||||
},
|
||||
"js": {
|
||||
"src": [
|
||||
"../apps/common/Gateway.js",
|
||||
"../apps/common/Analytics.js",
|
||||
"../apps/common/mobile/loader.js",
|
||||
"../apps/presentationeditor/mobile/app/view/Main.js",
|
||||
"../apps/presentationeditor/mobile/app/view/phone/toolbar/View.js",
|
||||
"../apps/presentationeditor/mobile/app/view/phone/Main.js",
|
||||
"../apps/presentationeditor/mobile/app/view/tablet/toolbar/View.js",
|
||||
"../apps/presentationeditor/mobile/app/view/tablet/Main.js",
|
||||
"../apps/presentationeditor/mobile/app/controller/Presentation.js",
|
||||
"../apps/presentationeditor/mobile/app/controller/Main.js",
|
||||
"../apps/presentationeditor/mobile/app/controller/phone/Main.js",
|
||||
"../apps/presentationeditor/mobile/app/controller/tablet/Main.js",
|
||||
"../apps/presentationeditor/mobile/app/controller/toolbar/View.js",
|
||||
"../apps/presentationeditor/mobile/app/profile/Phone.js",
|
||||
"../apps/presentationeditor/mobile/app/profile/Tablet.js",
|
||||
"../apps/common/locale.js",
|
||||
"../apps/presentationeditor/mobile/app.js"
|
||||
],
|
||||
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/app-all.js"
|
||||
"requirejs": {
|
||||
"options": {
|
||||
"name": "../apps/presentationeditor/mobile/app.js",
|
||||
"out": "../deploy/web-apps/apps/presentationeditor/mobile/app.js",
|
||||
"baseUrl": "../apps/",
|
||||
"inlineText": true,
|
||||
"findNestedDependencies": true,
|
||||
"preserveLicenseComments": false,
|
||||
"optimizeAllPluginResources": true,
|
||||
"paths": {
|
||||
"jquery": "../vendor/jquery/jquery",
|
||||
"underscore": "../vendor/underscore/underscore",
|
||||
"backbone": "../vendor/backbone/backbone",
|
||||
"framework7": "../vendor/framework7/js/framework7",
|
||||
"text": "../vendor/requirejs-text/text",
|
||||
"xregexp": "empty:",
|
||||
"sockjs": "empty:",
|
||||
"jszip": "empty:",
|
||||
"jszip-utils": "empty:",
|
||||
"jsrsasign": "empty:",
|
||||
"coapisettings": "empty:",
|
||||
"allfonts": "empty:",
|
||||
"sdk": "empty:",
|
||||
"api": "empty:",
|
||||
"core": "common/main/lib/core/application",
|
||||
"extendes": "common/mobile/utils/extendes",
|
||||
"notification": "common/main/lib/core/NotificationCenter",
|
||||
"localstorage": "common/main/lib/util/LocalStorage",
|
||||
"analytics": "common/Analytics",
|
||||
"gateway": "common/Gateway",
|
||||
"locale": "common/locale",
|
||||
"irregularstack": "common/IrregularStack",
|
||||
"sharedsettings": "common/mobile/utils/SharedSettings"
|
||||
},
|
||||
"css": {
|
||||
"normal": {
|
||||
"src": [
|
||||
"../apps/presentationeditor/mobile/resources/css/application-normal.css"
|
||||
],
|
||||
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/application-normal.css"
|
||||
"shim": {
|
||||
"framework7": {
|
||||
"exports": "Framework7"
|
||||
},
|
||||
"retina": {
|
||||
"src": [
|
||||
"../apps/presentationeditor/mobile/resources/css/application-retina.css"
|
||||
"underscore": {
|
||||
"exports": "_"
|
||||
},
|
||||
"backbone": {
|
||||
"deps": [
|
||||
"underscore",
|
||||
"jquery"
|
||||
],
|
||||
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/application-retina.css"
|
||||
"exports": "Backbone"
|
||||
},
|
||||
"notification": {
|
||||
"deps": [
|
||||
"backbone"
|
||||
]
|
||||
},
|
||||
"core": {
|
||||
"deps": [
|
||||
"backbone",
|
||||
"notification",
|
||||
"irregularstack",
|
||||
"sharedsettings"
|
||||
]
|
||||
},
|
||||
"extendes": {
|
||||
"deps": [
|
||||
"underscore",
|
||||
"jquery",
|
||||
"framework7"
|
||||
]
|
||||
},
|
||||
"sdk": {
|
||||
"deps": [
|
||||
"jquery",
|
||||
"underscore",
|
||||
"coapisettings",
|
||||
"allfonts",
|
||||
"xregexp",
|
||||
"sockjs",
|
||||
"jszip",
|
||||
"jszip-utils",
|
||||
"jsrsasign"
|
||||
]
|
||||
},
|
||||
"gateway": {
|
||||
"deps": [
|
||||
"jquery"
|
||||
]
|
||||
},
|
||||
"analytics": {
|
||||
"deps": [
|
||||
"jquery"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"css": {
|
||||
"ios": {
|
||||
"src": [
|
||||
"../apps/presentationeditor/mobile/resources/css/app-ios.css"
|
||||
],
|
||||
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/app-ios.css"
|
||||
},
|
||||
"material": {
|
||||
"src": [
|
||||
"../apps/presentationeditor/mobile/resources/css/app-material.css"
|
||||
],
|
||||
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/app-material.css"
|
||||
}
|
||||
},
|
||||
"htmlmin": {
|
||||
"templates": [
|
||||
{
|
||||
"expand": true,
|
||||
"cwd": "../apps/presentationeditor/mobile/app/template/",
|
||||
"src": "*.template",
|
||||
"dest": "../apps/presentationeditor/mobile/app/template/"
|
||||
}
|
||||
]
|
||||
},
|
||||
"copy": {
|
||||
"template-backup": [
|
||||
{
|
||||
"expand": true,
|
||||
"cwd": "../apps/presentationeditor/mobile/app/template/",
|
||||
"src": "*.template",
|
||||
"dest": "../apps/presentationeditor/mobile/app/template/backup/",
|
||||
"filter": "isFile"
|
||||
}
|
||||
],
|
||||
"template-restore": [
|
||||
{
|
||||
"expand": true,
|
||||
"cwd": "../apps/presentationeditor/mobile/app/template/backup/",
|
||||
"src": "*.template",
|
||||
"dest": "../apps/presentationeditor/mobile/app/template/",
|
||||
"filter": "isFile"
|
||||
}
|
||||
],
|
||||
"index-page": {
|
||||
"../deploy/web-apps/apps/presentationeditor/mobile/index.html": "../apps/presentationeditor/mobile/index.html.deploy"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue