{
    "name": "documenteditor",
    "version": "4.3.0",
    "build": 1143,
    "homepage": "http://www.onlyoffice.com",
    "private": true,
    "main": {
        "clean": [
            "../deploy/web-apps/apps/documenteditor/main"
        ],
        "js": {
            "requirejs": {
                "options": {
                    "name": "../apps/documenteditor/main/app.js",
                    "out": "../deploy/web-apps/apps/documenteditor/main/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",
                        "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",
                                "jszip-utils"
                            ]
                        },
                        "gateway": {
                            "deps": [
                                "jquery"
                            ]
                        },
                        "analytics": {
                            "deps": [
                                "jquery"
                            ]
                        }
                    }
                }
            }
        },
        "less": {
            "files": {
                "src": "../apps/documenteditor/main/resources/less/app.less",
                "dest": "../deploy/web-apps/apps/documenteditor/main/resources/css/app.css"
            },
            "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'"
            }
        },
        "imagemin": {
            "images-app": [
                {
                    "expand": true,
                    "cwd": "../apps/documenteditor/main/resources/img/",
                    "src": [
                        "**/*.{png,jpg,gif,ico}"
                    ],
                    "dest": "../deploy/web-apps/apps/documenteditor/main/resources/img/"
                }
            ],
            "images-common": [
                {
                    "expand": true,
                    "cwd": "../apps/common/main/resources/img/",
                    "src": [
                        "**/*.{png,jpg,gif}"
                    ],
                    "dest": "../deploy/web-apps/apps/documenteditor/main/resources/img/"
                }
            ]
        },
        "copy": {
            "localization": [
                {
                    "expand": true,
                    "cwd": "../apps/documenteditor/main/locale/",
                    "src": "*",
                    "dest": "../deploy/web-apps/apps/documenteditor/main/locale/"
                }
            ],
            "help": [
                {
                    "expand": true,
                    "cwd": "../apps/documenteditor/main/resources/help/en/",
                    "src": "**",
                    "dest": "../deploy/web-apps/apps/documenteditor/main/resources/help/en/"
                },
                {
                    "expand": true,
                    "cwd": "../apps/documenteditor/main/resources/help/ru/",
                    "src": "**",
                    "dest": "../deploy/web-apps/apps/documenteditor/main/resources/help/ru/"
                }
            ],
            "index-page": [
                {
                    "src": "../apps/documenteditor/main/index.html.deploy",
                    "dest": "../deploy/web-apps/apps/documenteditor/main/index.html"
                }
            ]
        },
        "svgicons": {
            "common": [
                {
                    "expand": true,
                    "cwd": "../apps/common/main/resources/img",
                    "src": "**/*.svg",
                    "dest": "../deploy/web-apps/apps/documenteditor/main/resources/img"
                }
            ],
            "clean": [
                "../deploy/web-apps/apps/documenteditor/main/resources/img/**/*.svg"
            ]
        }
    },
    "mobile": {
        "clean": {
            "deploy": [
                "../deploy/web-apps/apps/documenteditor/mobile"
            ],
            "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",
                        "extendes": "common/mobile/utils/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"
                            ]
                        },
                        "gateway": {
                            "deps": [
                                "jquery"
                            ]
                        },
                        "analytics": {
                            "deps": [
                                "jquery"
                            ]
                        }
                    }
                }
            }
        },
        "css": {
            "ios": {
                "src": [
                    "../apps/documenteditor/mobile/resources/css/app-ios.css"
                ],
                "dist": "../deploy/web-apps/apps/documenteditor/mobile/resources/css/app-ios.css"
            },
            "material": {
                "src": [
                    "../apps/documenteditor/mobile/resources/css/app-material.css"
                ],
                "dist": "../deploy/web-apps/apps/documenteditor/mobile/resources/css/app-material.css"
            }
        },
        "htmlmin": {
            "templates": [
                {
                    "expand": true,
                    "cwd": "../apps/documenteditor/mobile/app/template/",
                    "src": "*.template",
                    "dest": "../apps/documenteditor/mobile/app/template/"
                }
            ]
        },
        "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"
                }
            ],
            "index-page": {
                "../deploy/web-apps/apps/documenteditor/mobile/index.html": "../apps/documenteditor/mobile/index.html.deploy"
            },
            "localization": [
                {
                    "expand": true,
                    "cwd": "../apps/documenteditor/mobile/locale/",
                    "src": "*",
                    "dest": "../deploy/web-apps/apps/documenteditor/mobile/locale/"
                }
            ],
            "images-app": [
                {
                    "expand": true,
                    "cwd": "../apps/documenteditor/mobile/resources/img/",
                    "src": "**",
                    "dest": "../deploy/web-apps/apps/documenteditor/mobile/resources/img/"
                }
            ]
        }
    },
    "embed": {
        "clean": {
            "prebuild": [
                "../deploy/web-apps/apps/documenteditor/embed"
            ],
            "postbuild": [
                "../deploy/web-apps/apps/documenteditor/embed/resources/img"
            ]
        },
        "js": {
            "src": [
                "../apps/common/Gateway.js",
                "../apps/common/Analytics.js",
                "../apps/common/embed/lib/util/utils.js",
                "../apps/common/embed/lib/view/modals.js",
                "../apps/common/embed/lib/controller/modals.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"
        },
        "less": {
            "files": {
                "src": "../apps/documenteditor/embed/resources/less/application.less",
                "dist": "../deploy/web-apps/apps/documenteditor/embed/resources/css/app-all.css"
            }
        },
        "copy": {
            "index-page": {
                "../deploy/web-apps/apps/documenteditor/embed/index.html": "../apps/documenteditor/embed/index.html.deploy"
            },
            "images-app": [
                {
                    "expand": true,
                    "cwd": "../apps/common/embed/resources/img/",
                    "src": "**",
                    "dest": "../deploy/web-apps/apps/documenteditor/embed/resources/img/"
                }
            ]
        }
    },
    "tasks": {
        "deploy": [
            "increment-build",
            "deploy-app-main",
            "deploy-app-mobile",
            "deploy-app-embed"
        ]
    }
}