mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-16 18:38:20 +01:00
109 lines
2.8 KiB
JSON
109 lines
2.8 KiB
JSON
{
|
|
"name": "Docify",
|
|
"targets": {
|
|
"init": {
|
|
"jobs": [
|
|
{
|
|
"name": "vfs-mkdir",
|
|
"data": [
|
|
"build",
|
|
"build/debug",
|
|
"build/release"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"locale": {
|
|
"require": ["locale"],
|
|
"jobs": [
|
|
{
|
|
"name":"locale-gen",
|
|
"data": {
|
|
"src": "",
|
|
"exclude": ["build/", "api/", "css/", "coffees/"],
|
|
"locale": "en_GB",
|
|
"dest": "package.json"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"ts": {
|
|
"require": [
|
|
"ts"
|
|
],
|
|
"jobs": [
|
|
{
|
|
"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": [
|
|
"ts/dialogs.ts",
|
|
"ts/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": [
|
|
"assets/scheme.html",
|
|
"api/api.lua",
|
|
"package.json",
|
|
"README.md"
|
|
],
|
|
"dest": "build/debug"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"release": {
|
|
"require": [
|
|
"zip"
|
|
],
|
|
"depend": [
|
|
"init",
|
|
"ts",
|
|
"uglify",
|
|
"copy"
|
|
],
|
|
"jobs": [
|
|
{
|
|
"name": "zip-mk",
|
|
"data": {
|
|
"src": "build/debug",
|
|
"dest": "build/release/Docify.zip"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"debug": {
|
|
"depend": [
|
|
"init",
|
|
"ts",
|
|
"copy"
|
|
]
|
|
}
|
|
}
|
|
} |