# laravel-elixir-ng-annotate

> Laravel Elixir Angular Annotate Extension

Latest version **1.0.1** (published 2015-09-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install laravel-elixir-ng-annotate
pnpm add laravel-elixir-ng-annotate
yarn add laravel-elixir-ng-annotate
bun add laravel-elixir-ng-annotate
```

## 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.0.1 |
| Published | 2015-09-02 |
| First published | 2015-09-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | VivifyIdeas |
| Maintainers | vivify |
| Keywords | laravel, elixir, stylus, gulp |

## Links

- npm: https://www.npmjs.com/package/laravel-elixir-ng-annotate
- Repository: https://github.com/Vivify-Ideas/laravel-elixir-ng-annotate
- Issues: https://github.com/Vivify-Ideas/laravel-elixir-ng-annotate/issues
- npm.io page: https://npm.io/package/laravel-elixir-ng-annotate

## Dependencies (2)

- [gulp](https://npm.io/package/gulp.md) ^3.8.8
- [gulp-ng-annotate](https://npm.io/package/gulp-ng-annotate.md) ^1.1.0

## Recent versions

- 1.0.1 (latest) — 2015-09-02

## README

# laravel-elixir-ng-annotate

Elixir wrapper around gulp-ng-annotate

## Install

```bash
$ npm install --save-dev laravel-elixir-ng-annotate
```

## Usage

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

require('laravel-elixir-ng-annotate');

var appScripts = [
  'app/app.js',
  'app/routes.js',
  'app/**/*.js'
];

elixir(function(mix) {
   mix.annotate(appScripts);
});
```

This will annotate and concatenate all your Angular js files, then save the output as annotated.js in your public/js/ directory.

You can then apply the scripts tasks to the annotated.js as follows:

```js
   mix.scripts('annotated.js','public/js/app.js', 'public/js/');
```

Or chain it immediately

```js
    elixir(function(mix) {
       mix.annotate(appScripts).scripts('annotated.js','public/js/app.js', 'public/js/');
    });
```

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