2016-03-11 00:48:53 +00:00
|
|
|
{
|
|
|
|
"name": "presentationeditor",
|
2017-01-25 16:30:08 +00:00
|
|
|
"version": "4.3.0",
|
2020-07-30 20:58:14 +00:00
|
|
|
"build": 790,
|
2016-03-11 00:48:53 +00:00
|
|
|
"homepage": "http://www.onlyoffice.com",
|
2017-02-06 16:02:02 +00:00
|
|
|
"private": true,
|
2016-03-11 00:48:53 +00:00
|
|
|
"main": {
|
2021-05-24 12:39:26 +00:00
|
|
|
"clean": {
|
|
|
|
"prebuild": [
|
|
|
|
"../deploy/web-apps/apps/presentationeditor/main"
|
|
|
|
],
|
|
|
|
"postbuild": []
|
|
|
|
},
|
2016-03-11 00:48:53 +00:00
|
|
|
"js": {
|
|
|
|
"requirejs": {
|
|
|
|
"options": {
|
|
|
|
"name": "../apps/presentationeditor/main/app.js",
|
2016-03-29 15:54:12 +00:00
|
|
|
"out": "../deploy/web-apps/apps/presentationeditor/main/app.js",
|
2016-03-11 00:48:53 +00:00
|
|
|
"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:",
|
2022-10-25 08:44:45 +00:00
|
|
|
"socketio": "empty:",
|
2016-03-11 00:48:53 +00:00
|
|
|
"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",
|
2022-10-25 08:44:45 +00:00
|
|
|
"socketio"
|
2016-03-11 00:48:53 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"gateway": {
|
|
|
|
"deps": [
|
|
|
|
"jquery"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"analytics": {
|
|
|
|
"deps": [
|
|
|
|
"jquery"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"less": {
|
|
|
|
"files": {
|
|
|
|
"src": "../apps/presentationeditor/main/resources/less/app.less",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/css/app.css"
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
2016-11-10 11:57:07 +00:00
|
|
|
"vars": {
|
|
|
|
"app-image-const-path": "'../img'",
|
2022-06-15 19:47:01 +00:00
|
|
|
"common-image-const-path": "'../../../../common/main/resources/img'",
|
2016-11-10 11:57:07 +00:00
|
|
|
"app-image-path": "'../../../../../deploy/web-apps/apps/presentationeditor/main/resources/img'",
|
|
|
|
"common-image-path": "'../../../../../deploy/web-apps/apps/presentationeditor/main/resources/img'"
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
|
|
|
"imagemin": {
|
|
|
|
"images-app": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/presentationeditor/main/resources/img/",
|
|
|
|
"src": [
|
2019-11-28 08:46:48 +00:00
|
|
|
"**/*.{png,jpg,gif,ico}",
|
|
|
|
"!toolbar/*x/**/*"
|
2016-03-11 00:48:53 +00:00
|
|
|
],
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/img/"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"images-common": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/main/resources/img/",
|
|
|
|
"src": [
|
2019-11-28 08:46:48 +00:00
|
|
|
"**/*.{png,jpg,gif}",
|
|
|
|
"!toolbar/*x/**/*"
|
2016-03-11 00:48:53 +00:00
|
|
|
],
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/img/"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-04-09 12:02:13 +00:00
|
|
|
"jsonmin": {
|
|
|
|
"files": "../deploy/web-apps/apps/presentationeditor/main/**/*.json"
|
|
|
|
},
|
2016-03-11 00:48:53 +00:00
|
|
|
"copy": {
|
|
|
|
"localization": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/presentationeditor/main/locale/",
|
|
|
|
"src": "*",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/main/locale/"
|
2019-11-12 12:11:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/main/resources/symboltable",
|
|
|
|
"src": "*",
|
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/symboltable"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"help": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
2018-03-21 12:26:39 +00:00
|
|
|
"cwd": "../apps/presentationeditor/main/resources/help/",
|
2019-04-08 09:06:57 +00:00
|
|
|
"src": [
|
|
|
|
"**",
|
2022-06-07 16:41:41 +00:00
|
|
|
"!*_/**",
|
|
|
|
"!**/src/**"
|
2019-04-08 09:06:57 +00:00
|
|
|
],
|
2018-03-21 12:26:39 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/help/"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
],
|
2020-07-30 20:58:14 +00:00
|
|
|
"indexhtml": [
|
2016-03-11 00:48:53 +00:00
|
|
|
{
|
2020-07-30 20:58:14 +00:00
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/presentationeditor/main",
|
|
|
|
"src": [
|
|
|
|
"*.html.deploy",
|
|
|
|
"!*.reporter.html.deploy"
|
|
|
|
],
|
|
|
|
"ext": ".html",
|
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/main/"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
]
|
2017-07-17 11:57:12 +00:00
|
|
|
},
|
|
|
|
"svgicons": {
|
|
|
|
"common": [
|
2020-06-11 16:36:37 +00:00
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/presentationeditor/main/resources/img",
|
|
|
|
"src": "**/*.svg",
|
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/img"
|
2017-07-17 11:57:12 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"clean": [
|
2021-03-31 16:52:05 +00:00
|
|
|
"../deploy/web-apps/apps/presentationeditor/main/resources/img/**/*.svg",
|
|
|
|
"!../deploy/web-apps/apps/presentationeditor/main/resources/img/**/*_s.svg"
|
2017-07-17 11:57:12 +00:00
|
|
|
]
|
2017-08-11 13:00:10 +00:00
|
|
|
},
|
|
|
|
"reporter": {
|
|
|
|
"uglify": {
|
|
|
|
"src": "../apps/presentationeditor/main/app.reporter.js",
|
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/main/app.reporter.js"
|
|
|
|
},
|
|
|
|
"copy": {
|
|
|
|
"../deploy/web-apps/apps/presentationeditor/main/index.reporter.html": "../apps/presentationeditor/main/index.reporter.html.deploy"
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"mobile": {
|
2017-01-25 08:23:14 +00:00
|
|
|
"clean": {
|
|
|
|
"deploy": [
|
|
|
|
"../deploy/web-apps/apps/presentationeditor/mobile"
|
2016-03-11 00:48:53 +00:00
|
|
|
],
|
2017-01-25 08:23:14 +00:00
|
|
|
"template-backup": [
|
|
|
|
"../apps/presentationeditor/mobile/app/template/backup"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"js": {
|
2021-07-20 16:45:24 +00:00
|
|
|
"src": "../apps/presentationeditor/mobile/dist/js/app.js",
|
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/mobile/dist/js/app.js"
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
|
|
|
"css": {
|
2017-01-25 08:23:14 +00:00
|
|
|
"ios": {
|
2016-03-11 00:48:53 +00:00
|
|
|
"src": [
|
2017-01-25 08:23:14 +00:00
|
|
|
"../apps/presentationeditor/mobile/resources/css/app-ios.css"
|
2016-03-11 00:48:53 +00:00
|
|
|
],
|
2017-01-25 08:23:14 +00:00
|
|
|
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/app-ios.css"
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
2017-01-25 08:23:14 +00:00
|
|
|
"material": {
|
2016-03-11 00:48:53 +00:00
|
|
|
"src": [
|
2017-01-25 08:23:14 +00:00
|
|
|
"../apps/presentationeditor/mobile/resources/css/app-material.css"
|
2016-03-11 00:48:53 +00:00
|
|
|
],
|
2017-01-25 08:23:14 +00:00
|
|
|
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/app-material.css"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
},
|
2017-01-25 08:23:14 +00:00
|
|
|
"htmlmin": {
|
|
|
|
"templates": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/presentationeditor/mobile/app/template/",
|
|
|
|
"src": "*.template",
|
|
|
|
"dest": "../apps/presentationeditor/mobile/app/template/"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-04-09 12:02:13 +00:00
|
|
|
"jsonmin": {
|
|
|
|
"files": "../deploy/web-apps/apps/presentationeditor/mobile/**/*.json"
|
|
|
|
},
|
2016-03-11 00:48:53 +00:00
|
|
|
"copy": {
|
2021-04-16 12:47:06 +00:00
|
|
|
"assets": [
|
|
|
|
{
|
2022-06-16 20:11:42 +00:00
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/presentationeditor/mobile/css",
|
|
|
|
"src": "*.css",
|
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/mobile/css"
|
2021-04-16 12:47:06 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/presentationeditor/mobile/dist",
|
|
|
|
"src": "**",
|
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/mobile/dist"
|
|
|
|
}
|
|
|
|
],
|
2017-01-25 08:23:14 +00:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
],
|
2016-03-11 00:48:53 +00:00
|
|
|
"index-page": {
|
2021-06-17 16:19:07 +00:00
|
|
|
"../deploy/web-apps/apps/presentationeditor/mobile/index.html": "../apps/presentationeditor/mobile/index.html",
|
|
|
|
"../deploy/web-apps/apps/presentationeditor/mobile/index_loader.html": "../apps/presentationeditor/mobile/index.html"
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
|
|
|
"localization": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/presentationeditor/mobile/locale/",
|
|
|
|
"src": "*",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/mobile/locale/"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"images-app": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/presentationeditor/mobile/resources/img/",
|
2021-05-20 12:50:02 +00:00
|
|
|
"src": "**/*.{png,svg}",
|
2018-03-28 12:40:38 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/mobile/resources/img/"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"images-common": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/mobile/resources/img/",
|
|
|
|
"src": "**",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/mobile/resources/img/"
|
2021-10-22 20:03:03 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/main/resources/img/about",
|
|
|
|
"src": "**",
|
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/mobile/resources/img/about"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"embed": {
|
2016-11-08 12:22:15 +00:00
|
|
|
"clean": {
|
|
|
|
"prebuild": [
|
|
|
|
"../deploy/web-apps/apps/presentationeditor/embed"
|
|
|
|
],
|
|
|
|
"postbuild": [
|
|
|
|
"../deploy/web-apps/apps/presentationeditor/embed/resources/img"
|
|
|
|
]
|
|
|
|
},
|
2016-03-11 00:48:53 +00:00
|
|
|
"js": {
|
|
|
|
"src": [
|
2019-05-14 12:18:18 +00:00
|
|
|
"../apps/common/locale.js",
|
2016-03-11 00:48:53 +00:00
|
|
|
"../apps/common/Gateway.js",
|
|
|
|
"../apps/common/Analytics.js",
|
2021-05-25 13:40:40 +00:00
|
|
|
"../apps/common/embed/lib/util/LocalStorage.js",
|
2016-11-08 12:22:15 +00:00
|
|
|
"../apps/common/embed/lib/util/utils.js",
|
2021-06-24 21:48:20 +00:00
|
|
|
"../apps/common/embed/lib/view/LoadMask.js",
|
2016-11-08 12:22:15 +00:00
|
|
|
"../apps/common/embed/lib/view/modals.js",
|
|
|
|
"../apps/common/embed/lib/controller/modals.js",
|
2022-05-03 20:45:37 +00:00
|
|
|
"../apps/common/embed/lib/view/SearchBar.js",
|
|
|
|
"../apps/presentationeditor/embed/js/SearchBar.js",
|
2016-03-11 00:48:53 +00:00
|
|
|
"../apps/presentationeditor/embed/js/ApplicationView.js",
|
|
|
|
"../apps/presentationeditor/embed/js/ApplicationController.js",
|
|
|
|
"../apps/presentationeditor/embed/js/application.js"
|
|
|
|
],
|
2016-03-29 15:54:12 +00:00
|
|
|
"dist": "../deploy/web-apps/apps/presentationeditor/embed/app-all.js"
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
|
|
|
"less": {
|
|
|
|
"files": {
|
|
|
|
"src": "../apps/presentationeditor/embed/resources/less/application.less",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dist": "../deploy/web-apps/apps/presentationeditor/embed/resources/css/app-all.css"
|
2016-11-10 13:03:40 +00:00
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
|
|
|
"copy": {
|
2019-05-14 12:18:18 +00:00
|
|
|
"localization": [
|
|
|
|
{
|
2019-09-12 14:11:32 +00:00
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/presentationeditor/embed/locale/",
|
|
|
|
"src": "*",
|
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/embed/locale/"
|
2019-05-14 12:18:18 +00:00
|
|
|
}
|
|
|
|
],
|
2016-03-11 00:48:53 +00:00
|
|
|
"index-page": {
|
2020-05-06 16:36:01 +00:00
|
|
|
"../deploy/web-apps/apps/presentationeditor/embed/index.html": "../apps/presentationeditor/embed/index.html.deploy",
|
|
|
|
"../deploy/web-apps/apps/presentationeditor/embed/index_loader.html": "../apps/presentationeditor/embed/index_loader.html.deploy"
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
|
|
|
"images-app": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/embed/resources/img/",
|
|
|
|
"src": "**",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/presentationeditor/embed/resources/img/"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tasks": {
|
|
|
|
"deploy": [
|
|
|
|
"increment-build",
|
|
|
|
"deploy-app-main",
|
2017-08-11 13:00:10 +00:00
|
|
|
"deploy-reporter",
|
2016-03-11 00:48:53 +00:00
|
|
|
"deploy-app-mobile",
|
|
|
|
"deploy-app-embed"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|