2016-03-11 00:48:53 +00:00
|
|
|
{
|
|
|
|
"name": "documenteditor",
|
2017-01-25 16:30:08 +00:00
|
|
|
"version": "4.3.0",
|
2019-10-30 08:29:17 +00:00
|
|
|
"build": 1148,
|
2016-03-11 00:48:53 +00:00
|
|
|
"homepage": "http://www.onlyoffice.com",
|
|
|
|
"private": true,
|
|
|
|
"main": {
|
|
|
|
"clean": [
|
2016-03-29 15:54:12 +00:00
|
|
|
"../deploy/web-apps/apps/documenteditor/main"
|
2016-03-11 00:48:53 +00:00
|
|
|
],
|
|
|
|
"js": {
|
|
|
|
"requirejs": {
|
|
|
|
"options": {
|
|
|
|
"name": "../apps/documenteditor/main/app.js",
|
2016-03-29 15:54:12 +00:00
|
|
|
"out": "../deploy/web-apps/apps/documenteditor/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:",
|
|
|
|
"sockjs": "empty:",
|
|
|
|
"jszip": "empty:",
|
|
|
|
"jszip-utils": "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",
|
2017-04-21 07:47:19 +00:00
|
|
|
"jszip-utils"
|
2016-03-11 00:48:53 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"gateway": {
|
|
|
|
"deps": [
|
|
|
|
"jquery"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"analytics": {
|
|
|
|
"deps": [
|
|
|
|
"jquery"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"less": {
|
|
|
|
"files": {
|
|
|
|
"src": "../apps/documenteditor/main/resources/less/app.less",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/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'",
|
|
|
|
"common-image-const-path": "'../img'",
|
|
|
|
"app-image-path": "'../../../../../deploy/web-apps/apps/documenteditor/main/resources/img'",
|
|
|
|
"common-image-path": "'../../../../../deploy/web-apps/apps/documenteditor/main/resources/img'"
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
|
|
|
"imagemin": {
|
|
|
|
"images-app": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/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/documenteditor/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/documenteditor/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/documenteditor/main/**/*.json"
|
2019-04-08 09:06:57 +00:00
|
|
|
},
|
2016-03-11 00:48:53 +00:00
|
|
|
"copy": {
|
|
|
|
"localization": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/main/locale/",
|
|
|
|
"src": "*",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/main/locale/"
|
2019-08-09 06:55:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/main/resources/watermark",
|
|
|
|
"src": "*",
|
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/watermark"
|
2019-11-12 12:11:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/main/resources/symboltable",
|
|
|
|
"src": "*",
|
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/symboltable"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"help": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
2018-03-21 12:26:39 +00:00
|
|
|
"cwd": "../apps/documenteditor/main/resources/help/",
|
2019-04-08 09:06:57 +00:00
|
|
|
"src": [
|
|
|
|
"**",
|
|
|
|
"!*_/**"
|
|
|
|
],
|
2018-03-21 12:26:39 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/help/"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"index-page": [
|
|
|
|
{
|
|
|
|
"src": "../apps/documenteditor/main/index.html.deploy",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/main/index.html"
|
2019-09-12 14:11:32 +00:00
|
|
|
},
|
|
|
|
{
|
2019-09-13 08:39:50 +00:00
|
|
|
"src": "../apps/documenteditor/main/index_loader.html.deploy",
|
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/main/index_loader.html"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
]
|
2017-07-17 11:57:12 +00:00
|
|
|
},
|
|
|
|
"svgicons": {
|
|
|
|
"common": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/main/resources/img",
|
|
|
|
"src": "**/*.svg",
|
2018-01-25 13:48:40 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/img"
|
2020-06-11 16:36:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/main/resources/img",
|
|
|
|
"src": "**/*.svg",
|
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/img"
|
2017-07-17 11:57:12 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"clean": [
|
2018-01-25 14:31:52 +00:00
|
|
|
"../deploy/web-apps/apps/documenteditor/main/resources/img/**/*.svg"
|
2017-07-17 11:57:12 +00:00
|
|
|
]
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"mobile": {
|
2016-11-11 13:24:21 +00:00
|
|
|
"clean": {
|
|
|
|
"deploy": [
|
|
|
|
"../deploy/web-apps/apps/documenteditor/mobile"
|
2016-03-11 00:48:53 +00:00
|
|
|
],
|
2016-11-11 13:24:21 +00:00
|
|
|
"template-backup": [
|
|
|
|
"../apps/documenteditor/mobile/app/template/backup"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"js": {
|
|
|
|
"requirejs": {
|
|
|
|
"options": {
|
|
|
|
"name": "../apps/documenteditor/mobile/app.js",
|
|
|
|
"out": "../deploy/web-apps/apps/documenteditor/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:",
|
|
|
|
"coapisettings": "empty:",
|
|
|
|
"allfonts": "empty:",
|
|
|
|
"sdk": "empty:",
|
|
|
|
"api": "empty:",
|
|
|
|
"core": "common/main/lib/core/application",
|
2016-11-21 11:37:14 +00:00
|
|
|
"extendes": "common/mobile/utils/extendes",
|
2016-11-11 13:24:21 +00:00
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"shim": {
|
|
|
|
"framework7": {
|
|
|
|
"exports": "Framework7"
|
|
|
|
},
|
|
|
|
"underscore": {
|
|
|
|
"exports": "_"
|
|
|
|
},
|
|
|
|
"backbone": {
|
|
|
|
"deps": [
|
|
|
|
"underscore",
|
|
|
|
"jquery"
|
|
|
|
],
|
|
|
|
"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",
|
2017-04-21 07:47:19 +00:00
|
|
|
"jszip-utils"
|
2016-11-11 13:24:21 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"gateway": {
|
|
|
|
"deps": [
|
|
|
|
"jquery"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"analytics": {
|
|
|
|
"deps": [
|
|
|
|
"jquery"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
|
|
|
"css": {
|
2016-11-11 13:24:21 +00:00
|
|
|
"ios": {
|
2016-03-11 00:48:53 +00:00
|
|
|
"src": [
|
2016-11-11 13:24:21 +00:00
|
|
|
"../apps/documenteditor/mobile/resources/css/app-ios.css"
|
2016-03-11 00:48:53 +00:00
|
|
|
],
|
2016-11-11 13:24:21 +00:00
|
|
|
"dist": "../deploy/web-apps/apps/documenteditor/mobile/resources/css/app-ios.css"
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
2016-11-11 13:24:21 +00:00
|
|
|
"material": {
|
2016-03-11 00:48:53 +00:00
|
|
|
"src": [
|
2016-11-11 13:24:21 +00:00
|
|
|
"../apps/documenteditor/mobile/resources/css/app-material.css"
|
2016-03-11 00:48:53 +00:00
|
|
|
],
|
2016-11-11 13:24:21 +00:00
|
|
|
"dist": "../deploy/web-apps/apps/documenteditor/mobile/resources/css/app-material.css"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
},
|
2016-11-11 13:24:21 +00:00
|
|
|
"htmlmin": {
|
|
|
|
"templates": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/mobile/app/template/",
|
|
|
|
"src": "*.template",
|
|
|
|
"dest": "../apps/documenteditor/mobile/app/template/"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-04-09 12:02:13 +00:00
|
|
|
"jsonmin": {
|
|
|
|
"files": "../deploy/web-apps/apps/documenteditor/mobile/**/*.json"
|
|
|
|
},
|
2016-03-11 00:48:53 +00:00
|
|
|
"copy": {
|
2016-11-11 13:24:21 +00:00
|
|
|
"template-backup": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/mobile/app/template/",
|
|
|
|
"src": "*.template",
|
|
|
|
"dest": "../apps/documenteditor/mobile/app/template/backup/",
|
|
|
|
"filter": "isFile"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"template-restore": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/mobile/app/template/backup/",
|
|
|
|
"src": "*.template",
|
|
|
|
"dest": "../apps/documenteditor/mobile/app/template/",
|
|
|
|
"filter": "isFile"
|
|
|
|
}
|
|
|
|
],
|
2016-03-11 00:48:53 +00:00
|
|
|
"index-page": {
|
2021-04-16 12:47:06 +00:00
|
|
|
"../deploy/web-apps/apps/documenteditor/mobile/index.html": "../apps/documenteditor/mobile/index.html"
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
|
|
|
"localization": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/mobile/locale/",
|
|
|
|
"src": "*",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/mobile/locale/"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"images-app": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/mobile/resources/img/",
|
|
|
|
"src": "**",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/mobile/resources/img/"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
2018-03-28 12:40:38 +00:00
|
|
|
],
|
|
|
|
"images-common": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/mobile/resources/img/",
|
|
|
|
"src": "**",
|
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/mobile/resources/img/"
|
|
|
|
}
|
2021-04-16 12:47:06 +00:00
|
|
|
],
|
|
|
|
"assets": [
|
|
|
|
{
|
|
|
|
"src": "../apps/documenteditor/mobile/css/app.css",
|
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/mobile/css/app.css"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/mobile/dist",
|
|
|
|
"src": "**",
|
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/mobile/dist"
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"embed": {
|
2016-11-08 12:22:15 +00:00
|
|
|
"clean": {
|
|
|
|
"prebuild": [
|
|
|
|
"../deploy/web-apps/apps/documenteditor/embed"
|
|
|
|
],
|
|
|
|
"postbuild": [
|
|
|
|
"../deploy/web-apps/apps/documenteditor/embed/resources/img"
|
|
|
|
]
|
|
|
|
},
|
2016-03-11 00:48:53 +00:00
|
|
|
"js": {
|
|
|
|
"src": [
|
2019-05-14 11:11:42 +00:00
|
|
|
"../apps/common/locale.js",
|
2016-03-11 00:48:53 +00:00
|
|
|
"../apps/common/Gateway.js",
|
|
|
|
"../apps/common/Analytics.js",
|
2016-11-08 12:22:15 +00:00
|
|
|
"../apps/common/embed/lib/util/utils.js",
|
|
|
|
"../apps/common/embed/lib/view/modals.js",
|
|
|
|
"../apps/common/embed/lib/controller/modals.js",
|
2016-03-11 00:48:53 +00:00
|
|
|
"../apps/documenteditor/embed/js/ApplicationView.js",
|
|
|
|
"../apps/documenteditor/embed/js/ApplicationController.js",
|
|
|
|
"../apps/documenteditor/embed/js/application.js"
|
|
|
|
],
|
2016-03-29 15:54:12 +00:00
|
|
|
"dist": "../deploy/web-apps/apps/documenteditor/embed/app-all.js"
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
|
|
|
"less": {
|
|
|
|
"files": {
|
|
|
|
"src": "../apps/documenteditor/embed/resources/less/application.less",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dist": "../deploy/web-apps/apps/documenteditor/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 11:11:42 +00:00
|
|
|
"localization": [
|
|
|
|
{
|
2019-08-09 06:55:44 +00:00
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/embed/locale/",
|
|
|
|
"src": "*",
|
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/embed/locale/"
|
2019-05-14 11:11:42 +00:00
|
|
|
}
|
|
|
|
],
|
2016-03-11 00:48:53 +00:00
|
|
|
"index-page": {
|
2020-05-06 16:36:01 +00:00
|
|
|
"../deploy/web-apps/apps/documenteditor/embed/index.html": "../apps/documenteditor/embed/index.html.deploy",
|
|
|
|
"../deploy/web-apps/apps/documenteditor/embed/index_loader.html": "../apps/documenteditor/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/documenteditor/embed/resources/img/"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tasks": {
|
|
|
|
"deploy": [
|
|
|
|
"increment-build",
|
|
|
|
"deploy-app-main",
|
|
|
|
"deploy-app-mobile",
|
|
|
|
"deploy-app-embed"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|