mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-20 04:08:20 +01:00
94 lines
2.6 KiB
JSON
94 lines
2.6 KiB
JSON
{
|
|
"name": "SQLiteDB",
|
|
"targets":{
|
|
"clean": {
|
|
"jobs": [
|
|
{
|
|
"name": "vfs-rm_no_error",
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"name": "ts-compile",
|
|
"data": {
|
|
"src": ["main.ts"],
|
|
"dest": "build/debug/main.js"
|
|
}
|
|
},
|
|
{
|
|
"name": "ts-compile",
|
|
"data": {
|
|
"src": ["LibSQLite.ts"],
|
|
"dest": "build/debug/libsqlite.js"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"uglify": {
|
|
"require": ["terser"],
|
|
"jobs": [
|
|
{
|
|
"name":"terser-uglify",
|
|
"data": ["build/debug/main.js", "build/debug/libsqlite.js"]
|
|
}
|
|
]
|
|
},
|
|
"copy": {
|
|
"jobs": [
|
|
{
|
|
"name": "vfs-cp",
|
|
"data": {
|
|
"src": [
|
|
"scheme.html",
|
|
"package.json",
|
|
"README.md",
|
|
"api"
|
|
],
|
|
"dest":"build/debug"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"release": {
|
|
"depend": ["clean","build","uglify", "copy"],
|
|
"require": ["zip"],
|
|
"jobs": [
|
|
{
|
|
"name": "zip-mk",
|
|
"data": {
|
|
"src":"build/debug",
|
|
"dest":"build/release/SQLiteDB.zip"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"debug": {
|
|
"depend": ["clean","build", "copy"],
|
|
"jobs": [
|
|
{
|
|
"name": "vfs-cat",
|
|
"data": {
|
|
"src": [
|
|
"build/debug/main.js", "build/debug/libsqlite.js"
|
|
],
|
|
"dest":"build/debug/main.js"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |