Comparing version 8.2.1 to 8.2.2
@@ -224,2 +224,3 @@ 'use strict'; | ||
{ | ||
glob = ['**', '!**/node_modules/**'], | ||
cwd = process.cwd(), | ||
@@ -250,3 +251,3 @@ clean = false, | ||
stream | ||
.source('**', { baseDir: base }) | ||
.source(glob, { baseDir: base }) | ||
.filter(file => { | ||
@@ -253,0 +254,0 @@ return !/\.DS_Store$/.test(file) |
{ | ||
"name": "kopy", | ||
"version": "8.2.1", | ||
"version": "8.2.2", | ||
"description": "Gracefully copy a directory and render templates.", | ||
@@ -58,2 +58,5 @@ "license": "MIT", | ||
"babel-register" | ||
], | ||
"files": [ | ||
"test/test.js" | ||
] | ||
@@ -60,0 +63,0 @@ }, |
@@ -72,2 +72,9 @@ # kopy | ||
##### glob | ||
Type: `Array` `string`<br> | ||
Default: `'**', '!**/node_modules/**'` | ||
Use the glob pattern(s) to find files in `src` directory. | ||
##### template | ||
@@ -74,0 +81,0 @@ |
15879
247
250