diff options
Diffstat (limited to 'node_modules/nexe/lib/options.d.ts')
-rw-r--r-- | node_modules/nexe/lib/options.d.ts | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/node_modules/nexe/lib/options.d.ts b/node_modules/nexe/lib/options.d.ts new file mode 100644 index 0000000..ea28d23 --- /dev/null +++ b/node_modules/nexe/lib/options.d.ts @@ -0,0 +1,56 @@ +import * as parseArgv from 'minimist'; +import { NexeCompiler } from './compiler'; +import { NexeTarget } from './target'; +export declare const version = "{{replace:0}}"; +export interface NexePatch { + (compiler: NexeCompiler, next: () => Promise<void>): Promise<void>; +} +export interface NexeOptions { + build: boolean; + input: string; + output: string; + targets: (string | NexeTarget)[]; + name: string; + remote: string; + asset: string; + cwd: string; + fs: boolean | string[]; + flags: string[]; + configure: string[]; + vcBuild: string[]; + make: string[]; + snapshot?: string; + resources: string[]; + temp: string; + rc: { + [key: string]: string; + }; + enableNodeCli: boolean; + bundle: boolean | string; + patches: (string | NexePatch)[]; + plugins: (string | NexePatch)[]; + native: any; + mangle: boolean; + ghToken: string; + sourceUrl?: string; + enableStdIn?: boolean; + python?: string; + loglevel: 'info' | 'silent' | 'verbose'; + silent?: boolean; + fakeArgv?: boolean; + verbose?: boolean; + info?: boolean; + ico?: string; + debugBundle?: boolean; + warmup?: string; + clean?: boolean; + /** + * Api Only + */ + downloadOptions: any; +} +declare const argv: parseArgv.ParsedArgs; +declare let help: string; +export declare function resolveEntry(input: string, cwd: string, maybeEntry: string | undefined, bundle: boolean | string): string; +declare function normalizeOptions(input?: Partial<NexeOptions>): NexeOptions; +export { argv, normalizeOptions, help }; |