UNPKG

652 BTypeScriptView Raw
1/**
2 * These environment variables work for: Travis CI, CircleCI, Gitlab CI,
3 * AppVeyor, CodeShip, Jenkins, TeamCity, Bitbucket Pipelines, AWS CodeBuild
4 */
5export declare const CI_ENVIRONMENT_VARIABLES: ReadonlyArray<string>;
6export declare const CI_ENVIRONMENT_VARIABLES_DETECTED: string[];
7export interface TerminalInfo {
8 /**
9 * Whether the terminal is an interactive TTY or not.
10 */
11 readonly tty: boolean;
12 /**
13 * Whether this is in CI or not.
14 */
15 readonly ci: boolean;
16 /**
17 * Whether this is a Windows shell or not.
18 */
19 readonly windows: boolean;
20}
21export declare const TERMINAL_INFO: TerminalInfo;