2023-01-01 01:54:04 +01:00
|
|
|
{
|
|
|
|
"name": "Blogger",
|
|
|
|
"targets": {
|
|
|
|
"init": {
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "vfs-mkdir",
|
|
|
|
"data": [
|
|
|
|
"build",
|
|
|
|
"build/debug",
|
|
|
|
"build/release"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-02-20 18:06:10 +01:00
|
|
|
"ts": {
|
2023-01-01 01:54:04 +01:00
|
|
|
"require": [
|
2023-02-20 18:06:10 +01:00
|
|
|
"ts"
|
2023-01-01 01:54:04 +01:00
|
|
|
],
|
|
|
|
"jobs": [
|
|
|
|
{
|
2023-02-20 18:06:10 +01:00
|
|
|
"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",
|
2023-01-01 01:54:04 +01:00
|
|
|
"data": {
|
|
|
|
"src": [
|
2023-02-20 18:06:10 +01:00
|
|
|
"main.ts",
|
|
|
|
"dialogs.ts",
|
|
|
|
"tags.ts"
|
2023-01-01 01:54:04 +01:00
|
|
|
],
|
|
|
|
"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",
|
2023-04-24 16:41:26 +02:00
|
|
|
"api",
|
2023-01-01 01:54:04 +01:00
|
|
|
"package.json",
|
|
|
|
"README.md",
|
|
|
|
"main.css"
|
|
|
|
],
|
|
|
|
"dest": "build/debug"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2023-02-20 18:06:10 +01:00
|
|
|
},
|
|
|
|
"locale": {
|
|
|
|
"require": ["locale"],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name":"locale-gen",
|
|
|
|
"data": {
|
|
|
|
"src": "",
|
|
|
|
"exclude": ["build/", "api/"],
|
|
|
|
"locale": "en_GB",
|
|
|
|
"dest": "package.json"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"debug": {
|
|
|
|
"depend": [
|
|
|
|
"init",
|
|
|
|
"ts",
|
|
|
|
"copy"
|
|
|
|
]
|
2023-01-01 01:54:04 +01:00
|
|
|
},
|
|
|
|
"release": {
|
|
|
|
"require": [
|
|
|
|
"zip"
|
|
|
|
],
|
|
|
|
"depend": [
|
|
|
|
"init",
|
2023-02-20 18:06:10 +01:00
|
|
|
"ts",
|
2023-01-01 01:54:04 +01:00
|
|
|
"uglify",
|
|
|
|
"copy"
|
|
|
|
],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "zip-mk",
|
|
|
|
"data": {
|
|
|
|
"src": "build/debug",
|
|
|
|
"dest": "build/release/Blogger.zip"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|