gulp-dest-paths
Adds destination-related properties to the `file.data.dest` object on vinyl files.
Last updated 10 years ago by jonschlinkert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install gulp-dest-paths 
SYNC missed versions from official npm registry.

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 [template]: https://github.com/jonschlinkert/template [verb]: https://github.com/assemble/verb

Current Tags

  • 0.1.1                                ...           latest (10 years ago)

2 Versions

  • 0.1.1                                ...           10 years ago
  • 0.1.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (3)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE