# laravel-elixir-ts

> Laravel Elixir Typescript Extension

Latest version **1.1.3** (published 2016-11-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install laravel-elixir-ts
pnpm add laravel-elixir-ts
yarn add laravel-elixir-ts
bun add laravel-elixir-ts
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2016-11-26 |
| First published | 2016-10-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Goran Radosevic |
| Maintainers | gradosevic |
| Keywords | laravel, elixir, typescript |

## Links

- npm: https://www.npmjs.com/package/laravel-elixir-ts
- Repository: https://github.com/gradosevic/laravel-elixir-ts
- Homepage: https://github.com/gradosevic/laravel-elixir-ts#readme
- Issues: https://github.com/gradosevic/laravel-elixir-ts/issues
- npm.io page: https://npm.io/package/laravel-elixir-ts

## Dependencies (5)

- [gulp](https://npm.io/package/gulp.md) ^3.9.1
- [typescript](https://npm.io/package/typescript.md) ^2.0.10
- [laravel-elixir](https://npm.io/package/laravel-elixir.md) ^6.0.0-15
- [gulp-sourcemaps](https://npm.io/package/gulp-sourcemaps.md) ^2.2.1
- [gulp-typescript](https://npm.io/package/gulp-typescript.md) ^3.1.3

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.1.3 (latest) — 2016-11-26
- 1.1.2 — 2016-11-25
- 1.1.1 — 2016-11-25
- 1.1.0 — 2016-11-25
- 1.0.3 — 2016-11-25
- 1.0.2 — 2016-10-02
- 1.0.1 — 2016-10-02
- 1.0.0 — 2016-10-02

## README

# laravel-elixir-ts
Laravel Elixir Typescript Extension


This is TypeScript extension for Laravel 5 Elixir. It is a wrapper for gulp-typescript tested with Laravel 5.3 and Angular 2.0.

####Installation
```
npm i laravel-elixir-ts --save-dev
```

####Default source & destination
- Put all your source .ts files in **resources/assets/typescript**
- Transpiled files will be stored to **public/app**

####Usage
```js
mix.typescript();
//or
mix.typescript(options);
```

####Example of minimal gulpfile.js used with Angular 2 
```js

const elixir = require('laravel-elixir');
require('laravel-elixir-ts');

elixir(mix => {
    mix.typescript();
});
```

####Default options:
```js
{
  source: "/**/*.ts",
  destination: "public/app",
  target: "es5",
  module: "commonjs",
  moduleResolution: "node",
  sourceMap: true,
  inlineSourceMap: false,
  emitDecoratorMetadata: true,
  experimentalDecorators: true,
  removeComments: false,
  noImplicitAny: false
}
```

####Running
Run **"gulp"** or **"gulp watch"** command in console in the root folder.

####Additional options

For the list of all default options and values, please check:
https://github.com/ivogabe/gulp-typescript#options

Or check all available TypeScript options:
https://www.typescriptlang.org/docs/handbook/compiler-options.html

---
_Source: https://npm.io/package/laravel-elixir-ts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
