2021-11-21 13:32:22 +01:00
|
|
|
{
|
|
|
|
"name": "Docify",
|
|
|
|
"targets": {
|
|
|
|
"init": {
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "vfs-mkdir",
|
|
|
|
"data": [
|
|
|
|
"build",
|
|
|
|
"build/debug",
|
|
|
|
"build/release"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-03-27 20:38:17 +02:00
|
|
|
"locale": {
|
|
|
|
"require": ["locale"],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name":"locale-gen",
|
|
|
|
"data": {
|
|
|
|
"src": "",
|
|
|
|
"exclude": ["build/", "api/", "css/", "coffees/"],
|
|
|
|
"locale": "en_GB",
|
|
|
|
"dest": "package.json"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ts": {
|
2021-11-21 13:32:22 +01:00
|
|
|
"require": [
|
2023-03-27 20:38:17 +02:00
|
|
|
"ts"
|
2021-11-21 13:32:22 +01:00
|
|
|
],
|
|
|
|
"jobs": [
|
|
|
|
{
|
2023-06-01 16:14:35 +02:00
|
|
|
"name": "ts-antos-sdk",
|
|
|
|
"data": {
|
|
|
|
"version": "2.0.x"
|
|
|
|
}
|
2023-03-27 20:38:17 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ts-compile",
|
2021-11-21 13:32:22 +01:00
|
|
|
"data": {
|
|
|
|
"src": [
|
2023-03-27 20:38:17 +02:00
|
|
|
"ts/dialogs.ts",
|
|
|
|
"ts/main.ts"
|
2021-11-21 13:32:22 +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": [
|
|
|
|
"assets/scheme.html",
|
|
|
|
"api/api.lua",
|
|
|
|
"package.json",
|
|
|
|
"README.md"
|
|
|
|
],
|
|
|
|
"dest": "build/debug"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"release": {
|
|
|
|
"require": [
|
|
|
|
"zip"
|
|
|
|
],
|
|
|
|
"depend": [
|
|
|
|
"init",
|
2023-03-27 20:38:17 +02:00
|
|
|
"ts",
|
2021-11-21 13:32:22 +01:00
|
|
|
"uglify",
|
|
|
|
"copy"
|
|
|
|
],
|
|
|
|
"jobs": [
|
|
|
|
{
|
|
|
|
"name": "zip-mk",
|
|
|
|
"data": {
|
|
|
|
"src": "build/debug",
|
|
|
|
"dest": "build/release/Docify.zip"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2023-03-27 20:38:17 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
"debug": {
|
|
|
|
"depend": [
|
|
|
|
"init",
|
|
|
|
"ts",
|
|
|
|
"copy"
|
|
|
|
]
|
2021-11-21 13:32:22 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|