@videinfra/static-website-builder 1.9.1 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/init/index.js +56 -56
  3. package/init/test/config/config.js +36 -36
  4. package/init/test/src/stylesheets/autoprefixer-test.scss +3 -3
  5. package/init/test/src/stylesheets/ignore-test.scss +4 -4
  6. package/init/test/src/stylesheets/nested-calc-test.scss +3 -3
  7. package/init/test/src/stylesheets/sub-folder/import-test.scss +2 -2
  8. package/lib/camelize-file-name.js +21 -21
  9. package/lib/get-config.js +157 -157
  10. package/lib/get-file-names.js +23 -23
  11. package/lib/get-path.js +109 -109
  12. package/lib/globs-helper.js +136 -136
  13. package/lib/log-error.js +15 -15
  14. package/lib/merge.js +27 -27
  15. package/package.json +4 -3
  16. package/plugins/sass-engine/preprocess-config.js +54 -54
  17. package/plugins/sass.js +38 -38
  18. package/plugins/twig-engine/preprocess-config.js +47 -47
  19. package/plugins/twig.js +65 -53
  20. package/tasks/data/data-loader-js.js +5 -5
  21. package/tasks/data/get-data.js +87 -87
  22. package/tasks/html/task.js +91 -91
  23. package/tasks/icons/config.js +52 -52
  24. package/tasks/javascripts/preprocess-config.js +42 -4
  25. package/tasks/javascripts/task.js +1 -1
  26. package/tasks/stylesheets/config.js +88 -88
  27. package/tasks/stylesheets/preprocess-config.js +41 -41
  28. package/tasks/stylesheets/task.js +69 -69
  29. package/tests/build/build.test.js +101 -101
  30. package/tests/camelize-file-name.test.js +11 -11
  31. package/tests/glob-helper.test.js +99 -99
  32. package/vendor/gulp-twig/LICENSE +20 -0
  33. package/vendor/gulp-twig/README.md +167 -0
  34. package/vendor/gulp-twig/index.js +130 -0
  35. package/vendor/gulp-twig/package.json +43 -0
  36. package/vendor/webpack-stream/index.js +261 -0
  37. package/vendor/webpack-stream/package.json +91 -0
  38. package/vendor/webpack-stream/readme.md +239 -0
@@ -0,0 +1,167 @@
1
+ [![Build Status](https://travis-ci.org/zimmen/gulp-twig.png?branch=master)](https://travis-ci.org/zimmen/gulp-twig)
2
+
3
+ <table>
4
+ <tr>
5
+ <td>Package</td><td>gulp-twig</td>
6
+ </tr>
7
+ <tr>
8
+ <td>Description</td>
9
+ <td>Twig plugin for gulp.js, The streaming build system</td>
10
+ </tr>
11
+ <tr>
12
+ <td>Node Version</td>
13
+ <td>>= 4</td>
14
+ </tr>
15
+ <tr>
16
+ <td>Gulp Version</td>
17
+ <td>3.x</td>
18
+ </tr>
19
+ </table>
20
+
21
+
22
+ Compile [Twig.js](https://github.com/justjohn/twig.js) templates with Gulp. Build upon [Twig.js](https://github.com/justjohn/twig.js) , the JS port of the Twig templating language by John Roepke.
23
+
24
+ You can use this plugin with [gulp-data](https://www.npmjs.com/package/gulp-data).
25
+
26
+ ## Usage
27
+
28
+ ### Install
29
+
30
+ ```bash
31
+ npm install gulp-twig --save
32
+ ```
33
+ ### Example
34
+
35
+ ```html
36
+ {# index.twig #}
37
+ {% extends "layout.twig" %}
38
+
39
+ {% block page %}
40
+ <header>
41
+ <h1>Gulp and Twig.js</h1>
42
+ </header>
43
+ <p>
44
+ This page is generated by Twig.js using the gulp-twig gulp plugin.
45
+ </p>
46
+ <ul>
47
+ {% for value in benefits %}
48
+ <li>{{ value }}</li>
49
+ {% endfor %}
50
+ </ul>
51
+ {% endblock %}
52
+ ```
53
+
54
+ ```html
55
+ {# layout.twig #}
56
+ <!DOCTYPE html>
57
+ <html>
58
+ <head>
59
+ <meta charset="utf-8"/>
60
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
61
+ <meta name="description" content="A demo of how to use gulp-twig"/>
62
+ <meta name="author" content="Simon de Turck"/>
63
+ <meta name="viewport" content="width=device-width,initial-scale=1">
64
+
65
+ <title>{{ title }}</title>
66
+
67
+ </head>
68
+ <body>
69
+ <section>
70
+ {% block page %}{% endblock %}
71
+ </section>
72
+ </body>
73
+ </html>
74
+ ```
75
+
76
+ ```javascript
77
+ var gulp = require('gulp');
78
+
79
+ gulp.task('compile', function () {
80
+ 'use strict';
81
+ var twig = require('gulp-twig');
82
+ return gulp.src('./index.twig')
83
+ .pipe(twig({
84
+ data: {
85
+ title: 'Gulp and Twig',
86
+ benefits: [
87
+ 'Fast',
88
+ 'Flexible',
89
+ 'Secure'
90
+ ]
91
+ }
92
+ }))
93
+ .pipe(gulp.dest('./'));
94
+ });
95
+
96
+ gulp.task('default', ['compile']);
97
+ ```
98
+
99
+ ### Options:
100
+ **data**: [object| *The data that is exposed in the twig files. Or use gulp-data to pipe files directly into gulp-twig*
101
+
102
+ **base**: [string] *sets the views base folder. Extends can be loaded relative to this path*
103
+
104
+ **errorLogToConsole**: [true|false] *logs errors to console (defaults to false)*
105
+
106
+ **onError**: [function] *handle error yourself*
107
+
108
+ **cache**: [true|false] *enables the Twig cache. (defaults to false)*
109
+
110
+ **debug**: [true|false] *enables debug info logging (defaults to false)*
111
+
112
+ **trace**: [true|false] *enables tracing info logging (defaults to false)*
113
+
114
+ **extend**: [function (Twig)] *extends Twig with new tags types. The Twig attribute is Twig.js's internal object. [Read more here](https://github.com/justjohn/twig.js/wiki/Extending-twig.js-With-Custom-Tags)*
115
+
116
+ **extname**: [string|true|false] *output file extension including the '.' like path.extname(filename). Use `true` to keep source extname and a "falsy" value to drop the file extension*
117
+
118
+ **useFileContents**: [true|false] *use file contents instead of file path (defaults to false) [Read more here](https://github.com/zimmen/gulp-twig/issues/30)*
119
+
120
+ **functions**: [array] *extends Twig with given function objects. (default to undefined)*
121
+ ```javascript
122
+ [
123
+ {
124
+ name: "nameOfFunction",
125
+ func: function (args) {
126
+ return "the function";
127
+ }
128
+ }
129
+ ]
130
+ ```
131
+
132
+ **filters**: [array] *extends Twig with given filter objects. (default to undefined)*
133
+ ```javascript
134
+ [
135
+ {
136
+ name: "nameOfFilter",
137
+ func: function (args) {
138
+ return "the filter";
139
+ }
140
+ }
141
+ ]
142
+ ```
143
+ ### LICENSE
144
+
145
+ (MIT License)
146
+
147
+ Copyright (c) 2015 Simon de Turck <simon@zimmen.com> www.zimmen.com
148
+
149
+ Permission is hereby granted, free of charge, to any person obtaining
150
+ a copy of this software and associated documentation files (the
151
+ "Software"), to deal in the Software without restriction, including
152
+ without limitation the rights to use, copy, modify, merge, publish,
153
+ distribute, sublicense, and/or sell copies of the Software, and to
154
+ permit persons to whom the Software is furnished to do so, subject to
155
+ the following conditions:
156
+
157
+ The above copyright notice and this permission notice shall be
158
+ included in all copies or substantial portions of the Software.
159
+
160
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
161
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
162
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
163
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
164
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
165
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
166
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
167
+
@@ -0,0 +1,130 @@
1
+ // 2024-02-13, Kaspars Zuks: added "options.async" support
2
+ var map = require('map-stream');
3
+ var rext = require('replace-ext');
4
+ var log = require('fancy-log');
5
+ var PluginError = require('plugin-error');
6
+
7
+ const PLUGIN_NAME = 'gulp-twig';
8
+
9
+ module.exports = function (options) {
10
+ 'use strict';
11
+ options = Object.assign({}, {
12
+ changeExt: true,
13
+ extname: '.html',
14
+ useFileContents: false,
15
+ async: true,
16
+ }, options || {});
17
+
18
+ function modifyContents(file, cb) {
19
+ var data = file.data || Object.assign({}, options.data);
20
+
21
+ if (file.isNull()) {
22
+ return cb(null, file);
23
+ }
24
+
25
+ if (file.isStream()) {
26
+ return cb(new PluginError(PLUGIN_NAME, 'Streaming not supported!'));
27
+ }
28
+
29
+ data._file = file;
30
+ if(options.changeExt === false || options.extname === true){
31
+ data._target = {
32
+ path: file.path,
33
+ relative: file.relative
34
+ }
35
+ }else{
36
+ data._target = {
37
+ path: rext(file.path, options.extname || ''),
38
+ relative: rext(file.relative, options.extname || '')
39
+ }
40
+ }
41
+
42
+ var Twig = require('twig'),
43
+ twig = Twig.twig,
44
+ twigOpts = {
45
+ path: file.path,
46
+ async: false
47
+ },
48
+ template;
49
+
50
+ if (options.debug !== undefined) {
51
+ twigOpts.debug = options.debug;
52
+ }
53
+ if (options.trace !== undefined) {
54
+ twigOpts.trace = options.trace;
55
+ }
56
+ if (options.base !== undefined) {
57
+ twigOpts.base = options.base;
58
+ }
59
+ if (options.namespaces !== undefined) {
60
+ twigOpts.namespaces = options.namespaces;
61
+ }
62
+ if (options.cache !== true) {
63
+ Twig.cache(false);
64
+ }
65
+
66
+ if (options.functions) {
67
+ options.functions.forEach(function (func) {
68
+ Twig.extendFunction(func.name, func.func);
69
+ });
70
+ }
71
+
72
+ if (options.filters) {
73
+ options.filters.forEach(function (filter) {
74
+ Twig.extendFilter(filter.name, filter.func);
75
+ });
76
+ }
77
+
78
+ if(options.extend) {
79
+ Twig.extend(options.extend);
80
+ delete options.extend;
81
+ }
82
+
83
+ if (options.useFileContents) {
84
+ var fileContents = file.contents.toString();
85
+ twigOpts.data = fileContents
86
+ }
87
+
88
+ template = twig(twigOpts);
89
+
90
+ if (options.async) {
91
+ template.renderAsync(data)
92
+ .then(function (output) {
93
+ file.contents = new Buffer(output);
94
+ file.path = data._target.path;
95
+ cb(null, file);
96
+ })
97
+ .catch(function (e) {
98
+ if (options.errorLogToConsole) {
99
+ log(PLUGIN_NAME + ' ' + e);
100
+ cb();
101
+ } else if (typeof options.onError === 'function') {
102
+ options.onError(e);
103
+ cb();
104
+ } else {
105
+ cb(new PluginError(PLUGIN_NAME, e));
106
+ }
107
+ });
108
+ } else {
109
+ try {
110
+ file.contents = new Buffer(template.render(data));
111
+ }catch(e){
112
+ if (options.errorLogToConsole) {
113
+ log(PLUGIN_NAME + ' ' + e);
114
+ return cb();
115
+ }
116
+
117
+ if (typeof options.onError === 'function') {
118
+ options.onError(e);
119
+ return cb();
120
+ }
121
+ return cb(new PluginError(PLUGIN_NAME, e));
122
+ }
123
+
124
+ file.path = data._target.path;
125
+ cb(null, file);
126
+ }
127
+ }
128
+
129
+ return map(modifyContents);
130
+ };
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "gulp-twig",
3
+ "description": "Twig.js plugin for gulp.js (gulpjs.com)",
4
+ "version": "1.2.0",
5
+ "homepage": "http://github.com/zimmen/gulp-twig",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "http://github.com/zimmen/gulp-twig.git"
9
+ },
10
+ "author": "Simon de Turck <simon@zimmen.com> (http://www.zimmen.com)",
11
+ "main": "./index.js",
12
+ "dependencies": {
13
+ "fancy-log": "^1.3.2",
14
+ "map-stream": "^0.1.0",
15
+ "plugin-error": "^0.1.2",
16
+ "replace-ext": "^1.0.0",
17
+ "twig": "^1.10.5"
18
+ },
19
+ "devDependencies": {
20
+ "mocha": "*",
21
+ "should": "*",
22
+ "vinyl": "^2.1.0"
23
+ },
24
+ "scripts": {
25
+ "test": "mocha -R spec"
26
+ },
27
+ "engines": {
28
+ "node": ">=4.0"
29
+ },
30
+ "keywords": [
31
+ "twig",
32
+ "twig.js",
33
+ "gulp",
34
+ "gulpplugin",
35
+ "gulp-plugin"
36
+ ],
37
+ "licenses": [
38
+ {
39
+ "type": "MIT",
40
+ "url": "http://github.com/zimmen/gulp-twig/raw/master/LICENSE"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,261 @@
1
+ // 2024-02-24, Kaspars Zuks: added support for dynamic entries (entry as a function)
2
+ 'use strict';
3
+
4
+ var fancyLog = require('fancy-log');
5
+ var PluginError = require('plugin-error');
6
+ var supportsColor = require('supports-color');
7
+ var File = require('vinyl');
8
+ var MemoryFileSystem = require('memory-fs');
9
+ var nodePath = require('path');
10
+ var through = require('through');
11
+ var ProgressPlugin = require('webpack/lib/ProgressPlugin');
12
+ var clone = require('lodash.clone');
13
+
14
+ var defaultStatsOptions = {
15
+ colors: supportsColor.stdout.hasBasic,
16
+ hash: false,
17
+ timings: false,
18
+ chunks: false,
19
+ chunkModules: false,
20
+ modules: false,
21
+ children: true,
22
+ version: true,
23
+ cached: false,
24
+ cachedAssets: false,
25
+ reasons: false,
26
+ source: false,
27
+ errorDetails: false
28
+ };
29
+
30
+ var cache = {};
31
+
32
+ module.exports = function (options, wp, done) {
33
+ if (cache.wp !== wp || cache.options !== options) {
34
+ cache = {};
35
+ }
36
+
37
+ cache.options = options;
38
+ cache.wp = wp;
39
+
40
+ options = clone(options) || {};
41
+ var config = options.config || options;
42
+
43
+ // Webpack 4 doesn't support the `quiet` attribute, however supports
44
+ // setting `stats` to a string within an array of configurations
45
+ // (errors-only|minimal|none|normal|verbose) or an object with an absurd
46
+ // amount of config
47
+ const isSilent = options.quiet || (typeof options.stats === 'string' && (options.stats.match(/^(errors-only|minimal|none)$/)));
48
+
49
+ if (typeof done !== 'function') {
50
+ var callingDone = false;
51
+ done = function (err, stats) {
52
+ if (err) {
53
+ // The err is here just to match the API but isnt used
54
+ return;
55
+ }
56
+ stats = stats || {};
57
+ if (isSilent || callingDone) {
58
+ return;
59
+ }
60
+
61
+ // Debounce output a little for when in watch mode
62
+ if (options.watch) {
63
+ callingDone = true;
64
+ setTimeout(function () {
65
+ callingDone = false;
66
+ }, 500);
67
+ }
68
+
69
+ if (options.verbose) {
70
+ fancyLog(stats.toString({
71
+ colors: supportsColor.stdout.hasBasic
72
+ }));
73
+ } else {
74
+ var statsOptions = (options && options.stats) || {};
75
+
76
+ if (typeof statsOptions === 'object') {
77
+ Object.keys(defaultStatsOptions).forEach(function (key) {
78
+ if (typeof statsOptions[key] === 'undefined') {
79
+ statsOptions[key] = defaultStatsOptions[key];
80
+ }
81
+ });
82
+ }
83
+ var statusLog = stats.toString(statsOptions);
84
+ if (statusLog) {
85
+ fancyLog(statusLog);
86
+ }
87
+ }
88
+ };
89
+ }
90
+
91
+ var webpack = wp || require('webpack');
92
+ var entry = [];
93
+ var entries = Object.create(null);
94
+
95
+ var stream = through(function (file) {
96
+ if (file.isNull()) {
97
+ return;
98
+ }
99
+ if ('named' in file) {
100
+ if (!Array.isArray(entries[file.named])) {
101
+ entries[file.named] = [];
102
+ }
103
+ entries[file.named].push(file.path);
104
+ } else {
105
+ entry = entry || [];
106
+ entry.push(file.path);
107
+ }
108
+ }, function () {
109
+ var self = this;
110
+ var handleConfig = function (config) {
111
+ config.output = config.output || {};
112
+ config.watch = !!options.watch;
113
+
114
+ // Determine pipe'd in entry
115
+ if (Object.keys(entries).length > 0) {
116
+ entry = entries;
117
+ if (!config.output.filename) {
118
+ // Better output default for multiple chunks
119
+ config.output.filename = '[name].js';
120
+ }
121
+ } else if (entry.length < 2) {
122
+ entry = entry[0] || entry;
123
+ }
124
+
125
+ config.entry = config.entry || entry;
126
+ config.output.path = config.output.path || process.cwd();
127
+ config.output.filename = config.output.filename || '[hash].js';
128
+ config.watch = options.watch;
129
+ entry = [];
130
+
131
+ if (typeof config.entry !== 'function' && (!config.entry || config.entry.length < 1)) {
132
+ fancyLog('webpack-stream - No files given; aborting compilation');
133
+ self.emit('end');
134
+ return false;
135
+ }
136
+ return true;
137
+ };
138
+
139
+ var succeeded;
140
+ if (Array.isArray(config)) {
141
+ for (var i = 0; i < config.length; i++) {
142
+ succeeded = handleConfig(config[i]);
143
+ if (!succeeded) {
144
+ return false;
145
+ }
146
+ }
147
+ } else {
148
+ succeeded = handleConfig(config);
149
+ if (!succeeded) {
150
+ return false;
151
+ }
152
+ }
153
+
154
+ // Cache compiler for future use
155
+ var compiler = cache.compiler || webpack(config);
156
+ cache.compiler = compiler;
157
+
158
+ const callback = function (err, stats) {
159
+ if (err) {
160
+ self.emit('error', new PluginError('webpack-stream', err));
161
+ return;
162
+ }
163
+ var jsonStats = stats ? stats.toJson() || {} : {};
164
+ var errors = jsonStats.errors || [];
165
+ if (errors.length) {
166
+ var errorMessage = errors.join('\n');
167
+ var compilationError = new PluginError('webpack-stream', errorMessage);
168
+ if (!options.watch) {
169
+ self.emit('error', compilationError);
170
+ }
171
+ self.emit('compilation-error', compilationError);
172
+ }
173
+ if (!options.watch) {
174
+ self.queue(null);
175
+ }
176
+ done(err, stats);
177
+ if (options.watch && !isSilent) {
178
+ fancyLog('webpack is watching for changes');
179
+ }
180
+ };
181
+
182
+ if (options.watch) {
183
+ const watchOptions = options.watchOptions || {};
184
+ compiler.watch(watchOptions, callback);
185
+ } else {
186
+ compiler.run(callback);
187
+ }
188
+
189
+ var handleCompiler = function (compiler) {
190
+ if (options.progress) {
191
+ (new ProgressPlugin(function (percentage, msg) {
192
+ percentage = Math.floor(percentage * 100);
193
+ msg = percentage + '% ' + msg;
194
+ if (percentage < 10) msg = ' ' + msg;
195
+ fancyLog('webpack', msg);
196
+ })).apply(compiler);
197
+ }
198
+
199
+ cache.mfs = cache.mfs || new MemoryFileSystem();
200
+
201
+ var fs = compiler.outputFileSystem = cache.mfs;
202
+
203
+ var afterEmitPlugin = compiler.hooks
204
+ // Webpack 4
205
+ ? function (callback) { compiler.hooks.afterEmit.tapAsync('WebpackStream', callback); }
206
+ // Webpack 2/3
207
+ : function (callback) { compiler.plugin('after-emit', callback); };
208
+
209
+ afterEmitPlugin(function (compilation, callback) {
210
+ Object.keys(compilation.assets).forEach(function (outname) {
211
+ if (compilation.assets[outname].emitted) {
212
+ var file = prepareFile(fs, compiler, outname);
213
+ self.queue(file);
214
+ }
215
+ });
216
+ callback();
217
+ });
218
+ };
219
+
220
+ if (Array.isArray(options.config)) {
221
+ compiler.compilers.forEach(function (compiler) {
222
+ handleCompiler(compiler);
223
+ });
224
+ } else {
225
+ handleCompiler(compiler);
226
+ }
227
+ });
228
+
229
+ // If entry point manually specified, trigger that
230
+ var hasEntry = Array.isArray(config)
231
+ ? config.some(function (c) { return c.entry; })
232
+ : config.entry;
233
+ if (hasEntry) {
234
+ stream.end();
235
+ }
236
+
237
+ return stream;
238
+ };
239
+
240
+ function prepareFile (fs, compiler, outname) {
241
+ var path = fs.join(compiler.outputPath, outname);
242
+ if (path.indexOf('?') !== -1) {
243
+ path = path.split('?')[0];
244
+ }
245
+
246
+ var contents = fs.readFileSync(path);
247
+
248
+ var file = new File({
249
+ base: compiler.outputPath,
250
+ path: nodePath.join(compiler.outputPath, outname),
251
+ contents: contents
252
+ });
253
+ return file;
254
+ }
255
+
256
+ // Expose webpack if asked
257
+ Object.defineProperty(module.exports, 'webpack', {
258
+ get: function () {
259
+ return require('webpack');
260
+ }
261
+ });
@@ -0,0 +1,91 @@
1
+ {
2
+ "_args": [
3
+ [
4
+ "webpack-stream@5.2.1",
5
+ "E:\\Dev\\webroot\\work\\website-starter\\html"
6
+ ]
7
+ ],
8
+ "_from": "webpack-stream@5.2.1",
9
+ "_id": "webpack-stream@5.2.1",
10
+ "_inBundle": false,
11
+ "_integrity": "sha512-WvyVU0K1/VB1NZ7JfsaemVdG0PXAQUqbjUNW4A58th4pULvKMQxG+y33HXTL02JvD56ko2Cub+E2NyPwrLBT/A==",
12
+ "_location": "/webpack-stream",
13
+ "_phantomChildren": {
14
+ "ansi-colors": "1.1.0",
15
+ "arr-diff": "4.0.0",
16
+ "arr-union": "3.1.0",
17
+ "extend-shallow": "3.0.2"
18
+ },
19
+ "_requested": {
20
+ "type": "version",
21
+ "registry": true,
22
+ "raw": "webpack-stream@5.2.1",
23
+ "name": "webpack-stream",
24
+ "escapedName": "webpack-stream",
25
+ "rawSpec": "5.2.1",
26
+ "saveSpec": null,
27
+ "fetchSpec": "5.2.1"
28
+ },
29
+ "_requiredBy": [
30
+ "/@videinfra/static-website-builder"
31
+ ],
32
+ "_resolved": "https://registry.npmjs.org/webpack-stream/-/webpack-stream-5.2.1.tgz",
33
+ "_spec": "5.2.1",
34
+ "_where": "E:\\Dev\\webroot\\work\\website-starter\\html",
35
+ "author": {
36
+ "name": "Kyle Robinson Young",
37
+ "email": "kyle@dontkry.com",
38
+ "url": "http://dontkry.com"
39
+ },
40
+ "bugs": {
41
+ "url": "https://github.com/shama/webpack-stream/issues"
42
+ },
43
+ "dependencies": {
44
+ "fancy-log": "^1.3.3",
45
+ "lodash.clone": "^4.3.2",
46
+ "lodash.some": "^4.2.2",
47
+ "memory-fs": "^0.4.1",
48
+ "plugin-error": "^1.0.1",
49
+ "supports-color": "^5.5.0",
50
+ "through": "^2.3.8",
51
+ "vinyl": "^2.1.0",
52
+ "webpack": "^4.26.1"
53
+ },
54
+ "description": "Run webpack as a stream",
55
+ "devDependencies": {
56
+ "gulp": "^3.9.0",
57
+ "rimraf": "^2.4.4",
58
+ "semistandard": "^13.0.1",
59
+ "tape": "^4.9.0",
60
+ "vinyl-fs": "^3.0.2",
61
+ "vinyl-named": "^1.1.0"
62
+ },
63
+ "engines": {
64
+ "node": ">= 6.11.5"
65
+ },
66
+ "files": [
67
+ "index.js"
68
+ ],
69
+ "homepage": "https://github.com/shama/webpack-stream",
70
+ "keywords": [
71
+ "gulpplugin",
72
+ "webpack",
73
+ "stream"
74
+ ],
75
+ "license": "MIT",
76
+ "name": "webpack-stream",
77
+ "repository": {
78
+ "type": "git",
79
+ "url": "git+https://github.com/shama/webpack-stream.git"
80
+ },
81
+ "scripts": {
82
+ "test": "semistandard && node test/test.js"
83
+ },
84
+ "semistandard": {
85
+ "ignore": [
86
+ "test/fixtures",
87
+ "examples"
88
+ ]
89
+ },
90
+ "version": "5.2.1"
91
+ }