antosdk-apps/Antedit/build.json

93 lines
2.7 KiB
JSON
Raw Permalink Normal View History

2021-04-19 16:48:53 +02:00
{
"name": "Antedit",
"targets": {
"copy": {
2021-04-19 16:48:53 +02:00
"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": [
2021-04-19 16:48:53 +02:00
{
"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"
}
}
]
},
"locale": {
"require": ["locale"],
"jobs": [
{
"name":"locale-gen",
"data": {
"src": "",
"exclude": ["build/", "css/"],
"locale": "en_GB",
"dest": "package.json"
}
}
]
},
2021-04-19 16:48:53 +02:00
"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"
}
]
2021-04-19 16:48:53 +02:00
}
}
}