New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

elixir-typescript

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elixir-typescript

Laravel Elixir Typescript Compiler Extension

  • 1.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

elixir-typescript

(forked from laravel-elixir-typescript by MikeyAlder)

Prerequirement

You have to install Laravel's Elixir(Version 3.0 or higher) and its dependencies first.

Upgrade

The signature was changed to the following:

mix.typescript(outputFileName, outputFolder, search, options);

Installation

Install with Node.js

npm install elixir-typescript

Usage

A simple gulp-typescript wrapper ingredient for Laravel Elixir.

Add it to your Elixir-enhanced Gulpfile, like so:

var elixir = require('laravel-elixir');

// import the dependency
var elixirTypscript = require('elixir-typescript');

elixir(function(mix) {
  mix.typescript('app.js');
});

This will compile all *.ts files in your resources/assets/typescript/ folder and concat the compiled content into public/js/app.js.

If you'd like to output to a different directory than the default public/js, then you may override this as well.

mix.typescript('app.js', 'public/js/foo/bar');

Parameters

Bellow is the list of the available parameters:

  • outputFileName: Filename for output
  • outputFolder(optional): Where to place the output file. Default: public/js/
  • search (optional): filter for input files, can also be a direct path to one file like app.ts. Defaults: /**/*.ts
  • options (optional): Options to forward to the gulp-typescript used for compiling. All options under https://github.com/ivogabe/gulp-typescript#options

Keywords

FAQs

Package last updated on 23 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc