2016-03-11 00:48:53 +00:00
|
|
|
{
|
|
|
|
"name": "documenteditor",
|
2017-01-25 16:30:08 +00:00
|
|
|
"version": "4.3.0",
|
2016-11-28 10:17:30 +00:00
|
|
|
"build": 1112,
|
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:",
|
|
|
|
"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/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": [
|
|
|
|
"**/*.{png,jpg,gif}"
|
|
|
|
],
|
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": [
|
|
|
|
"**/*.{png,jpg,gif}"
|
|
|
|
],
|
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
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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/"
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"help": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/main/resources/help/en/",
|
|
|
|
"src": "**",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/help/en/"
|
2016-03-11 00:48:53 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/documenteditor/main/resources/help/ru/",
|
|
|
|
"src": "**",
|
2016-03-29 15:54:12 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/help/ru/"
|
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"
|
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:",
|
|
|
|
"jsrsasign": "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",
|
|
|
|
"jszip-utils",
|
|
|
|
"jsrsasign"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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/"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
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": {
|
2016-03-29 15:54:12 +00:00
|
|
|
"../deploy/web-apps/apps/documenteditor/mobile/index.html": "../apps/documenteditor/mobile/index.html.deploy"
|
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
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": [
|
|
|
|
"../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": {
|
|
|
|
"index-page": {
|
2016-03-29 15:54:12 +00:00
|
|
|
"../deploy/web-apps/apps/documenteditor/embed/index.html": "../apps/documenteditor/embed/index.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"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|