<commit_before># ember-cli-typescript

[![*nix build status](https://travis-ci.org/emberwatch/ember-cli-typescript.svg?branch=master)](https://travis-ci.org/emberwatch/ember-cli-typescript) [![Windows build status](https://ci.appveyor.com/api/projects/status/pjilqv1xo3o9auon/branch/master?svg=true)](https://ci.appveyor.com/project/chriskrycho/ember-cli-typescript/branch/master) [![Ember Observer Score](https://emberobserver.com/badges/ember-cli-typescript.svg)](https://emberobserver.com/addons/ember-cli-typescript)

Use TypeScript in your Ember 2.x apps!


## Installation

Just run:

```
ember install ember-cli-typescript
```

All dependencies will be added to your `package.json`, and you're ready to roll!

In addition to ember-cli-typescript, the following are installed:

- Packages:
    + [`typescript`](https://github.com/Microsoft/TypeScript) (2.4 or greater)
    + [`@types/ember`](https://www.npmjs.com/package/@types/ember)
    + [`@types/rsvp`](https://www.npmjs.com/package/@types/rsvp)
    + [`@types/ember-testing-helpers`](https://www.npmjs.com/package/@types/ember-testing-helpers)
- Files:
    + [`tsconfig.json`](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html)

### Upgrading

1. Update `package.json` for `ember-cli-typescript` to `^1.0.0`.
2. Run `yarn` or `npm install`.
3. Run `ember g ember-cli-tylescript` to update the generated files (`tsconfig.json` in particular), and review the changes before committing. If you've made specific customizations, you may want to merge them; see the [Notes on `tsconfig.json`](https://github.com/typed-ember/ember-cli-typescript/tree/v1.0.0#notes-on-tsconfigjson) in the README.


## Notes on `tsconfig.json`

If you make changes to the paths included in your `tsconfig.json`, you will need
to restart the server to take the changes into account. Additionally, depending
on what you're doing, you may notice that your tweaks to `tsconfig.json` aren't
applied *exactly* as you might expect.

### The Problem

The configuration file is used by both Ember CLI (via [broccoli]) and for tool
integration in editors.

[broccoli]: http://broccolijs.com/

Broccoli controls the inputs and the output folder of the various build steps
that make the Ember build pipeline. Its expectation are impacted by TypeScript
configuration properties like "include", "exclude", "outFile", "outDir".
<commit_msg>It's spelled typescript, not "tylescript".<commit_after># ember-cli-typescript

[![*nix build status](https://travis-ci.org/emberwatch/ember-cli-typescript.svg?branch=master)](https://travis-ci.org/emberwatch/ember-cli-typescript) [![Windows build status](https://ci.appveyor.com/api/projects/status/pjilqv1xo3o9auon/branch/master?svg=true)](https://ci.appveyor.com/project/chriskrycho/ember-cli-typescript/branch/master) [![Ember Observer Score](https://emberobserver.com/badges/ember-cli-typescript.svg)](https://emberobserver.com/addons/ember-cli-typescript)

Use TypeScript in your Ember 2.x apps!


## Installation

Just run:

```
ember install ember-cli-typescript
```

All dependencies will be added to your `package.json`, and you're ready to roll!

In addition to ember-cli-typescript, the following are installed:

- Packages:
    + [`typescript`](https://github.com/Microsoft/TypeScript) (2.4 or greater)
    + [`@types/ember`](https://www.npmjs.com/package/@types/ember)
    + [`@types/rsvp`](https://www.npmjs.com/package/@types/rsvp)
    + [`@types/ember-testing-helpers`](https://www.npmjs.com/package/@types/ember-testing-helpers)
- Files:
    + [`tsconfig.json`](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html)

### Upgrading

1. Update `package.json` for `ember-cli-typescript` to `^1.0.0`.
2. Run `yarn` or `npm install`.
3. Run `ember g ember-cli-typescript` to update the generated files (`tsconfig.json` in particular), and review the changes before committing. If you've made specific customizations, you may want to merge them; see the [Notes on `tsconfig.json`](https://github.com/typed-ember/ember-cli-typescript/tree/v1.0.0#notes-on-tsconfigjson) in the README.


## Notes on `tsconfig.json`

If you make changes to the paths included in your `tsconfig.json`, you will need
to restart the server to take the changes into account. Additionally, depending
on what you're doing, you may notice that your tweaks to `tsconfig.json` aren't
applied *exactly* as you might expect.

### The Problem

The configuration file is used by both Ember CLI (via [broccoli]) and for tool
integration in editors.

[broccoli]: http://broccolijs.com/

Broccoli controls the inputs and the output folder of the various build steps
that make the Ember build pipeline. Its expectation are impacted by TypeScript
configuration properties like "include", "exclude", "outFile", "outDir".

{'fraction_non_alphanumeric': 0.13783727253712613, 'fraction_numerical': 0.006274837900020916, 'mean_word_length': 4.817518248175182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 24, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5116938', 'n_tokens_mistral': 1573, 'n_tokens_neox': 1502, 'n_words': 420}