gulp-dest-paths

0.1.1 • Public • Published

gulp-dest-paths NPM version

Adds destination related properties to the file.data.dest object on vinyl files.

Why file.data.dest?

  1. To keep the properties from poluting the root of the file object.
  2. data is commonly used for storing custom values.
  3. If you use [assemble], verb or [generate], these values are merged onto the context, so they can be used in templates.

Table of contents

(Table of contents generated by verb)

Install with npm

npm i gulp-dest-paths --save

Usage

var app = require('gulp-dest-paths');

Related projects

  • gulp-drafts: Gulp plugin for removing files flagged as drafts. Can also be used as an assemble… more
  • gulp-dest: Gulp plugin for easily defining destination paths using path variables.
  • gulp-extname: gulp plugin to dynamically rewrite dest extensions based on src extensions.
  • gulp-htmlmin: gulp plugin to minify HTML.
  • gulp-routes: Add middleware to run for specified routes in your gulp pipeline.

Running tests

Install dev dependencies:

npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on May 04, 2015.[assemble]: http://assemble.io

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i gulp-dest-paths

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • jonschlinkert