2017-02-06 16:02:02 +00:00
|
|
|
{
|
|
|
|
"name": "common",
|
|
|
|
"version": "4.3.0",
|
2017-07-17 11:57:12 +00:00
|
|
|
"build": 32,
|
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/*",
|
2017-02-06 16:02:02 +00:00
|
|
|
"Native/*.js"
|
|
|
|
],
|
|
|
|
"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/"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"api": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/apps/api"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"expand": true,
|
|
|
|
"cwd": "../apps/api/",
|
|
|
|
"src": [
|
|
|
|
"**",
|
|
|
|
"!**/*.desktop"
|
|
|
|
],
|
|
|
|
"dest": "../deploy/web-apps/apps/api/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"jszip": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/jszip"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"src": "../vendor/jszip/jszip.min.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/jszip/jszip.min.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"jsziputils": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/jszip-utils"
|
|
|
|
],
|
|
|
|
"copy": {
|
|
|
|
"script": {
|
|
|
|
"src": "../vendor/jszip-utils/jszip-utils.min.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/jszip-utils/jszip-utils.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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"requirejs": {
|
|
|
|
"clean": [
|
|
|
|
"../deploy/web-apps/vendor/requirejs"
|
|
|
|
],
|
|
|
|
"min": {
|
|
|
|
"src": "../vendor/requirejs/require.js",
|
|
|
|
"dest": "../deploy/web-apps/vendor/requirejs/require.js"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tasks": {
|
|
|
|
"deploy": [
|
|
|
|
"increment-build",
|
|
|
|
"deploy-api",
|
|
|
|
"deploy-sdk",
|
|
|
|
"deploy-sockjs",
|
|
|
|
"deploy-xregexp",
|
|
|
|
"deploy-requirejs",
|
|
|
|
"deploy-megapixel",
|
|
|
|
"deploy-jquery",
|
|
|
|
"deploy-underscore",
|
|
|
|
"deploy-bootstrap",
|
|
|
|
"deploy-jszip",
|
2017-04-21 07:47:19 +00:00
|
|
|
"deploy-jsziputils"
|
2017-02-06 16:02:02 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|