Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pylp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Pylp
A streamlined task runner designed for simplicity.
Compatible with all gulp plugins.
Installation
npm install pylpUsage
Create a pylp.js in the root of your project:
const { task, src, dest } = require('pylp');
task('copy-html', function () {
return src('./src/*.html').pipe(dest('./dist'));
});Run your task using:
pylp copy-htmlFor custom configurations, use the --config or -c flag:
pylp copy-html --config path/to/customConfig.jsFeatures
- Flexible task definitions
- Stream-based builds with Vinyl-FS
- Enhanced logging with Winston
API
task([taskName,] fn)
Both a getter and setter for tasks. Read more here
series(taskName || fn...)
Takes a variable amount of strings (taskName) and/or functions (fn) and returns a function of the composed tasks or functions. Read more here
parallel(taskName || fn...)
Takes a variable amount of strings (taskName) and/or functions (fn) and returns a function of the composed tasks or functions. Read more here
src(globs[, options])
Takes a glob string or an array of glob strings as the first argument and an options object as the second. Returns a stream of vinyl File objects. Read more here.
dest(folder[, options])
Takes a folder path string or a function as the first argument and an options object as the second. Read more here.
License
MIT