Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farism/gulp-elm-find-dependencies
A gulp plugin wrapping find-elm-dependencies
https://github.com/farism/gulp-elm-find-dependencies
elm gulp gulp-plugin
Last synced: 10 days ago
JSON representation
A gulp plugin wrapping find-elm-dependencies
- Host: GitHub
- URL: https://github.com/farism/gulp-elm-find-dependencies
- Owner: farism
- License: mit
- Created: 2017-08-20T01:56:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-21T19:27:11.000Z (over 7 years ago)
- Last Synced: 2024-12-11T11:42:58.631Z (28 days ago)
- Topics: elm, gulp, gulp-plugin
- Language: JavaScript
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-elm-find-dependencies [![Circle CI](https://circleci.com/gh/farism/gulp-elm-find-dependencies/tree/master.svg?style=svg)](https://circleci.com/gh/farism/gulp-elm-find-dependencies/tree/master)
Given an `*.elm` file, it will use [`find-elm-dependencies`](https://github.com/NoRedInk/find-elm-dependencies) to aggregate all of the dependencies for that tree. For each file found it will emit a vinyl object.
#### Example
```js
const elmFindDependencies = require('gulp-elm-find-dependencies')gulp.task('find-deps', () => {
return gulp.src('Main.elm')
.pipe(elmFindDependencies())
.pipe(gulp.dest('dependencies'))
})
```