blob: ea28d23ca3aaa2e0acf97089df5172b03e4f9f37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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 };
|