2021-09-18 13:13:16 +02:00
|
|
|
{
|
|
|
|
"name": "ServerLogClient",
|
|
|
|
"targets":{
|
|
|
|
"clean": {
|
|
|
|
"jobs": [
|
|
|
|
{
|
2023-01-01 01:54:04 +01:00
|
|
|
"name": "vfs-rm_no_error",
|
2021-09-18 13:13:16 +02:00
|
|
|
"data": ["build/debug","build/release"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"require": ["ts"],
|
|
|
|
"jobs":[
|
|
|
|
{
|
|
|
|
"name": "vfs-mkdir",
|
|
|
|
"data": ["build","build/debug","build/release"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ts-import",
|
|
|
|
"data": ["sdk://core/ts/core.d.ts", "sdk://core/ts/jquery.d.ts","sdk://core/ts/antos.d.ts"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ts-compile",
|
|
|
|
"data": {
|
|
|
|
"src": ["main.ts"],
|
|
|
|
"dest": "build/debug/main.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"uglify": {
|
|
|
|
"require": ["terser"],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name":"terser-uglify",
|
|
|
|
"data": ["build/debug/main.js"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"copy": {
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "vfs-cp",
|
|
|
|
"data": {
|
|
|
|
"src": [
|
|
|
|
"scheme.html",
|
|
|
|
"package.json",
|
|
|
|
"README.md",
|
|
|
|
"main.css"
|
|
|
|
],
|
|
|
|
"dest":"build/debug"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"release": {
|
|
|
|
"depend": ["clean","build","uglify", "copy"],
|
|
|
|
"require": ["zip"],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "zip-mk",
|
|
|
|
"data": {
|
|
|
|
"src":"build/debug",
|
|
|
|
"dest":"build/release/ServerLogClient.zip"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|