2017-02-06 16:02:02 +00:00
|
|
|
{
|
|
|
|
"name": "common",
|
|
|
|
"version": "4.3.0",
|
2019-10-30 08:29:17 +00:00
|
|
|
"build": 39,
|
2017-02-06 16:02:02 +00:00
|
|
|
"homepage": "http://www.onlyoffice.com",
|
|
|
|
"private": true,
|
|
|
|
"sdk": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/sdkjs"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"files": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../../sdkjs/common/",
|
|
|
|
"src": [
|
2018-03-12 07:52:21 +00:00
|
|
|
"Images/*",
|
2019-11-15 11:36:57 +00:00
|
|
|
"Images/placeholders/*",
|
|
|
|
"Images/content_controls/*",
|
2019-03-27 10:58:26 +00:00
|
|
|
"Native/*.js",
|
2019-04-08 09:06:57 +00:00
|
|
|
"libfont/js/fonts.*",
|
|
|
|
"libfont/wasm/fonts.*"
|
2017-02-06 16:02:02 +00:00
|
|
|
],
|
|
|
|
"dest": "../deploy/sdkjs/common/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"src": "../../sdkjs/word/sdk-*.js",
|
|
|
|
"dest": "../deploy/sdkjs/word/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../../sdkjs/cell/css/",
|
|
|
|
"src": "*.css",
|
|
|
|
"dest": "../deploy/sdkjs/cell/css/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"src": "../../sdkjs/cell/sdk-*.js",
|
|
|
|
"dest": "../deploy/sdkjs/cell/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../../sdkjs/slide/themes/",
|
|
|
|
"src": "**/**",
|
|
|
|
"dest": "../deploy/sdkjs/slide/themes/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"src": "../../sdkjs/slide/sdk-*.js",
|
|
|
|
"dest": "../deploy/sdkjs/slide/"
|
|
|
|
}
|
|
|
|
]
|
2018-11-28 13:36:38 +00:00
|
|
|
},
|
|
|
|
"desktop": {
|
|
|
|
"src": "../../sdkjs/common/HtmlFileInternal/AllFonts.js",
|
|
|
|
"dest": "../deploy/sdkjs/common/AllFonts.js"
|
2017-02-06 16:02:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"api": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/apps/api"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/api/",
|
|
|
|
"src": [
|
|
|
|
"**",
|
|
|
|
"!**/*.desktop"
|
|
|
|
],
|
|
|
|
"dest": "../deploy/web-apps/apps/api/"
|
2018-11-16 10:46:03 +00:00
|
|
|
},
|
|
|
|
"desktop": {
|
|
|
|
"src": "../apps/api/documents/index.html.desktop",
|
|
|
|
"dest": "../deploy/web-apps/apps/api/documents/index.html"
|
2017-02-06 16:02:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-07-26 19:38:34 +00:00
|
|
|
"apps-common": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/apps/common"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"alphabetletters": {
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/main/resources/alphabetletters",
|
|
|
|
"src": "*.json",
|
|
|
|
"dest": "../deploy/web-apps/apps/common/main/resources/alphabetletters"
|
2021-09-16 16:51:59 +00:00
|
|
|
},
|
|
|
|
"themes": {
|
|
|
|
"src": "../apps/common/main/resources/themes/themes.json",
|
|
|
|
"dest": "../deploy/web-apps/apps/common/main/resources/themes/themes.json"
|
2022-06-07 16:29:03 +00:00
|
|
|
},
|
|
|
|
"help": {
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/main/resources/help/",
|
|
|
|
"src": [
|
2022-08-08 18:17:52 +00:00
|
|
|
"**/*.{png,jpg,gif,html,css}",
|
2022-06-07 16:29:03 +00:00
|
|
|
"!*_/**",
|
|
|
|
"!**/src/**"
|
|
|
|
],
|
|
|
|
"dest": "../deploy/web-apps/apps/common/main/resources/help/"
|
2021-07-26 19:38:34 +00:00
|
|
|
}
|
2021-09-06 16:03:36 +00:00
|
|
|
},
|
|
|
|
"imagemin": {
|
|
|
|
"images-common": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/main/resources/img/",
|
|
|
|
"src": [
|
|
|
|
"**/*.{png,jpg,gif}",
|
|
|
|
"!toolbar/*x/**/*"
|
|
|
|
],
|
|
|
|
"dest": "../deploy/web-apps/apps/common/main/resources/img/"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"svgicons": {
|
|
|
|
"common": [
|
|
|
|
{
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/common/main/resources/img",
|
2022-04-20 19:37:10 +00:00
|
|
|
"src": "**/*.svg",
|
2021-09-06 16:03:36 +00:00
|
|
|
"dest": "../deploy/web-apps/apps/common/main/resources/img"
|
|
|
|
}
|
|
|
|
]
|
2021-07-26 19:38:34 +00:00
|
|
|
}
|
|
|
|
},
|
2017-02-06 16:02:02 +00:00
|
|
|
"bootstrap": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/bootstrap"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"src": "../vendor/bootstrap/dist/js/bootstrap.min.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/bootstrap/dist/js/bootstrap.min.js"
|
|
|
|
},
|
|
|
|
"font": {
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../vendor/bootstrap/dist/fonts/",
|
|
|
|
"src": "*",
|
|
|
|
"dest": "../deploy/web-apps/vendor/bootstrap/dist/fonts/"
|
|
|
|
},
|
|
|
|
"css": {
|
|
|
|
"src": "../vendor/bootstrap/dist/css/bootstrap.min.css",
|
|
|
|
"dest": "../deploy/web-apps/vendor/bootstrap/dist/css/bootstrap.min.css"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"jquery": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/jquery"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"files": [
|
|
|
|
{
|
|
|
|
"src": "../vendor/jquery/jquery.min.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/jquery/jquery.min.js"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"src": "../vendor/jquery.browser/dist/jquery.browser.min.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/jquery/jquery.browser.min.js"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"megapixel": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/megapixel"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"src": "../vendor/megapixel/megapix-image-min.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/megapixel/megapix-image-min.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sockjs": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/sockjs"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"src": "../vendor/sockjs/sockjs.min.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/sockjs/sockjs.min.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"xregexp": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/xregexp"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"src": "../vendor/xregexp/xregexp-all-min.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/xregexp/xregexp-all-min.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"underscore": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/underscore"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"src": "../vendor/underscore/underscore-min.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/underscore/underscore-min.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-03-20 12:02:32 +00:00
|
|
|
"iscroll": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/iscroll"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"src": "../vendor/iscroll/iscroll.min.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/iscroll/iscroll.min.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-05-22 14:40:10 +00:00
|
|
|
"fetch": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/fetch"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"src": "../vendor/fetch/fetch.umd.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/fetch/fetch.umd.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-09-18 11:16:37 +00:00
|
|
|
"es6-promise": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/es6-promise"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"src": "../vendor/es6-promise/es6-promise.auto.min.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/es6-promise/es6-promise.auto.min.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2017-02-06 16:02:02 +00:00
|
|
|
"requirejs": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/requirejs"
|
|
|
|
],
|
|
|
|
"min": {
|
|
|
|
"src": "../vendor/requirejs/require.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/requirejs/require.js"
|
|
|
|
}
|
|
|
|
},
|
2021-10-24 21:32:35 +00:00
|
|
|
"common-embed": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/apps/common/embed"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"app-logo": {
|
|
|
|
"dest": "../deploy/web-apps/apps/common/embed/resources/img/logo.svg",
|
|
|
|
"src": "../apps/common/embed/resources/img/logo.svg"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2017-02-06 16:02:02 +00:00
|
|
|
"tasks": {
|
|
|
|
"deploy": [
|
|
|
|
"increment-build",
|
|
|
|
"deploy-api",
|
2021-07-26 19:38:34 +00:00
|
|
|
"deploy-apps-common",
|
2017-02-06 16:02:02 +00:00
|
|
|
"deploy-sdk",
|
|
|
|
"deploy-sockjs",
|
|
|
|
"deploy-xregexp",
|
|
|
|
"deploy-requirejs",
|
|
|
|
"deploy-megapixel",
|
|
|
|
"deploy-jquery",
|
|
|
|
"deploy-underscore",
|
|
|
|
"deploy-bootstrap",
|
2019-03-20 12:02:32 +00:00
|
|
|
"deploy-iscroll",
|
2019-05-22 14:40:10 +00:00
|
|
|
"deploy-fetch",
|
2021-10-24 21:32:35 +00:00
|
|
|
"deploy-es6-promise",
|
|
|
|
"deploy-common-embed"
|
2017-02-06 16:02:02 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|