mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-08 14:38:28 +01:00
95 lines
2.6 KiB
JSON
95 lines
2.6 KiB
JSON
{
|
|
"name": "Antedit",
|
|
"targets": {
|
|
"copy": {
|
|
"jobs": [
|
|
{
|
|
"name": "vfs-mkdir",
|
|
"data": ["build","build/debug","build/release"]
|
|
},
|
|
{
|
|
"name": "vfs-cp",
|
|
"data": {
|
|
"src": [
|
|
"extensions",
|
|
"assets/scheme.html",
|
|
"package.json",
|
|
"README.md",
|
|
"css/main.css"
|
|
],
|
|
"dest":"build/debug"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"build": {
|
|
"depend": ["copy"],
|
|
"require":["ts"],
|
|
"jobs": [
|
|
{
|
|
"name": "ts-antos-sdk",
|
|
"data": {
|
|
"version": "2.0.x"
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"locale": {
|
|
"require": ["locale"],
|
|
"jobs": [
|
|
{
|
|
"name":"locale-gen",
|
|
"data": {
|
|
"src": "",
|
|
"exclude": ["build/", "css/"],
|
|
"locale": "en_GB",
|
|
"dest": "package.json"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"run": {
|
|
"jobs": [
|
|
{
|
|
"name": "sdk-run-app",
|
|
"data": "build/debug"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |