mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-08 06:28:29 +01:00
66 lines
2.0 KiB
JSON
66 lines
2.0 KiB
JSON
|
{
|
||
|
"name": "Antedit",
|
||
|
"targets": {
|
||
|
"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/monaco.d.ts",
|
||
|
"ts/BaseEditorModel.ts",
|
||
|
"ts/MonacoEditorModel.ts",
|
||
|
"ts/main.ts",
|
||
|
"ts/EditorExtensionMaker.ts"
|
||
|
],
|
||
|
"dest": "build/debug/main.js"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "vfs-cp",
|
||
|
"data": {
|
||
|
"src": [
|
||
|
"extensions",
|
||
|
"assets/scheme.html",
|
||
|
"package.json",
|
||
|
"README.md",
|
||
|
"css/main.css"
|
||
|
],
|
||
|
"dest":"build/debug"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"uglify": {
|
||
|
"require": ["terser"],
|
||
|
"jobs": [
|
||
|
{
|
||
|
"name":"terser-uglify",
|
||
|
"data": ["build/debug/main.js"]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"release": {
|
||
|
"depend": ["build","uglify"],
|
||
|
"require": ["zip"],
|
||
|
"jobs": [
|
||
|
{
|
||
|
"name": "zip-mk",
|
||
|
"data": {
|
||
|
"src":"build/debug",
|
||
|
"dest":"build/release/Antedit.zip"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|