UNPKG

733 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: readonly string[];
6export declare const CI_ENVIRONMENT_VARIABLES_DETECTED: string[];
7export interface TerminalInfo {
8 /**
9 * Whether this is in CI or not.
10 */
11 readonly ci: boolean;
12 /**
13 * Path to the user's shell program.
14 */
15 readonly shell: string;
16 /**
17 * Whether the terminal is an interactive TTY or not.
18 */
19 readonly tty: boolean;
20 /**
21 * Whether this is a Windows shell or not.
22 */
23 readonly windows: boolean;
24}
25export declare const TERMINAL_INFO: TerminalInfo;