mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-16 02:18:22 +01:00
87 lines
2.4 KiB
JSON
87 lines
2.4 KiB
JSON
{
|
|
"name": "CodePad",
|
|
"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": [
|
|
"ts/main.ts",
|
|
"ts/BaseEditorModel.ts",
|
|
"ts/ACEModel.ts"
|
|
],
|
|
"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/main.css",
|
|
"assets/scheme.html",
|
|
"package.json",
|
|
"README.md"
|
|
],
|
|
"dest":"build/debug"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"debug": {
|
|
"depend": ["build", "copy"]
|
|
},
|
|
"run": {
|
|
"depend": ["debug"],
|
|
"jobs": [
|
|
{
|
|
"name": "sdk-run-app",
|
|
"data": "build/debug"
|
|
}
|
|
]
|
|
},
|
|
"release": {
|
|
"depend": ["debug","uglify"],
|
|
"require": ["zip"],
|
|
"jobs": [
|
|
{
|
|
"name": "zip-mk",
|
|
"data": {
|
|
"src":"build/debug",
|
|
"dest":"build/release/CodePad.zip"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |