antosdk-apps/Docify/build.json

111 lines
2.8 KiB
JSON
Raw Permalink Normal View History

2021-11-21 13:32:22 +01:00
{
"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/", "css/", "coffees/"],
"locale": "en_GB",
"dest": "package.json"
}
}
]
},
"ts": {
2021-11-21 13:32:22 +01:00
"require": [
"ts"
2021-11-21 13:32:22 +01:00
],
"jobs": [
{
"name": "ts-antos-sdk",
"data": {
"version": "2.0.x"
}
},
{
"name": "ts-compile",
2021-11-21 13:32:22 +01:00
"data": {
"src": [
"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",
"package.json",
"css/main.css",
2021-11-21 13:32:22 +01:00
"README.md"
],
"dest": "build/debug"
}
}
]
},
"release": {
"require": [
"zip"
],
"depend": [
"init",
"ts",
2021-11-21 13:32:22 +01:00
"uglify",
"copy"
],
"jobs": [
{
"name": "zip-mk",
"data": {
"src": "build/debug",
"dest": "build/release/Docify.zip"
}
}
]
},
"debug": {
"depend": [
"init",
"ts",
"copy"
]
2021-11-21 13:32:22 +01:00
}
}
}