web-apps/build/spreadsheeteditor.json

540 lines
19 KiB
JSON
Raw Normal View History

2016-03-11 00:48:53 +00:00
{
"name": "spreadsheeteditor",
"version": "4.6.0",
"build": 865,
2016-03-11 00:48:53 +00:00
"homepage": "http://www.onlyoffice.com",
"private": true,
"sdk": {
"clean": [
"../deploy/sdkjs/common",
"../deploy/sdkjs/cell"
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
},
{
"expand": true,
"cwd": "../../sdkjs/cell/css/",
2016-03-11 00:48:53 +00:00
"src": "*.css",
"dest": "../deploy/sdkjs/cell/css/"
2016-03-11 00:48:53 +00:00
},
{
"expand": true,
"cwd": "../../sdkjs/word/Images/",
2016-03-11 00:48:53 +00:00
"src": "*.cur",
"dest": "../deploy/sdkjs/word/Images/"
2016-03-11 00:48:53 +00:00
},
{
"src": "../../sdkjs/cell/sdk-all.js",
"dest": "../deploy/sdkjs/cell/sdk-all.js"
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": [
"**",
"!**/*.desktop"
],
"dest": "../deploy/web-apps/apps/api/"
2016-03-11 00:48:53 +00:00
}
}
},
"main": {
"clean": [
"../deploy/web-apps/apps/spreadsheeteditor/main"
2016-03-11 00:48:53 +00:00
],
"js": {
"requirejs": {
"options": {
"name": "../apps/spreadsheeteditor/main/app.js",
"out": "../deploy/web-apps/apps/spreadsheeteditor/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/spreadsheeteditor/main/resources/less/app.less",
"dest": "../deploy/web-apps/apps/spreadsheeteditor/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/spreadsheeteditor/main/resources/img/",
"src": [
"**/*.{png,jpg,gif}"
],
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/resources/img/"
2016-03-11 00:48:53 +00:00
}
],
"images-common": [
{
"expand": true,
"cwd": "../../sdkjs/word/Images/",
2016-03-11 00:48:53 +00:00
"src": [
"**/*.cur"
],
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/Images/"
2016-03-11 00:48:53 +00:00
},
{
"expand": true,
"cwd": "../apps/common/main/resources/img/",
"src": [
"**/*.{png,jpg,gif}"
],
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/resources/img/"
2016-03-11 00:48:53 +00:00
}
]
},
"copy": {
"localization": [
{
"expand": true,
"cwd": "../apps/spreadsheeteditor/main/locale/",
"src": "*",
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/locale/"
2016-03-11 00:48:53 +00:00
},
{
"expand": true,
"cwd": "../apps/spreadsheeteditor/main/resources/formula-lang",
"src": "*",
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/resources/formula-lang"
2016-03-11 00:48:53 +00:00
}
],
"help": [
{
"expand": true,
"cwd": "../apps/spreadsheeteditor/main/resources/help/en/",
"src": "**",
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/resources/help/en/"
2016-03-11 00:48:53 +00:00
},
{
"expand": true,
"cwd": "../apps/spreadsheeteditor/main/resources/help/ru/",
"src": "**",
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/resources/help/ru/"
2016-03-11 00:48:53 +00:00
}
],
"index-page": [
{
"src": "../apps/spreadsheeteditor/main/index.html.deploy",
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/index.html"
2016-03-11 00:48:53 +00:00
}
]
}
},
"mobile": {
"clean": [
"../deploy/web-apps/apps/spreadsheeteditor/mobile"
2016-03-11 00:48:53 +00:00
],
"js": {
"src": [
"../apps/common/Gateway.js",
"../apps/common/Analytics.js",
"../apps/common/mobile/loader.js",
"../apps/spreadsheeteditor/mobile/app/model/Worksheet.js",
"../apps/spreadsheeteditor/mobile/app/store/Worksheets.js",
"../apps/spreadsheeteditor/mobile/app/view/OpenCsvPanel.js",
"../apps/spreadsheeteditor/mobile/app/view/WorksheetList.js",
"../apps/spreadsheeteditor/mobile/app/view/Main.js",
"../apps/spreadsheeteditor/mobile/app/view/phone/toolbar/Search.js",
"../apps/spreadsheeteditor/mobile/app/view/phone/toolbar/View.js",
"../apps/spreadsheeteditor/mobile/app/view/phone/Main.js",
"../apps/spreadsheeteditor/mobile/app/view/tablet/toolbar/Search.js",
"../apps/spreadsheeteditor/mobile/app/view/tablet/toolbar/View.js",
"../apps/spreadsheeteditor/mobile/app/view/tablet/Main.js",
"../apps/spreadsheeteditor/mobile/app/controller/ApiEvents.js",
"../apps/spreadsheeteditor/mobile/app/controller/Document.js",
"../apps/spreadsheeteditor/mobile/app/controller/Search.js",
"../apps/spreadsheeteditor/mobile/app/controller/WorksheetList.js",
"../apps/spreadsheeteditor/mobile/app/controller/Main.js",
"../apps/spreadsheeteditor/mobile/app/controller/phone/Main.js",
"../apps/spreadsheeteditor/mobile/app/controller/tablet/Main.js",
"../apps/spreadsheeteditor/mobile/app/controller/toolbar/View.js",
"../apps/spreadsheeteditor/mobile/app/profile/Phone.js",
"../apps/spreadsheeteditor/mobile/app/profile/Tablet.js",
"../apps/common/locale.js",
"../apps/spreadsheeteditor/mobile/app.js"
],
"dist": "../deploy/web-apps/apps/spreadsheeteditor/mobile/app-all.js"
2016-03-11 00:48:53 +00:00
},
"css": {
"normal": {
"src": [
"../apps/spreadsheeteditor/mobile/resources/css/application-normal.css"
],
"dist": "../deploy/web-apps/apps/spreadsheeteditor/mobile/resources/css/application-normal.css"
2016-03-11 00:48:53 +00:00
},
"retina": {
"src": [
"../apps/spreadsheeteditor/mobile/resources/css/application-retina.css"
],
"dist": "../deploy/web-apps/apps/spreadsheeteditor/mobile/resources/css/application-retina.css"
2016-03-11 00:48:53 +00:00
}
},
"copy": {
"index-page": {
"../deploy/web-apps/apps/spreadsheeteditor/mobile/index.html": "../apps/spreadsheeteditor/mobile/index.html.deploy"
2016-03-11 00:48:53 +00:00
},
"localization": [
{
"expand": true,
"cwd": "../apps/spreadsheeteditor/mobile/locale/",
"src": "*",
"dest": "../deploy/web-apps/apps/spreadsheeteditor/mobile/locale/"
2016-03-11 00:48:53 +00:00
}
],
"images-app": [
{
"expand": true,
"cwd": "../apps/spreadsheeteditor/mobile/resources/img/",
"src": "**",
"dest": "../deploy/web-apps/apps/spreadsheeteditor/mobile/resources/img/"
2016-03-11 00:48:53 +00:00
}
]
}
},
"embed": {
"clean": [
"../deploy/web-apps/apps/spreadsheeteditor/embed"
2016-03-11 00:48:53 +00:00
],
"js": {
"src": [
"../apps/common/Gateway.js",
"../apps/common/Analytics.js",
"../apps/spreadsheeteditor/embed/js/ApplicationView.js",
"../apps/spreadsheeteditor/embed/js/ApplicationController.js",
"../apps/spreadsheeteditor/embed/js/application.js"
],
"dist": "../deploy/web-apps/apps/spreadsheeteditor/embed/app-all.js"
2016-03-11 00:48:53 +00:00
},
"less": {
"files": {
"src": "../apps/spreadsheeteditor/embed/resources/less/application.less",
"dist": "../deploy/web-apps/apps/spreadsheeteditor/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/spreadsheeteditor/embed/index.html": "../apps/spreadsheeteditor/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/spreadsheeteditor/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": "../deploy/sdkjs/cell/sdk-all.js",
2016-03-11 00:48:53 +00:00
"pat": "asc_\\w+",
"keys": "-exp se -use-for-name",
"apply": [
"../deploy/sdkjs/cell/sdk-all.js",
"../deploy/web-apps/apps/spreadsheeteditor/main/app-edit.js",
"../deploy/web-apps/apps/spreadsheeteditor/main/app-view.js",
"../deploy/web-apps/apps/spreadsheeteditor/mobile/app-all.js",
"../deploy/web-apps/apps/spreadsheeteditor/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"
]
}
}