1 | import * as parseArgv from 'minimist';
|
2 | import { NexeCompiler } from './compiler';
|
3 | import { NexeTarget } from './target';
|
4 | export declare const version = "{{replace:0}}";
|
5 | export interface NexePatch {
|
6 | (compiler: NexeCompiler, next: () => Promise<void>): Promise<void>;
|
7 | }
|
8 | export interface NexeOptions {
|
9 | build: boolean;
|
10 | input: string;
|
11 | output: string;
|
12 | targets: (string | NexeTarget)[];
|
13 | name: string;
|
14 | remote: string;
|
15 | asset: string;
|
16 | cwd: string;
|
17 | fs: boolean | string[];
|
18 | flags: string[];
|
19 | configure: string[];
|
20 | vcBuild: string[];
|
21 | make: string[];
|
22 | snapshot?: string;
|
23 | resources: string[];
|
24 | temp: string;
|
25 | rc: {
|
26 | [key: string]: string;
|
27 | };
|
28 | enableNodeCli: boolean;
|
29 | bundle: boolean | string;
|
30 | patches: (string | NexePatch)[];
|
31 | plugins: (string | NexePatch)[];
|
32 | native: any;
|
33 | mangle: boolean;
|
34 | ghToken: string;
|
35 | sourceUrl?: string;
|
36 | enableStdIn?: boolean;
|
37 | python?: string;
|
38 | loglevel: 'info' | 'silent' | 'verbose';
|
39 | silent?: boolean;
|
40 | fakeArgv?: boolean;
|
41 | verbose?: boolean;
|
42 | info?: boolean;
|
43 | ico?: string;
|
44 | debugBundle?: boolean;
|
45 | warmup?: string;
|
46 | clean?: boolean;
|
47 | |
48 |
|
49 |
|
50 | downloadOptions: any;
|
51 | }
|
52 | declare const argv: parseArgv.ParsedArgs;
|
53 | declare let help: string;
|
54 | export declare function resolveEntry(input: string, cwd: string, maybeEntry: string | undefined, bundle: boolean | string): string;
|
55 | declare function normalizeOptions(input?: Partial<NexeOptions>): NexeOptions;
|
56 | export { argv, normalizeOptions, help };
|