web-apps/build/presentationeditor.json
2016-11-10 14:57:07 +03:00

510 lines
18 KiB
JSON

{
"name": "presentationeditor",
"version": "4.7.0",
"build": 774,
"homepage": "http://www.onlyoffice.com",
"sdk": {
"clean": [
"../deploy/sdkjs/common",
"../deploy/sdkjs/slide"
],
"copy": {
"script": {
"files": [
{
"expand": true,
"cwd": "../../sdkjs/common/",
"src": [
"Images/*.cur",
"Native/*.js"
],
"dest": "../deploy/sdkjs/common/"
},
{
"expand": true,
"cwd": "../../sdkjs/slide/themes/",
"src": "**/**",
"dest": "../deploy/sdkjs/slide/themes/"
},
{
"expand": true,
"src": "../../sdkjs/slide/sdk-*.js",
"dest": "../deploy/sdkjs/slide/"
}
]
}
}
},
"api": {
"clean": [
"../deploy/web-apps/apps/api"
],
"copy": {
"script": {
"expand": true,
"cwd": "../apps/api/",
"src": [
"**",
"!**/*.desktop"
],
"dest": "../deploy/web-apps/apps/api/"
}
}
},
"main": {
"clean": [
"../deploy/web-apps/apps/presentationeditor/main"
],
"js": {
"requirejs": {
"options": {
"name": "../apps/presentationeditor/main/app.js",
"out": "../deploy/web-apps/apps/presentationeditor/main/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",
"text": "../vendor/requirejs-text/text",
"bootstrap": "../vendor/bootstrap/dist/js/bootstrap",
"perfectscrollbar": "common/main/lib/mods/perfect-scrollbar",
"jmousewheel": "../vendor/perfect-scrollbar/src/jquery.mousewheel",
"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",
"notification": "common/main/lib/core/NotificationCenter",
"keymaster": "common/main/lib/core/keymaster",
"tip": "common/main/lib/util/Tip",
"analytics": "common/Analytics",
"gateway": "common/Gateway",
"locale": "common/locale",
"irregularstack": "common/IrregularStack"
},
"shim": {
"underscore": {
"exports": "_"
},
"backbone": {
"deps": [
"underscore",
"jquery"
],
"exports": "Backbone"
},
"bootstrap": {
"deps": [
"jquery"
]
},
"perfectscrollbar": {
"deps": [
"jmousewheel"
]
},
"notification": {
"deps": [
"backbone"
]
},
"core": {
"deps": [
"backbone",
"notification"
]
},
"sdk": {
"deps": [
"jquery",
"underscore",
"coapisettings",
"allfonts",
"xregexp",
"sockjs",
"jszip",
"jszip-utils",
"jsrsasign"
]
},
"gateway": {
"deps": [
"jquery"
]
},
"analytics": {
"deps": [
"jquery"
]
}
}
}
}
},
"less": {
"files": {
"src": "../apps/presentationeditor/main/resources/less/app.less",
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/css/app.css"
},
"vars": {
"app-image-const-path": "'../img'",
"common-image-const-path": "'../img'",
"app-image-path": "'../../../../../deploy/web-apps/apps/presentationeditor/main/resources/img'",
"common-image-path": "'../../../../../deploy/web-apps/apps/presentationeditor/main/resources/img'"
}
},
"imagemin": {
"images-app": [
{
"expand": true,
"cwd": "../apps/presentationeditor/main/resources/img/",
"src": [
"**/*.{png,jpg,gif}"
],
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/img/"
}
],
"images-common": [
{
"expand": true,
"cwd": "../apps/common/main/resources/img/",
"src": [
"**/*.{png,jpg,gif}"
],
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/img/"
}
]
},
"copy": {
"localization": [
{
"expand": true,
"cwd": "../apps/presentationeditor/main/locale/",
"src": "*",
"dest": "../deploy/web-apps/apps/presentationeditor/main/locale/"
}
],
"help": [
{
"expand": true,
"cwd": "../apps/presentationeditor/main/resources/help/en/",
"src": "**",
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/help/en/"
},
{
"expand": true,
"cwd": "../apps/presentationeditor/main/resources/help/ru/",
"src": "**",
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/help/ru/"
}
],
"index-page": [
{
"src": "../apps/presentationeditor/main/index.html.deploy",
"dest": "../deploy/web-apps/apps/presentationeditor/main/index.html"
}
]
}
},
"mobile": {
"clean": [
"../deploy/web-apps/apps/presentationeditor/mobile"
],
"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"
},
"css": {
"normal": {
"src": [
"../apps/presentationeditor/mobile/resources/css/application-normal.css"
],
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/application-normal.css"
},
"retina": {
"src": [
"../apps/presentationeditor/mobile/resources/css/application-retina.css"
],
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/application-retina.css"
}
},
"copy": {
"index-page": {
"../deploy/web-apps/apps/presentationeditor/mobile/index.html": "../apps/presentationeditor/mobile/index.html.deploy"
},
"localization": [
{
"expand": true,
"cwd": "../apps/presentationeditor/mobile/locale/",
"src": "*",
"dest": "../deploy/web-apps/apps/presentationeditor/mobile/locale/"
}
],
"images-app": [
{
"expand": true,
"cwd": "../apps/presentationeditor/mobile/resources/img/",
"src": "**",
"dest": "../deploy/web-apps/apps/presentationeditor/mobile/resources/img/"
}
]
}
},
"embed": {
"clean": {
"prebuild": [
"../deploy/web-apps/apps/presentationeditor/embed"
],
"postbuild": [
"../deploy/web-apps/apps/presentationeditor/embed/resources/img"
]
},
"js": {
"src": [
"../apps/common/Gateway.js",
"../apps/common/Analytics.js",
"../apps/common/embed/lib/util/utils.js",
"../apps/common/embed/lib/view/modals.js",
"../apps/common/embed/lib/controller/modals.js",
"../apps/presentationeditor/embed/js/ApplicationView.js",
"../apps/presentationeditor/embed/js/ApplicationController.js",
"../apps/presentationeditor/embed/js/application.js"
],
"dist": "../deploy/web-apps/apps/presentationeditor/embed/app-all.js"
},
"less": {
"files": {
"src": "../apps/presentationeditor/embed/resources/less/application.less",
"dist": "../deploy/web-apps/apps/presentationeditor/embed/resources/css/app-all.css"
},
"replacements": [
{
"from": "../../../../common/embed/resources/img/",
"to": "../img/"
}
]
},
"copy": {
"index-page": {
"../deploy/web-apps/apps/presentationeditor/embed/index.html": "../apps/presentationeditor/embed/index.html.deploy"
},
"images-app": [
{
"expand": true,
"cwd": "../apps/common/embed/resources/img/",
"src": "**",
"dest": "../deploy/web-apps/apps/presentationeditor/embed/resources/img/"
}
]
}
},
"touch": {
"clean": [
"../deploy/web-apps/vendor/touch"
],
"copy": {
"script": {
"src": "../vendor/touch/sencha-touch-all.js",
"dest": "../deploy/web-apps/vendor/touch/sencha-touch-all.js"
}
}
},
"bootstrap": {
"clean": [
"../deploy/web-apps/vendor/bootstrap"
],
"copy": {
"script": {
"src": "../vendor/bootstrap/dist/js/bootstrap.min.js",
"dest": "../deploy/web-apps/vendor/bootstrap/dist/js/bootstrap.min.js"
},
"font": {
"expand": true,
"cwd": "../vendor/bootstrap/dist/fonts/",
"src": "*",
"dest": "../deploy/web-apps/vendor/bootstrap/dist/fonts/"
},
"css": {
"src": "../vendor/bootstrap/dist/css/bootstrap.min.css",
"dest": "../deploy/web-apps/vendor/bootstrap/dist/css/bootstrap.min.css"
}
}
},
"jquery": {
"clean": [
"../deploy/web-apps/vendor/jquery"
],
"copy": {
"script": {
"files": [
{
"src": "../vendor/jquery/jquery.min.js",
"dest": "../deploy/web-apps/vendor/jquery/jquery.min.js"
},
{
"src": "../vendor/jquery.browser/dist/jquery.browser.min.js",
"dest": "../deploy/web-apps/vendor/jquery/jquery.browser.min.js"
}
]
}
}
},
"megapixel": {
"clean": [
"../deploy/web-apps/vendor/megapixel"
],
"copy": {
"script": {
"src": "../vendor/megapixel/megapix-image-min.js",
"dest": "../deploy/web-apps/vendor/megapixel/megapix-image-min.js"
}
}
},
"sockjs": {
"clean": [
"../deploy/web-apps/vendor/sockjs"
],
"copy": {
"script": {
"src": "../vendor/sockjs/sockjs.min.js",
"dest": "../deploy/web-apps/vendor/sockjs/sockjs.min.js"
}
}
},
"xregexp": {
"clean": [
"../deploy/web-apps/vendor/xregexp"
],
"copy": {
"script": {
"src": "../vendor/xregexp/xregexp-all-min.js",
"dest": "../deploy/web-apps/vendor/xregexp/xregexp-all-min.js"
}
}
},
"jszip": {
"clean": [
"../deploy/web-apps/vendor/jszip"
],
"copy": {
"script": {
"src": "../vendor/jszip/jszip.min.js",
"dest": "../deploy/web-apps/vendor/jszip/jszip.min.js"
}
}
},
"jsziputils": {
"clean": [
"../deploy/web-apps/vendor/jszip-utils"
],
"copy": {
"script": {
"src": "../vendor/jszip-utils/jszip-utils.min.js",
"dest": "../deploy/web-apps/vendor/jszip-utils/jszip-utils.min.js"
}
}
},
"jsrsasign": {
"clean": [
"../deploy/web-apps/vendor/jsrsasign"
],
"copy": {
"script": {
"src": "../vendor/jsrsasign/jsrsasign-latest-all-min.js",
"dest": "../deploy/web-apps/vendor/jsrsasign/jsrsasign-latest-all-min.js"
}
}
},
"underscore": {
"clean": [
"../deploy/web-apps/vendor/underscore"
],
"copy": {
"script": {
"src": "../vendor/underscore/underscore-min.js",
"dest": "../deploy/web-apps/vendor/underscore/underscore-min.js"
}
}
},
"requirejs": {
"clean": [
"../deploy/web-apps/vendor/requirejs"
],
"min": {
"src": "../vendor/requirejs/require.js",
"dest": "../deploy/web-apps/vendor/requirejs/require.js"
}
},
"obf_api": {
"ccvars": "../../sdkjs/slide/variable.map",
"ccprops": "../../sdkjs/slide/property.map",
"api": "../../sdkjs/slide/apiExport.js",
"clientjs": [
"../deploy/web-apps/apps/presentationeditor/main/app-edit.js",
"../deploy/web-apps/apps/presentationeditor/main/app-view.js",
"../deploy/web-apps/apps/presentationeditor/mobile/app-all.js",
"../deploy/web-apps/apps/presentationeditor/embed/app-all.js"
],
"ccres": "../deploy/sdkjs/slide/sdk-all.js"
},
"obf": {
"api": "../deploy/sdkjs/slide/sdk-all.js",
"pat": "asc_\\w+",
"keys": "-exp se -use-for-name",
"apply": [
"../deploy/sdkjs/slide/sdk-all.js",
"../deploy/web-apps/apps/presentationeditor/main/app-edit.js",
"../deploy/web-apps/apps/presentationeditor/main/app-view.js",
"../deploy/web-apps/apps/presentationeditor/mobile/app-all.js",
"../deploy/web-apps/apps/presentationeditor/embed/app-all.js"
]
},
"tasks": {
"deploy": [
"increment-build",
"deploy-api",
"deploy-sdk",
"deploy-sockjs",
"deploy-xregexp",
"deploy-requirejs",
"deploy-megapixel",
"deploy-touch",
"deploy-jquery",
"deploy-underscore",
"deploy-bootstrap",
"deploy-jszip",
"deploy-jsziputils",
"deploy-jsrsasign",
"deploy-app-main",
"deploy-app-mobile",
"deploy-app-embed"
]
}
}