antosdk-apps/vfsx/build.json

85 lines
2.2 KiB
JSON
Raw Permalink Normal View History

2021-10-12 12:22:12 +02:00
{
"name": "vfsx",
"targets":{
"clean": {
"jobs": [
{
"name": "vfs-rm",
"data": ["build/debug","build/release"]
}
]
},
"build": {
"require": ["ts"],
"jobs":[
{
"name": "vfs-mkdir",
"data": ["build","build/debug","build/release"]
},
{
"name": "ts-antos-sdk",
"data": {
"version": "2.0.x"
}
2021-10-12 12:22:12 +02:00
},
{
"name": "ts-compile",
"data": {
"src": ["gdv.ts"],
"dest": "build/debug/vfsx.js"
}
}
]
},
"uglify": {
"require": ["terser"],
"jobs": [
{
"name":"terser-uglify",
"data": ["build/debug/vfsx.js"]
}
]
},
"copy": {
"jobs": [
{
"name": "vfs-cp",
"data": {
"src": [
"package.json",
"README.md"
],
"dest":"build/debug"
}
}
]
},
"locale": {
"require": ["locale"],
"jobs": [
{
"name":"locale-gen",
"data": {
"src": "",
"exclude": ["build/"],
"locale": "en_GB",
"dest": "package.json"
}
}
]
},
"release": {
"depend": ["clean","build","uglify", "copy"],
"require": ["zip"],
"jobs": [
{
"name": "zip-mk",
"data": {
"src":"build/debug",
"dest":"build/release/vfsx.zip"
}
}
]
}
}
}