{"id":13486015,"url":"https://github.com/okaufmann/laravel-elixir-typescript","last_synced_at":"2025-03-27T20:32:05.681Z","repository":{"id":57222468,"uuid":"42302989","full_name":"okaufmann/laravel-elixir-typescript","owner":"okaufmann","description":"Gulp-Typescript plugin for Laravel Elixir","archived":true,"fork":true,"pushed_at":"2017-05-04T07:12:39.000Z","size":32,"stargazers_count":9,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-01T18:25:23.858Z","etag":null,"topics":["elixir","laravel","typescript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mikeygcooper/laravel-elixir-typescript","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/okaufmann.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-11T10:42:48.000Z","updated_at":"2023-01-28T19:46:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/okaufmann/laravel-elixir-typescript","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okaufmann%2Flaravel-elixir-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okaufmann%2Flaravel-elixir-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okaufmann%2Flaravel-elixir-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okaufmann%2Flaravel-elixir-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okaufmann","download_url":"https://codeload.github.com/okaufmann/laravel-elixir-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222313522,"owners_count":16965313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","laravel","typescript"],"created_at":"2024-07-31T18:00:36.859Z","updated_at":"2024-10-30T21:30:38.193Z","avatar_url":"https://github.com/okaufmann.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"laravel-elixir-typescript\n========================\n\n**(forked from laravel-elixir-typescript by [MikeyAlder](https://github.com/MikeyAlder/laravel-elixir-typescript))**\n\n[![npm version](https://badge.fury.io/js/laravel-elixir-typescript.svg)](https://badge.fury.io/js/laravel-elixir-typescript)\n\n## Renaming Notice\nSince the original version of @MikeyAlder is no longer maintained this Plugin uses now it's name `laravel-elixir-typescript`.\n**Please do no longer use `elixir-typescript`**\n\n## Prerequirement\nYou have to install [Laravel's Elixir](http://laravel.com/docs/master/elixir)(Version 6.0 or higher) and its dependencies first.\n\nConsult Changelog.md\n\n## Installation\nInstall through Node.js\n\n```js\nyarn add laravel-elixir-typescript\n```\n\n## Usage\nA simple [gulp-typescript](https://github.com/ivogabe/gulp-typescript) wrapper ingredient for Laravel Elixir.\n\nAdd it to your Elixir-enhanced Gulpfile, like so:\n\n```js\nvar elixir = require('laravel-elixir');\n\n// import the dependency\nrequire('laravel-elixir-typescript');\n\nelixir(function(mix) {\n  mix.typescript('app.ts');\n});\n```\n\nThis will compile `app.ts` in `resources/assets/typescript/` and concat the compiled content into `public/js/app.js`.\n\nIf you'd like to output to a different directory than the default `public/js`, then you may override this by providing an output path as a second parameter.\n\n```js\nmix.typescript('app.ts', 'public/js/foo/bar.js');\n```\n\nFurther you could insert multiple files like\n\n```js\nelixir(function(mix) {\n  mix.typescript(['module1.ts', 'module2.ts']);\n});\n```\n\n### tsconfig.json\nJust put `tsconfig.json` into the root folder (where your gulpfile.js lives) and the plugin will automatically use it.\n\n## Parameters\n\nBellow is the list of the available parameters:\n\n- **src**: Filename for output\n- **output**(optional): Where to place the output file. Default: `public/js/`\n- **baseDir,**(optional): Where to search your ts files. Default: `null`\n- **options** (optional): Options to forward to the `gulp-typescript` used for compiling. All options under https://github.com/ivogabe/gulp-typescript#options\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokaufmann%2Flaravel-elixir-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokaufmann%2Flaravel-elixir-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokaufmann%2Flaravel-elixir-typescript/lists"}