# configuration/constants/shell.constants.ts

> 22 lines of code and 14 definitions.

Tree: GovLab Pipeline
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/pipeline#file-pipeline-configuration-constants-shell-constants-ts
Source text: https://banes-lab.com/source/pipeline/configuration/constants/shell.constants.ts.txt

Listed in [configuration/constants](https://banes-lab.com/api/source/pipeline/configuration/constants.md), after [configuration/constants/report.constants.ts](https://banes-lab.com/source/pipeline/configuration/constants/report.constants.ts.md) and before [configuration/constants/stage.constants.ts](https://banes-lab.com/source/pipeline/configuration/constants/stage.constants.ts.md).

## Definitions

- `ESC` (lexical_declaration, line 1)
- `C` (lexical_declaration, line 3, exported)
- `WINDOWS` (lexical_declaration, line 13, exported)
- `WINDOWS_SHELL` (lexical_declaration, line 15, exported)
- `WINDOWS_FLAG` (lexical_declaration, line 17, exported)
- `POSIX_SHELL` (lexical_declaration, line 19, exported)
- `POSIX_FLAG` (lexical_declaration, line 21, exported)
- `FLAG_SEPARATOR` (lexical_declaration, line 23, exported)
- `COMMAND_PROCESSOR_KEY` (lexical_declaration, line 25, exported)
- `PATH_KEY` (lexical_declaration, line 27, exported)
- `NODE_OPTIONS_KEY` (lexical_declaration, line 29, exported)
- `STAGE_NODE_OPTION` (lexical_declaration, line 31, exported)
- `BIN_SEGMENTS` (lexical_declaration, line 33, exported)
- `FALLBACK_EXIT` (lexical_declaration, line 35, exported)

## Contained in

- [configuration/constants](https://banes-lab.com/anatomy/pipeline/folder-pipeline-configuration-constants.md)

## Source

```typescript
const ESC = "\u001B[";

export const C = {
    bold: `${ESC}1m`,
    cyan: `${ESC}36m`,
    dim: `${ESC}2m`,
    green: `${ESC}32m`,
    red: `${ESC}31m`,
    reset: `${ESC}0m`,
    yellow: `${ESC}33m`,
} as const;

export const WINDOWS = "win32";

export const WINDOWS_SHELL = "cmd.exe";

export const WINDOWS_FLAG = "/d /s /c";

export const POSIX_SHELL = "/bin/sh";

export const POSIX_FLAG = "-c";

export const FLAG_SEPARATOR = " ";

export const COMMAND_PROCESSOR_KEY = "ComSpec";

export const PATH_KEY = "PATH";

export const NODE_OPTIONS_KEY = "NODE_OPTIONS";

export const STAGE_NODE_OPTION = "--conditions=development";

export const BIN_SEGMENTS: readonly string[] = ["node_modules", ".bin"];

export const FALLBACK_EXIT = 1;
```
