antosdk-apps/GitGraph/build.json

101 lines
2.8 KiB
JSON
Raw Permalink Normal View History

2022-07-04 19:31:17 +02:00
{
"name": "GitGraph",
"targets":{
"clean": {
"jobs": [
{
2022-07-04 21:47:25 +02:00
"name": "vfs-rm_no_error",
"data": ["build/debug","build/release"]
2022-07-04 19:31:17 +02:00
}
]
},
"build": {
"require": ["ts"],
"jobs":[
{
"name": "vfs-mkdir",
"data": ["build","build/debug","build/release"]
},
{
"name": "ts-antos-sdk",
"data": {
"version": "2.0.x"
}
2022-07-04 19:31:17 +02:00
},
{
"name": "ts-compile",
"data": {
"src": ["main.ts"],
"dest": "build/debug/main.js"
}
},
{
"name": "ts-compile",
"data": {
"src": ["LibGitGraph.ts"],
"dest": "build/debug/libgitgraph.js"
}
}
]
},
"uglify": {
"require": ["terser"],
"jobs": [
{
"name":"terser-uglify",
"data": ["build/debug/main.js"]
},
{
"name":"terser-uglify",
"data": ["build/debug/libgitgraph.js"]
}
]
},
"copy": {
"jobs": [
{
"name": "vfs-cp",
"data": {
"src": [
"scheme.html",
"package.json",
"README.md",
"api",
"main.css"
],
"dest":"build/debug"
}
}
]
},
"debug" : {
"depend": ["clean","build", "copy"],
"jobs": [
{
"name": "vfs-cat",
"data": {
"src": [
"build/debug/main.js",
"build/debug/libgitgraph.js"
],
"dest":"build/debug/main.js"
}
}
]
},
"release": {
"depend": ["clean","build","uglify", "copy"],
"require": ["zip"],
"jobs": [
{
"name": "zip-mk",
"data": {
"src":"build/debug",
"dest":"build/release/GitGraph.zip"
}
}
]
}
}
}