UNPKG

kt-extendscript-builder

Version:

Vite based builder for transpile TypeScript to ExtendScript

94 lines (93 loc) 3 kB
export declare const KTBuilderOptions: readonly [{ readonly name: "input"; readonly alias: "i"; readonly type: "string"; readonly description: "Input file"; }, { readonly name: "output"; readonly alias: "o"; readonly type: "string"; readonly description: "Output file path"; }, { readonly name: "tsconfig"; readonly alias: "ts"; readonly type: "string"; readonly description: "Path to tsconfig file"; }, { readonly name: "tsconfig-test-path"; readonly alias: readonly ["tt", "tsconfigTestPath"]; readonly type: "string"; readonly description: "Path to tsconfig test file"; }, { readonly name: "tsconfig-template"; readonly alias: readonly ["u", "tsconfigTemplate"]; readonly type: "boolean"; readonly description: "Use template tsconfig instead of custom"; }, { readonly name: "test"; readonly alias: "t"; readonly type: "boolean"; readonly description: "Build test files"; }, { readonly name: "watch"; readonly alias: "w"; readonly type: "boolean"; readonly description: "Enable watch mode"; }, { readonly name: "mode"; readonly alias: "m"; readonly type: "string"; readonly description: "Build mode (production or development)"; readonly default: "production"; readonly choices: readonly ["production", "development"]; }, { readonly name: "minify"; readonly alias: "min"; readonly type: "boolean"; readonly description: "Enable minification"; readonly default: false; }, { readonly name: "ponyfills"; readonly alias: "p"; readonly type: "array"; readonly description: "Custom ponyfills file paths"; }, { readonly name: "clean"; readonly alias: "c"; readonly type: "boolean"; readonly description: "Clean output directory before build"; }, { readonly name: "uglify"; readonly alias: "ug"; readonly type: "boolean"; readonly description: "Enable uglification of the output file"; }, { readonly name: "config-file"; readonly alias: readonly ["f", "configFile", "config-path"]; readonly type: "string"; readonly description: "Path to config file"; readonly default: "kt.config.json"; }, { readonly name: "priority"; readonly alias: "pr"; readonly type: "string"; readonly description: "Priority of the configuration source"; readonly choices: readonly ["CLI", "cli", "config"]; readonly default: "cli"; }, { readonly name: "preset"; readonly alias: "s"; readonly type: "string"; readonly description: "Configuration preset"; }, { readonly name: "dest-app"; readonly alias: readonly ["d", "destApp"]; readonly type: "string"; readonly description: "Adobe application for deployment"; }, { readonly name: "app-version"; readonly alias: readonly ["v", "appVersion"]; readonly type: "string"; readonly description: "Adobe application version"; }]; export type KTBuilderOption = (typeof KTBuilderOptions)[number];