web-apps/build/documenteditor.json

627 lines
22 KiB
JSON
Raw Normal View History

2016-03-11 00:48:53 +00:00
{
"name": "documenteditor",
"version": "4.6.0",
"build": 1065,
2016-03-11 00:48:53 +00:00
"homepage": "http://www.onlyoffice.com",
"private": true,
"sdk": {
"clean": [
"../deploy/sdkjs/common",
"../deploy/sdkjs/word"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"files": [
{
"expand": true,
"cwd": "../../sdkjs/common/",
2016-03-11 00:48:53 +00:00
"src": [
"Images/*.cur",
"Native/*.js"
2016-03-11 00:48:53 +00:00
],
"dest": "../deploy/sdkjs/common/"
2016-03-11 00:48:53 +00:00
},
{
2016-05-05 13:47:11 +00:00
"expand": true,
"src": "../../sdkjs/word/sdk-*.js",
"dest": "../deploy/sdkjs/word/"
2016-03-11 00:48:53 +00:00
}
]
}
}
},
"api": {
"clean": [
"../deploy/web-apps/apps/api"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"expand": true,
"cwd": "../apps/api/",
"src": [
"**",
2016-05-05 13:47:11 +00:00
"!**/*.html",
"!**/*.desktop"
],
"dest": "../deploy/web-apps/apps/api/"
2016-03-11 00:48:53 +00:00
}
}
},
"main": {
"clean": [
"../deploy/web-apps/apps/documenteditor/main"
2016-03-11 00:48:53 +00:00
],
"js": {
"requirejs": {
"options": {
"name": "../apps/documenteditor/main/app.js",
"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": {
"embedImages": true,
"files": {
"src": "../apps/documenteditor/main/resources/less/app.less",
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/css/app.css"
2016-03-11 00:48:53 +00:00
},
"replacements": [
{
"from": "../../common/main/resources/img/",
"to": "../img/"
},
{
"from": "resources/img/",
"to": "../img/"
}
]
},
"imagemin": {
"images-app": [
{
"expand": true,
"cwd": "../apps/documenteditor/main/resources/img/",
"src": [
"**/*.{png,jpg,gif}"
],
"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}"
],
"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": "*",
"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": "**",
"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": "**",
"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",
"dest": "../deploy/web-apps/apps/documenteditor/main/index.html"
2016-03-11 00:48:53 +00:00
}
]
}
},
"mobile": {
"clean": {
"deploy": [
"../deploy/web-apps/apps/documenteditor/mobile"
2016-03-11 00:48:53 +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",
"extendes": "common/main/lib/core/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"
},
"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": {
"ios": {
2016-03-11 00:48:53 +00:00
"src": [
"../apps/documenteditor/mobile/resources/css/app-ios.css"
2016-03-11 00:48:53 +00:00
],
"dist": "../deploy/web-apps/apps/documenteditor/mobile/resources/css/app-ios.css"
2016-03-11 00:48:53 +00:00
},
"material": {
2016-03-11 00:48:53 +00:00
"src": [
"../apps/documenteditor/mobile/resources/css/app-material.css"
2016-03-11 00:48:53 +00:00
],
"dist": "../deploy/web-apps/apps/documenteditor/mobile/resources/css/app-material.css"
2016-03-11 00:48:53 +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": {
"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": {
"../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": "*",
"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": "**",
"dest": "../deploy/web-apps/apps/documenteditor/mobile/resources/img/"
2016-03-11 00:48:53 +00:00
}
]
}
},
"embed": {
"clean": [
"../deploy/web-apps/apps/documenteditor/embed"
2016-03-11 00:48:53 +00:00
],
"js": {
"src": [
"../apps/common/Gateway.js",
"../apps/common/Analytics.js",
"../apps/documenteditor/embed/js/ApplicationView.js",
"../apps/documenteditor/embed/js/ApplicationController.js",
"../apps/documenteditor/embed/js/application.js"
],
"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",
"dist": "../deploy/web-apps/apps/documenteditor/embed/resources/css/app-all.css"
2016-03-11 00:48:53 +00:00
},
"replacements": [
{
"from": "../../../../common/embed/resources/img/",
"to": "../img/"
}
]
},
"copy": {
"index-page": {
"../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": "**",
"dest": "../deploy/web-apps/apps/documenteditor/embed/resources/img/"
2016-03-11 00:48:53 +00:00
}
]
}
},
"touch": {
"clean": [
"../deploy/web-apps/vendor/touch"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"src": "../vendor/touch/sencha-touch-all.js",
"dest": "../deploy/web-apps/vendor/touch/sencha-touch-all.js"
2016-03-11 00:48:53 +00:00
}
}
},
"bootstrap": {
"clean": [
"../deploy/web-apps/vendor/bootstrap"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"src": "../vendor/bootstrap/dist/js/bootstrap.min.js",
"dest": "../deploy/web-apps/vendor/bootstrap/dist/js/bootstrap.min.js"
2016-03-11 00:48:53 +00:00
},
"font": {
"expand": true,
"cwd": "../vendor/bootstrap/dist/fonts/",
"src": "*",
"dest": "../deploy/web-apps/vendor/bootstrap/dist/fonts/"
2016-03-11 00:48:53 +00:00
},
"css": {
"src": "../vendor/bootstrap/dist/css/bootstrap.min.css",
"dest": "../deploy/web-apps/vendor/bootstrap/dist/css/bootstrap.min.css"
2016-03-11 00:48:53 +00:00
}
}
},
"jquery": {
"clean": [
"../deploy/web-apps/vendor/jquery"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"files": [
{
"src": "../vendor/jquery/jquery.min.js",
"dest": "../deploy/web-apps/vendor/jquery/jquery.min.js"
2016-03-11 00:48:53 +00:00
},
{
"src": "../vendor/jquery.browser/dist/jquery.browser.min.js",
"dest": "../deploy/web-apps/vendor/jquery/jquery.browser.min.js"
2016-03-11 00:48:53 +00:00
}
]
}
}
},
"megapixel": {
"clean": [
"../deploy/web-apps/vendor/megapixel"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"src": "../vendor/megapixel/megapix-image-min.js",
"dest": "../deploy/web-apps/vendor/megapixel/megapix-image-min.js"
2016-03-11 00:48:53 +00:00
}
}
},
"sockjs": {
"clean": [
"../deploy/web-apps/vendor/sockjs"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"src": "../vendor/sockjs/sockjs.min.js",
"dest": "../deploy/web-apps/vendor/sockjs/sockjs.min.js"
2016-03-11 00:48:53 +00:00
}
}
},
"xregexp": {
"clean": [
"../deploy/web-apps/vendor/xregexp"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"src": "../vendor/xregexp/xregexp-all-min.js",
"dest": "../deploy/web-apps/vendor/xregexp/xregexp-all-min.js"
2016-03-11 00:48:53 +00:00
}
}
},
"jszip": {
"clean": [
"../deploy/web-apps/vendor/jszip"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"src": "../vendor/jszip/jszip.min.js",
"dest": "../deploy/web-apps/vendor/jszip/jszip.min.js"
2016-03-11 00:48:53 +00:00
}
}
},
"jsziputils": {
"clean": [
"../deploy/web-apps/vendor/jszip-utils"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"src": "../vendor/jszip-utils/jszip-utils.min.js",
"dest": "../deploy/web-apps/vendor/jszip-utils/jszip-utils.min.js"
2016-03-11 00:48:53 +00:00
}
}
},
"jsrsasign": {
"clean": [
"../deploy/web-apps/vendor/jsrsasign"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"src": "../vendor/jsrsasign/jsrsasign-latest-all-min.js",
"dest": "../deploy/web-apps/vendor/jsrsasign/jsrsasign-latest-all-min.js"
2016-03-11 00:48:53 +00:00
}
}
},
"underscore": {
"clean": [
"../deploy/web-apps/vendor/underscore"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"src": "../vendor/underscore/underscore-min.js",
"dest": "../deploy/web-apps/vendor/underscore/underscore-min.js"
2016-03-11 00:48:53 +00:00
}
}
},
"requirejs": {
"clean": [
"../deploy/web-apps/vendor/requirejs"
2016-03-11 00:48:53 +00:00
],
"min": {
"src": "../vendor/requirejs/require.js",
"dest": "../deploy/web-apps/vendor/requirejs/require.js"
2016-03-11 00:48:53 +00:00
}
},
"zeroclipboard": {
"clean": [
"../deploy/web-apps/vendor/ZeroClipboard"
2016-03-11 00:48:53 +00:00
],
"copy": {
"script": {
"expand": true,
"cwd": "../vendor/ZeroClipboard/",
"src": [
"**"
],
"dest": "../deploy/web-apps/vendor/ZeroClipboard/"
2016-03-11 00:48:53 +00:00
}
}
},
"obf_api": {
"ccvars": "../../sdkjs/word/variable.map",
"ccprops": "../../sdkjs/word/property.map",
"api": "../../sdkjs/word/apiExport.js",
2016-03-11 00:48:53 +00:00
"clientjs": [
"../deploy/web-apps/apps/documenteditor/main/app-edit.js",
"../deploy/web-apps/apps/documenteditor/main/app-view.js",
"../deploy/web-apps/apps/documenteditor/mobile/app-all.js",
"../deploy/web-apps/apps/documenteditor/embed/app-all.js",
"../deploy/web-apps/apps/api/documents/cache-scripts.html"
2016-03-11 00:48:53 +00:00
],
"ccres": "../deploy/sdkjs/word/sdk-all.js"
2016-03-11 00:48:53 +00:00
},
"obf": {
"api": "../deploy/sdkjs/word/sdk-all.js",
2016-03-11 00:48:53 +00:00
"pat": "asc_\\w+",
"keys": "-exp se -use-for-name",
"apply": [
"../deploy/sdkjs/word/sdk-all.js",
"../deploy/web-apps/apps/documenteditor/main/app-edit.js",
"../deploy/web-apps/apps/documenteditor/main/app-view.js",
"../deploy/web-apps/apps/documenteditor/mobile/app-all.js",
"../deploy/web-apps/apps/documenteditor/embed/app-all.js"
2016-03-11 00:48:53 +00:00
]
},
"tasks": {
"deploy": [
"increment-build",
"deploy-api",
"deploy-sdk",
"deploy-sockjs",
"deploy-xregexp",
"deploy-requirejs",
"deploy-megapixel",
"deploy-touch",
"deploy-jquery",
"deploy-underscore",
"deploy-zeroclipboard",
"deploy-bootstrap",
"deploy-jszip",
"deploy-jsziputils",
"deploy-jsrsasign",
"deploy-app-main",
"deploy-app-mobile",
"deploy-app-embed"
]
}
}