0.19.0 • Published 1 month ago

@hidoo/gulp-task-copy v0.19.0

Weekly downloads
1
License
MIT
Repository
-
Last release
1 month ago

@hidoo/gulp-task-copy

Task that copy files for gulp.

Installation

$ npm install --save-dev gulp@next @hidoo/gulp-task-copy

Usage

import { task } from 'gulp';
import { concatJs } from '@hidoo/gulp-task-copy';

task(
  'copy',
  copy({
    src: '/path/to/src',
    dest: '/path/to/dest'
  })
);

API

copy

return copy files task

Parameters

  • options Object options (optional, default {})

    • options.name String task name (use as displayName) (optional, default 'copy:asset')
    • options.src String source path
    • options.dest String destination path

Examples

import { task } from 'gulp';
import copy from '@hidoo/gulp-task-copy';

task(
  'copy',
  copy({
    name: 'copy:main',
    src: '/path/to/src',
    dest: '/path/to/dest'
  })
);

Returns Function[Stream](https://nodejs.org/api/stream.html)

Test

$ pnpm test

License

MIT

1.0.0-alpha.1

1 month ago

1.0.0-alpha.0

3 months ago

0.19.0

3 years ago

0.18.0

3 years ago

0.17.0

3 years ago

0.16.0

3 years ago

0.15.0

4 years ago

0.14.1

4 years ago

0.14.0

4 years ago

0.13.0

5 years ago

0.12.0

5 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.9.0

5 years ago

0.8.4

5 years ago

0.8.3

5 years ago

0.8.2

5 years ago

0.8.1

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago