mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-16 02:18:22 +01:00
83 lines
2.3 KiB
JSON
83 lines
2.3 KiB
JSON
{
|
|
"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-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": ["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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |