gulp-copy

WebJar for gulp-copy

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

gulp-copy
Последняя версия

Последняя версия

4.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

gulp-copy
WebJar for gulp-copy
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/klaascuvelier/gulp-copy

Скачать gulp-copy

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/gulp-copy/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>gulp-copy</artifactId>
    <version>4.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/gulp-copy/
implementation 'org.webjars.npm:gulp-copy:4.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/gulp-copy/
implementation ("org.webjars.npm:gulp-copy:4.0.1")
'org.webjars.npm:gulp-copy:jar:4.0.1'
<dependency org="org.webjars.npm" name="gulp-copy" rev="4.0.1">
  <artifact name="gulp-copy" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='gulp-copy', version='4.0.1')
)
libraryDependencies += "org.webjars.npm" % "gulp-copy" % "4.0.1"
[org.webjars.npm/gulp-copy "4.0.1"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.webjars.npm : gulp jar [4.0.0,5)
org.webjars.npm : plugin-error jar [0.1.2,0.2)
org.webjars.npm : through2 jar [2.0.3,3)

Модули Проекта

Данный проект не имеет модулей.

npm version build status

gulp-copy

Copy source files to new destination and use that destination as new source (for further piping). Automatically creates needed folders before proceeding. Ability to remove 'prefixes' from path.

Most likely you don't need this package for your gulp pipeline, a lot can be accomplished with just gulp.dest. A reason to use this package would be to keep some depth (prefix options).

Usage

// gulpfile.js

var gulpCopy = require('gulp-copy');
var otherGulpFunction = require('gulp-other-function');
var sourceFiles = ['source1/*', 'source2/*.txt'];
var destination = 'dest/';
var outputPath = 'some-other-dest/';

return gulp
    .src(sourceFiles)
    .pipe(gulpCopy(outputPath, options))
    .pipe(otherGulpFunction())
    .dest(destination);

Options

prefix: integer, defining how many parts of the path (separated by /) should be removed from the original path

Example

A simple implemention of a gulpfile using gulp-copy is available in the example folder. You can run gulp or npx gulp from within the folder.

Updates

See changelog for all updates.

Версии библиотеки

Версия
4.0.1
1.0.0