223 lines
8.2 KiB
JSON
223 lines
8.2 KiB
JSON
{
|
|
"name": "pdfeditor",
|
|
"version": "4.3.0",
|
|
"build": 1152,
|
|
"homepage": "http://www.onlyoffice.com",
|
|
"private": true,
|
|
"main": {
|
|
"clean": {
|
|
"prebuild": [
|
|
"../deploy/web-apps/apps/pdfeditor/main"
|
|
],
|
|
"postbuild": []
|
|
},
|
|
"js": {
|
|
"requirejs": {
|
|
"options": {
|
|
"name": "../apps/pdfeditor/main/app.js",
|
|
"out": "../deploy/web-apps/apps/pdfeditor/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:",
|
|
"socketio": "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",
|
|
"socketio"
|
|
]
|
|
},
|
|
"gateway": {
|
|
"deps": [
|
|
"jquery"
|
|
]
|
|
},
|
|
"analytics": {
|
|
"deps": [
|
|
"jquery"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"postload": {
|
|
"options": {
|
|
"baseUrl": "../apps/",
|
|
"optimize": "none",
|
|
"name": "../apps/pdfeditor/main/app_pack.js",
|
|
"out": "../deploy/web-apps/apps/pdfeditor/main/code.js",
|
|
"inlineText": true,
|
|
"findNestedDependencies": false,
|
|
"optimizeAllPluginResources": false,
|
|
"paths": {
|
|
"text": "../vendor/requirejs-text/text"
|
|
}
|
|
}
|
|
},
|
|
"babel": {
|
|
"files": [
|
|
{
|
|
"expand": true,
|
|
"cwd": "../deploy/web-apps/apps/pdfeditor/main/",
|
|
"src": "*.js",
|
|
"dest": "../deploy/web-apps/apps/pdfeditor/main/ie"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"less": {
|
|
"files": {
|
|
"src": "../apps/pdfeditor/main/resources/less/app.less",
|
|
"dest": "../deploy/web-apps/apps/pdfeditor/main/resources/css/app.css"
|
|
},
|
|
"vars": {
|
|
"app-image-const-path": "'../img'",
|
|
"common-image-const-path": "'../../../../common/main/resources/img'",
|
|
"app-image-path": "'../../../../../deploy/web-apps/apps/pdfeditor/main/resources/img'",
|
|
"common-image-path": "'../../../../../deploy/web-apps/apps/pdfeditor/main/resources/img'"
|
|
}
|
|
},
|
|
"imagemin": {
|
|
"images-app": [
|
|
{
|
|
"expand": true,
|
|
"cwd": "../apps/pdfeditor/main/resources/img/",
|
|
"src": [
|
|
"**/*.{png,jpg,gif,ico}",
|
|
"!toolbar/**/*x/**/*"
|
|
],
|
|
"dest": "../deploy/web-apps/apps/pdfeditor/main/resources/img/"
|
|
}
|
|
],
|
|
"images-common": [
|
|
{
|
|
"expand": true,
|
|
"cwd": "../apps/common/main/resources/img/",
|
|
"src": [
|
|
"**/*.{png,jpg,gif}",
|
|
"!toolbar/**/*x/**/*"
|
|
],
|
|
"dest": "../deploy/web-apps/apps/pdfeditor/main/resources/img/"
|
|
}
|
|
]
|
|
},
|
|
"jsonmin": {
|
|
"files": "../deploy/web-apps/apps/pdfeditor/main/**/*.json"
|
|
},
|
|
"copy": {
|
|
"localization": [
|
|
{
|
|
"expand": true,
|
|
"cwd": "../apps/pdfeditor/main/locale/",
|
|
"src": "*",
|
|
"dest": "../deploy/web-apps/apps/pdfeditor/main/locale/"
|
|
}
|
|
],
|
|
"help": [
|
|
{
|
|
"expand": true,
|
|
"cwd": "../apps/pdfeditor/main/resources/help/",
|
|
"src": [
|
|
"**",
|
|
"!*_/**",
|
|
"!**/src/**"
|
|
],
|
|
"dest": "../deploy/web-apps/apps/pdfeditor/main/resources/help/"
|
|
}
|
|
],
|
|
"indexhtml": [
|
|
{
|
|
"expand": true,
|
|
"cwd": "../apps/pdfeditor/main",
|
|
"src": [
|
|
"*.html.deploy"
|
|
],
|
|
"ext": ".html",
|
|
"dest": "../deploy/web-apps/apps/pdfeditor/main"
|
|
}
|
|
]
|
|
},
|
|
"svgicons": {
|
|
"common": [
|
|
{
|
|
"expand": true,
|
|
"cwd": "../apps/pdfeditor/main/resources/img",
|
|
"src": [
|
|
"**/*.svg",
|
|
"!toolbar/**/*x/**/*"
|
|
],
|
|
"dest": "../deploy/web-apps/apps/pdfeditor/main/resources/img"
|
|
}
|
|
],
|
|
"clean": [
|
|
"../deploy/web-apps/apps/pdfeditor/main/resources/img/**/*.svg",
|
|
"!../deploy/web-apps/apps/pdfeditor/main/resources/img/**/*_s.svg"
|
|
]
|
|
}
|
|
},
|
|
"tasks": {
|
|
"deploy": [
|
|
"increment-build",
|
|
"deploy-app-main"
|
|
]
|
|
}
|
|
} |