Skip to content

Commit

Permalink
Add flag to skip loading files from config
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Jun 22, 2018
1 parent f645d9e commit 14c7e26
Show file tree
Hide file tree
Showing 5 changed files with 178 additions and 173 deletions.
11 changes: 2 additions & 9 deletions README.md
Expand Up @@ -5,7 +5,7 @@
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]

> TypeScript execution and REPL for node. **Works with `typescript@>=2.0`**.
> TypeScript execution and REPL for node.js, with source map support. **Works with `typescript@>=2.0`**.
## Installation

Expand All @@ -21,14 +21,6 @@ npm install -g typescript

**Tip:** Installing modules locally allows you to control and share the versions through `package.json`.

## Features

* Execute TypeScript files with node
* Interactive REPL
* Execute (and print) TypeScript through the CLI
* Source map support
* Loads compiler options from `tsconfig.json`

## Usage

```sh
Expand Down Expand Up @@ -134,6 +126,7 @@ _Environment variable denoted in parentheses._
* `-C, --compiler [name]` Specify a custom TypeScript compiler (`TS_NODE_COMPILER`)
* `-D, --ignoreDiagnostics [code]` Ignore TypeScript warnings by diagnostic code (`TS_NODE_IGNORE_DIAGNOSTICS`)
* `-O, --compilerOptions [opts]` JSON object to merge with compiler options (`TS_NODE_COMPILER_OPTIONS`)
* `--files` Load files from `tsconfig.json` on startup (`TS_NODE_FILES`)
* `--pretty` Use pretty diagnostic formatter (`TS_NODE_PRETTY`)
* `--no-cache` Disable the local TypeScript Node cache (`TS_NODE_CACHE`)
* `--skip-project` Skip project config resolution and loading (`TS_NODE_SKIP_PROJECT`)
Expand Down

0 comments on commit 14c7e26

Please sign in to comment.