antosdk-apps/Blogger/build.json

112 lines
2.8 KiB
JSON
Raw Normal View History

{
"name": "Blogger",
"targets": {
"init": {
"jobs": [
{
"name": "vfs-mkdir",
"data": [
"build",
"build/debug",
"build/release"
]
}
]
},
2023-02-20 18:06:10 +01:00
"ts": {
"require": [
2023-02-20 18:06:10 +01:00
"ts"
],
"jobs": [
{
"name": "ts-antos-sdk",
"data": {
"version": "2.0.x"
}
2023-02-20 18:06:10 +01:00
},
{
"name": "ts-compile",
"data": {
"src": [
2023-02-20 18:06:10 +01:00
"main.ts",
"dialogs.ts",
"tags.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",
"api",
"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"
]
},
"release": {
"require": [
"zip"
],
"depend": [
"init",
2023-02-20 18:06:10 +01:00
"ts",
"uglify",
"copy"
],
"jobs": [
{
"name": "zip-mk",
"data": {
"src": "build/debug",
"dest": "build/release/Blogger.zip"
}
}
]
}
}
}