https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=Gulp.js Gulp.js - Versionsgeschichte 2025-04-19T08:45:10Z Versionsgeschichte dieser Seite in Wikipedia MediaWiki 1.44.0-wmf.25 https://de.wikipedia.org/w/index.php?title=Gulp.js&diff=252218864&oldid=prev Bithisarea: /* growthexperiments-addlink-summary-summary:2|0|0 */ 2025-01-13T17:27:03Z <p>Linkvorschlag-Funktion: 2 Links hinzugefügt.</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 13. Januar 2025, 19:27 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 9:</td> <td colspan="2" class="diff-lineno">Zeile 9:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Website = [http://gulpjs.com/ www.gulpjs.com/]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Website = [http://gulpjs.com/ www.gulpjs.com/]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''gulp.js''' ist eine [[Software]], basierend auf [[Node.js]], um verschiedene Aufgaben im [[Webentwicklung]]sprozess zu automatisieren ([[Build-System]]).&lt;ref&gt;{{Literatur |Autor=Joshua Barnett |Hrsg=University of East Anglia |Titel=Building a Cross-Platform Mobile Game with HTML5 |Verlag= |Ort= |Datum=2014 |Online=http://www.caffeinatednightmare.com/mindflip/}}&lt;/ref&gt;&lt;ref&gt;{{Literatur |Autor=Artemij Fedosejev |Titel=React.js Essentials |Auflage=1 |Verlag=Packt Publishing |Ort=Birmingham |Datum=2015 |ISBN=978-1-78355-162-0 |Kapitel=Installing Powerful Tools for Your Project |Seiten=12–14}}&lt;/ref&gt; So kann gulp zum Beispiel genutzt werden, um [[Hypertext Markup Language|HTML]], [[JavaScript]] und [[Cascading Style Sheets|CSS]] zu verkleinern, [[Sass (Stylesheet-Sprache)|SCSS]] in CSS umzuwandeln, Bilder zu optimieren und Dateien in einen „[[Distribution (Software)|dist]]“-Ordner zu kopieren. Außerdem kann gulp dazu genutzt werden, um den Webbrowser automatisch zu aktualisieren oder den Webserver automatisch zu starten.&lt;ref&gt;{{Literatur |Autor=Henri Levälampi |Hrsg=Helsinki Metropolia University of Applied Sciences |Titel=Modular Web Development Framework |Verlag= |Ort=Helsinki |Datum=2015-12-04}}&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''gulp.js''' ist eine [[Software]], basierend auf [[Node.js]], um verschiedene Aufgaben im [[Webentwicklung]]sprozess zu automatisieren ([[Build-System]]).&lt;ref&gt;{{Literatur |Autor=Joshua Barnett |Hrsg=University of East Anglia |Titel=Building a Cross-Platform Mobile Game with HTML5 |Verlag= |Ort= |Datum=2014 |Online=http://www.caffeinatednightmare.com/mindflip/}}&lt;/ref&gt;&lt;ref&gt;{{Literatur |Autor=Artemij Fedosejev |Titel=React.js Essentials |Auflage=1 |Verlag=Packt Publishing |Ort=Birmingham |Datum=2015 |ISBN=978-1-78355-162-0 |Kapitel=Installing Powerful Tools for Your Project |Seiten=12–14}}&lt;/ref&gt; So kann gulp zum Beispiel genutzt werden, um [[Hypertext Markup Language|HTML]], [[JavaScript]] und [[Cascading Style Sheets|CSS]] zu verkleinern, [[Sass (Stylesheet-Sprache)|SCSS]] in CSS umzuwandeln, Bilder zu optimieren und Dateien in einen „[[Distribution (Software)|dist]]“-Ordner zu kopieren. Außerdem kann gulp dazu genutzt werden, um den <ins style="font-weight: bold; text-decoration: none;">[[</ins>Webbrowser<ins style="font-weight: bold; text-decoration: none;">]]</ins> automatisch zu aktualisieren oder den <ins style="font-weight: bold; text-decoration: none;">[[</ins>Webserver<ins style="font-weight: bold; text-decoration: none;">]]</ins> automatisch zu starten.&lt;ref&gt;{{Literatur |Autor=Henri Levälampi |Hrsg=Helsinki Metropolia University of Applied Sciences |Titel=Modular Web Development Framework |Verlag= |Ort=Helsinki |Datum=2015-12-04}}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Installation ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Installation ==</div></td> </tr> </table> Bithisarea https://de.wikipedia.org/w/index.php?title=Gulp.js&diff=243178641&oldid=prev MultiPolitikus: Archivlink(s) geprüft 2024-03-16T17:02:14Z <p><a href="/wiki/Kategorie:Wikipedia:Defekte_Weblinks/Ungepr%C3%BCfte_Archivlinks" title="Kategorie:Wikipedia:Defekte Weblinks/Ungeprüfte Archivlinks">Archivlink(s)</a> geprüft</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 16. März 2024, 19:02 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 30:</td> <td colspan="2" class="diff-lineno">Zeile 30:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Im nächsten Schritt können dann die Tasks erstellt werden. Ein gulp-Task wird mittels ''gulp.task'' definiert und bekommt einen Namen für den Task als ersten Parameter und als zweiten Parameter eine Funktion.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Im nächsten Schritt können dann die Tasks erstellt werden. Ein gulp-Task wird mittels ''gulp.task'' definiert und bekommt einen Namen für den Task als ersten Parameter und als zweiten Parameter eine Funktion.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Das folgende Beispiel zeigt die Erstellung eines gulp-Tasks. Der erste Parameter ''taskname'' ist verpflichtend und gibt den Namen vor, mit dem der Task in der Shell ausgeführt werden kann.&lt;ref&gt;{{Internetquelle |url=https://github.com/gulpjs/gulp/blob/4.0/docs/API.md |titel=gulp API docs |werk=gulp.js |datum= |sprache=en |zugriff=<del style="font-weight: bold; text-decoration: none;">2016</del>-<del style="font-weight: bold; text-decoration: none;">05</del>-<del style="font-weight: bold; text-decoration: none;">28</del> |archiv-url=https://web.archive.org/web/20170306202555/https://github.com/gulpjs/gulp/blob/4.0/docs/API.md |archiv-datum=2017-03-06<del style="font-weight: bold; text-decoration: none;"> |offline=ja |archiv-bot=2018-12-11 08:51:35 InternetArchiveBot</del> }}&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Das folgende Beispiel zeigt die Erstellung eines gulp-Tasks. Der erste Parameter ''taskname'' ist verpflichtend und gibt den Namen vor, mit dem der Task in der Shell ausgeführt werden kann.&lt;ref&gt;{{Internetquelle |url=https://github.com/gulpjs/gulp/blob/4.0/docs/API.md |titel=gulp API docs |werk=gulp.js |datum= |sprache=en |zugriff=<ins style="font-weight: bold; text-decoration: none;">2024</ins>-<ins style="font-weight: bold; text-decoration: none;">03</ins>-<ins style="font-weight: bold; text-decoration: none;">16</ins> |archiv-url=https://web.archive.org/web/20170306202555/https://github.com/gulpjs/gulp/blob/4.0/docs/API.md |archiv-datum=2017-03-06 }}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang="javascript"&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang="javascript"&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>gulp.task('taskname', function(){</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>gulp.task('taskname', function(){</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 68:</td> <td colspan="2" class="diff-lineno">Zeile 68:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Der nachfolgende Image-Task führt eine Optimierung von Bildern durch. &lt;code&gt;gulp.src()&lt;/code&gt; holt sich alle Bilder mit der Endung .png, .gif oder .jpg aus dem Verzeichnis ''&lt;nowiki /&gt;'images-orig/'&lt;nowiki /&gt;''. &lt;code&gt;.pipe(imagemin())&lt;/code&gt; schleußt die gefundenen Bilder durch den Optimierungsprozess durch und mit &lt;code&gt;.pipe(gulp.dest())&lt;/code&gt; werden die optimierten Bilder danach ins Verzeichnis ''&lt;nowiki /&gt;'images/'&lt;nowiki /&gt;'' gespeichert. Ohne &lt;code&gt;gulp.dest()&lt;/code&gt; würden die Bilder zwar optimiert, jedoch nicht abgespeichert werden.&lt;ref&gt;{{Internetquelle |url=http://magazin.phlow.de/webdesign/gulp/ |titel=Durchstarten mit Gulp.js – Websites optimieren, Arbeitsabläufe automatisieren |datum= |zugriff=<del style="font-weight: bold; text-decoration: none;">2016</del>-<del style="font-weight: bold; text-decoration: none;">05</del>-<del style="font-weight: bold; text-decoration: none;">30</del> |archiv-url=https://web.archive.org/web/20170616233539/http://magazin.phlow.de/webdesign/gulp/ |archiv-datum=2017-06-16<del style="font-weight: bold; text-decoration: none;"> |offline=ja |archiv-bot=2022-11-10 14:50:56 InternetArchiveBot</del> }}&lt;/ref&gt; Da wir die optimierten Bilder in einen anderen Ordner speichern, bleiben uns die originalen Bilder erhalten.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Der nachfolgende Image-Task führt eine Optimierung von Bildern durch. &lt;code&gt;gulp.src()&lt;/code&gt; holt sich alle Bilder mit der Endung .png, .gif oder .jpg aus dem Verzeichnis ''&lt;nowiki /&gt;'images-orig/'&lt;nowiki /&gt;''. &lt;code&gt;.pipe(imagemin())&lt;/code&gt; schleußt die gefundenen Bilder durch den Optimierungsprozess durch und mit &lt;code&gt;.pipe(gulp.dest())&lt;/code&gt; werden die optimierten Bilder danach ins Verzeichnis ''&lt;nowiki /&gt;'images/'&lt;nowiki /&gt;'' gespeichert. Ohne &lt;code&gt;gulp.dest()&lt;/code&gt; würden die Bilder zwar optimiert, jedoch nicht abgespeichert werden.&lt;ref&gt;{{Internetquelle |url=http://magazin.phlow.de/webdesign/gulp/ |titel=Durchstarten mit Gulp.js – Websites optimieren, Arbeitsabläufe automatisieren |datum= |zugriff=<ins style="font-weight: bold; text-decoration: none;">2024</ins>-<ins style="font-weight: bold; text-decoration: none;">03</ins>-<ins style="font-weight: bold; text-decoration: none;">16</ins> |archiv-url=https://web.archive.org/web/20170616233539/http://magazin.phlow.de/webdesign/gulp/ |archiv-datum=2017-06-16 }}&lt;/ref&gt; Da wir die optimierten Bilder in einen anderen Ordner speichern, bleiben uns die originalen Bilder erhalten.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang="javascript"&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang="javascript"&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>// images task</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>// images task</div></td> </tr> </table> MultiPolitikus https://de.wikipedia.org/w/index.php?title=Gulp.js&diff=227849406&oldid=prev InternetArchiveBot: InternetArchiveBot hat 1 Archivlink(s) ergänzt und 0 Link(s) als defekt/tot markiert.) #IABot (v2.0.9.2 2022-11-10T14:50:56Z <p><a href="/wiki/Benutzer:InternetArchiveBot" title="Benutzer:InternetArchiveBot">InternetArchiveBot</a> hat 1 Archivlink(s) ergänzt und 0 Link(s) als defekt/tot markiert.) #IABot (v2.0.9.2</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 10. November 2022, 16:50 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 68:</td> <td colspan="2" class="diff-lineno">Zeile 68:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Der nachfolgende Image-Task führt eine Optimierung von Bildern durch. &lt;code&gt;gulp.src()&lt;/code&gt; holt sich alle Bilder mit der Endung .png, .gif oder .jpg aus dem Verzeichnis ''&lt;nowiki /&gt;'images-orig/'&lt;nowiki /&gt;''. &lt;code&gt;.pipe(imagemin())&lt;/code&gt; schleußt die gefundenen Bilder durch den Optimierungsprozess durch und mit &lt;code&gt;.pipe(gulp.dest())&lt;/code&gt; werden die optimierten Bilder danach ins Verzeichnis ''&lt;nowiki /&gt;'images/'&lt;nowiki /&gt;'' gespeichert. Ohne &lt;code&gt;gulp.dest()&lt;/code&gt; würden die Bilder zwar optimiert, jedoch nicht abgespeichert werden.&lt;ref&gt;{{Internetquelle |url=http://magazin.phlow.de/webdesign/gulp/ |titel=Durchstarten mit Gulp.js – Websites optimieren, Arbeitsabläufe automatisieren |datum= |zugriff=2016-05-30}}&lt;/ref&gt; Da wir die optimierten Bilder in einen anderen Ordner speichern, bleiben uns die originalen Bilder erhalten.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Der nachfolgende Image-Task führt eine Optimierung von Bildern durch. &lt;code&gt;gulp.src()&lt;/code&gt; holt sich alle Bilder mit der Endung .png, .gif oder .jpg aus dem Verzeichnis ''&lt;nowiki /&gt;'images-orig/'&lt;nowiki /&gt;''. &lt;code&gt;.pipe(imagemin())&lt;/code&gt; schleußt die gefundenen Bilder durch den Optimierungsprozess durch und mit &lt;code&gt;.pipe(gulp.dest())&lt;/code&gt; werden die optimierten Bilder danach ins Verzeichnis ''&lt;nowiki /&gt;'images/'&lt;nowiki /&gt;'' gespeichert. Ohne &lt;code&gt;gulp.dest()&lt;/code&gt; würden die Bilder zwar optimiert, jedoch nicht abgespeichert werden.&lt;ref&gt;{{Internetquelle |url=http://magazin.phlow.de/webdesign/gulp/ |titel=Durchstarten mit Gulp.js – Websites optimieren, Arbeitsabläufe automatisieren |datum= |zugriff=2016-05-30<ins style="font-weight: bold; text-decoration: none;"> |archiv-url=https://web.archive.org/web/20170616233539/http://magazin.phlow.de/webdesign/gulp/ |archiv-datum=2017-06-16 |offline=ja |archiv-bot=2022-11-10 14:50:56 InternetArchiveBot </ins>}}&lt;/ref&gt; Da wir die optimierten Bilder in einen anderen Ordner speichern, bleiben uns die originalen Bilder erhalten.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang="javascript"&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang="javascript"&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>// images task</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>// images task</div></td> </tr> </table> InternetArchiveBot https://de.wikipedia.org/w/index.php?title=Gulp.js&diff=200955968&oldid=prev Gentlesea: HC: Ergänze Kategorie:Build-Management 2020-06-14T10:04:20Z <p><a href="/wiki/Wikipedia:HC" class="mw-redirect" title="Wikipedia:HC">HC</a>: Ergänze <a href="/wiki/Kategorie:Build-Management" title="Kategorie:Build-Management">Kategorie:Build-Management</a></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 14. Juni 2020, 12:04 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 131:</td> <td colspan="2" class="diff-lineno">Zeile 131:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Freie Software]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Freie Software]]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:ECMAScript]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:ECMAScript]]</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Build-Management]]</div></td> </tr> </table> Gentlesea https://de.wikipedia.org/w/index.php?title=Gulp.js&diff=183599089&oldid=prev InternetArchiveBot: InternetArchiveBot hat 1 Archivlink(s) ergänzt und 0 Link(s) als defekt/tot markiert. #IABot (v2.0beta10ehf1) (Cirdan) 2018-12-11T08:51:35Z <p><a href="/wiki/Benutzer:InternetArchiveBot" title="Benutzer:InternetArchiveBot">InternetArchiveBot</a> hat 1 Archivlink(s) ergänzt und 0 Link(s) als defekt/tot markiert. #IABot (v2.0beta10ehf1) (<a href="/wiki/Benutzer:Cirdan" title="Benutzer:Cirdan">Cirdan</a>)</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 11. Dezember 2018, 10:51 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 30:</td> <td colspan="2" class="diff-lineno">Zeile 30:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Im nächsten Schritt können dann die Tasks erstellt werden. Ein gulp-Task wird mittels ''gulp.task'' definiert und bekommt einen Namen für den Task als ersten Parameter und als zweiten Parameter eine Funktion.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Im nächsten Schritt können dann die Tasks erstellt werden. Ein gulp-Task wird mittels ''gulp.task'' definiert und bekommt einen Namen für den Task als ersten Parameter und als zweiten Parameter eine Funktion.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Das folgende Beispiel zeigt die Erstellung eines gulp-Tasks. Der erste Parameter ''taskname'' ist verpflichtend und gibt den Namen vor, mit dem der Task in der Shell ausgeführt werden kann.&lt;ref&gt;{{Internetquelle |url=https://github.com/gulpjs/gulp/blob/4.0/docs/API.md |titel=gulp API docs |werk=gulp.js |datum= |sprache=en |zugriff=2016-05-28}}&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Das folgende Beispiel zeigt die Erstellung eines gulp-Tasks. Der erste Parameter ''taskname'' ist verpflichtend und gibt den Namen vor, mit dem der Task in der Shell ausgeführt werden kann.&lt;ref&gt;{{Internetquelle |url=https://github.com/gulpjs/gulp/blob/4.0/docs/API.md |titel=gulp API docs |werk=gulp.js |datum= |sprache=en |zugriff=2016-05-28<ins style="font-weight: bold; text-decoration: none;"> |archiv-url=https://web.archive.org/web/20170306202555/https://github.com/gulpjs/gulp/blob/4.0/docs/API.md |archiv-datum=2017-03-06 |offline=ja |archiv-bot=2018-12-11 08:51:35 InternetArchiveBot </ins>}}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang="javascript"&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang="javascript"&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>gulp.task('taskname', function(){</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>gulp.task('taskname', function(){</div></td> </tr> </table> InternetArchiveBot https://de.wikipedia.org/w/index.php?title=Gulp.js&diff=168206519&oldid=prev Trustable: +{{SEITENTITEL}} 2017-08-16T16:32:28Z <p>+{{SEITENTITEL}}</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 16. August 2017, 18:32 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{SEITENTITEL:gulp.js}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Infobox Software</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Infobox Software</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Logo = </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Logo = </div></td> </tr> </table> Trustable https://de.wikipedia.org/w/index.php?title=Gulp.js&diff=166139143&oldid=prev Lómelinde: Parameterfix und nicht verwendete Parameter reduziert 2017-06-06T15:38:41Z <p>Parameterfix und nicht verwendete Parameter reduziert</p> <a href="//de.wikipedia.org/w/index.php?title=Gulp.js&amp;diff=166139143&amp;oldid=162727506">Änderungen zeigen</a> Lómelinde https://de.wikipedia.org/w/index.php?title=Gulp.js&diff=162727506&oldid=prev Trustable: überarbeitet 2017-02-17T09:48:02Z <p>überarbeitet</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 17. Februar 2017, 11:48 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 4:</td> <td colspan="2" class="diff-lineno">Zeile 4:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Betriebssystem = [[Plattformunabhängigkeit|plattformübergreifend]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Betriebssystem = [[Plattformunabhängigkeit|plattformübergreifend]]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Programmiersprache = [[JavaScript]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Programmiersprache = [[JavaScript]]</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| Kategorie = [[<del style="font-weight: bold; text-decoration: none;">Toolkit</del>]]</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| Kategorie = [[<ins style="font-weight: bold; text-decoration: none;">Build-System</ins>]]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Lizenz = [[MIT-Lizenz]]&lt;ref&gt;{{Internetquelle|url=https://github.com/gulpjs/gulp/blob/master/LICENSE|titel=License auf github.com|sprache=en|zugriff=2016-05-30}}&lt;/ref&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Lizenz = [[MIT-Lizenz]]&lt;ref&gt;{{Internetquelle|url=https://github.com/gulpjs/gulp/blob/master/LICENSE|titel=License auf github.com|sprache=en|zugriff=2016-05-30}}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Website = [http://gulpjs.com/ www.gulpjs.com/]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Website = [http://gulpjs.com/ www.gulpjs.com/]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''gulp.js''' ist <del style="font-weight: bold; text-decoration: none;">ein</del> [[<del style="font-weight: bold; text-decoration: none;">Prozess (Informatik)|Task</del>]]<del style="font-weight: bold; text-decoration: none;">-Runner</del>, basierend auf [[Node.js]], um verschiedene [[<del style="font-weight: bold; text-decoration: none;">Arbeitsablauf|Workflow</del>]]<del style="font-weight: bold; text-decoration: none;">-Tasks im Webentwicklungsprozess</del> zu automatisieren.&lt;ref&gt;{{Literatur|Autor=Joshua Barnett|Titel=Building a Cross-Platform Mobile Game with HTML5|Hrsg=University of East Anglia|Sammelwerk=|Band=|Nummer=|Auflage=|Verlag=|Ort=|Jahr=2014|Seiten=|ISBN=|Online=http://www.caffeinatednightmare.com/mindflip/}}&lt;/ref&gt;&lt;ref&gt;{{Literatur|Autor=Artemij Fedosejev|Titel=React.js Essentials|Hrsg=|Sammelwerk=|Band=|Nummer=|Auflage=1|Verlag=Packt Publishing|Ort=Birmingham|Datum=2015|Kapitel=Installing Powerful Tools for Your Project|Seiten=12-14|ISBN=978-1-78355-162-0}}&lt;/ref&gt; So kann gulp zum Beispiel genutzt werden, um [[Hypertext Markup Language|HTML]], [[JavaScript]] und [[Cascading Style Sheets|CSS]] zu verkleinern, [[Sass (Stylesheet-Sprache)|SCSS]] in CSS umzuwandeln, Bilder zu optimieren und Dateien in einen „[[Distribution (Software)|dist]]“- Ordner zu kopieren. Außerdem kann gulp dazu genutzt werden, um den Webbrowser automatisch zu aktualisieren oder den Webserver automatisch zu starten.&lt;ref&gt;{{Literatur|Autor=Henri Levälampi|Titel=Modular Web Development Framework|Hrsg=Helsinki Metropolia University of Applied Sciences|Sammelwerk=|Band=|Nummer=|Auflage=|Verlag=|Ort=Helsinki|Datum=2015-12-04|Seiten=|ISBN=}}&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''gulp.js''' ist <ins style="font-weight: bold; text-decoration: none;">eine</ins> [[<ins style="font-weight: bold; text-decoration: none;">Software</ins>]], basierend auf [[Node.js]], um verschiedene<ins style="font-weight: bold; text-decoration: none;"> Aufgaben im</ins> [[<ins style="font-weight: bold; text-decoration: none;">Webentwicklung</ins>]]<ins style="font-weight: bold; text-decoration: none;">sprozess</ins> zu automatisieren<ins style="font-weight: bold; text-decoration: none;"> ([[Build-System]])</ins>.&lt;ref&gt;{{Literatur|Autor=Joshua Barnett|Titel=Building a Cross-Platform Mobile Game with HTML5|Hrsg=University of East Anglia|Sammelwerk=|Band=|Nummer=|Auflage=|Verlag=|Ort=|Jahr=2014|Seiten=|ISBN=|Online=http://www.caffeinatednightmare.com/mindflip/}}&lt;/ref&gt;&lt;ref&gt;{{Literatur|Autor=Artemij Fedosejev|Titel=React.js Essentials|Hrsg=|Sammelwerk=|Band=|Nummer=|Auflage=1|Verlag=Packt Publishing|Ort=Birmingham|Datum=2015|Kapitel=Installing Powerful Tools for Your Project|Seiten=12-14|ISBN=978-1-78355-162-0}}&lt;/ref&gt; So kann gulp zum Beispiel genutzt werden, um [[Hypertext Markup Language|HTML]], [[JavaScript]] und [[Cascading Style Sheets|CSS]] zu verkleinern, [[Sass (Stylesheet-Sprache)|SCSS]] in CSS umzuwandeln, Bilder zu optimieren und Dateien in einen „[[Distribution (Software)|dist]]“- Ordner zu kopieren. Außerdem kann gulp dazu genutzt werden, um den Webbrowser automatisch zu aktualisieren oder den Webserver automatisch zu starten.&lt;ref&gt;{{Literatur|Autor=Henri Levälampi|Titel=Modular Web Development Framework|Hrsg=Helsinki Metropolia University of Applied Sciences|Sammelwerk=|Band=|Nummer=|Auflage=|Verlag=|Ort=Helsinki|Datum=2015-12-04|Seiten=|ISBN=}}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Installation ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Installation ==</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 18:</td> <td colspan="2" class="diff-lineno">Zeile 18:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Um mit gulp arbeiten zu können, muss ein sogenanntes gulpfile angelegt werden. Bei dem gulpfile handelt es sich um eine [[JavaScript]]-Datei mit dem Namen „gulpfile.js“. In diesem File werden sogenannte Tasks in JavaScript definiert. Diese gulp-Tasks werden über die Shell ausgeführt. Der Befehl &lt;code&gt;{{lang|en|gulp}}&lt;/code&gt;startet den Default-Task. Mit &lt;code&gt;{{lang|en|gulp &lt;taskname&gt;}}&lt;/code&gt; wird der Task mit dem jeweiligen taskname ausgeführt.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Um mit gulp arbeiten zu können, muss ein sogenanntes gulpfile angelegt werden. Bei dem gulpfile handelt es sich um eine [[JavaScript]]-Datei mit dem Namen „gulpfile.js“. In diesem File werden sogenannte Tasks in JavaScript definiert. Diese gulp-Tasks werden über die Shell ausgeführt. Der Befehl &lt;code&gt;{{lang|en|gulp}}&lt;/code&gt;startet den Default-Task. Mit &lt;code&gt;{{lang|en|gulp &lt;taskname&gt;}}&lt;/code&gt; wird der Task mit dem jeweiligen taskname ausgeführt.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Zusätzlich gibt es eine Vielzahl an [http://gulpjs.com/plugins Plugins]<del style="font-weight: bold; text-decoration: none;"> für gulp.</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Zusätzlich gibt es eine Vielzahl an <ins style="font-weight: bold; text-decoration: none;">[[Plug-in]]s für gulp.&lt;ref&gt;</ins>[http://gulpjs.com/plugins Plugins]<ins style="font-weight: bold; text-decoration: none;">&lt;/ref&gt;</ins></div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== gulpfile.js ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== gulpfile.js ==</div></td> </tr> </table> Trustable https://de.wikipedia.org/w/index.php?title=Gulp.js&diff=161210025&oldid=prev Simon04: wf 2017-01-02T21:54:53Z <p>wf</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 2. Januar 2017, 23:54 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 8:</td> <td colspan="2" class="diff-lineno">Zeile 8:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Website = [http://gulpjs.com/ www.gulpjs.com/]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Website = [http://gulpjs.com/ www.gulpjs.com/]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''gulp.js''' ist ein [[Prozess (Informatik)|Task]]-Runner, basierend auf [[Node.js]], um verschiedene [[Arbeitsablauf|Workflow]]-Tasks im Webentwicklungsprozess zu automatisieren.&lt;ref&gt;{{Literatur|Autor=Joshua Barnett|Titel=Building a Cross-Platform Mobile Game with HTML5|Hrsg=University of East Anglia|Sammelwerk=|Band=|Nummer=|Auflage=|Verlag=|Ort=|Jahr=2014|Seiten=|ISBN=|Online=http://www.caffeinatednightmare.com/mindflip/}}&lt;/ref&gt;&lt;ref&gt;{{Literatur|Autor=Artemij Fedosejev|Titel=React.js Essentials|Hrsg=|Sammelwerk=|Band=|Nummer=|Auflage=1|Verlag=Packt Publishing|Ort=Birmingham|Datum=2015|Kapitel=Installing Powerful Tools for Your Project|Seiten=12-14|ISBN=978-1-78355-162-0}}&lt;/ref&gt; So kann gulp zum Beispiel genutzt werden, um [[Hypertext Markup Language|HTML]], [[JavaScript]] und [[Cascading Style Sheets|CSS]] zu verkleinern, [[Sass (Stylesheet-Sprache)|SCSS]] in CSS umzuwandeln, Bilder zu optimieren und Dateien in einen <del style="font-weight: bold; text-decoration: none;">„dist“</del>- Ordner zu kopieren. Außerdem kann gulp dazu genutzt werden, um den Webbrowser automatisch zu aktualisieren oder den Webserver automatisch zu starten.&lt;ref&gt;{{Literatur|Autor=Henri Levälampi|Titel=Modular Web Development Framework|Hrsg=Helsinki Metropolia University of Applied Sciences|Sammelwerk=|Band=|Nummer=|Auflage=|Verlag=|Ort=Helsinki|Datum=2015-12-04|Seiten=|ISBN=}}&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''gulp.js''' ist ein [[Prozess (Informatik)|Task]]-Runner, basierend auf [[Node.js]], um verschiedene [[Arbeitsablauf|Workflow]]-Tasks im Webentwicklungsprozess zu automatisieren.&lt;ref&gt;{{Literatur|Autor=Joshua Barnett|Titel=Building a Cross-Platform Mobile Game with HTML5|Hrsg=University of East Anglia|Sammelwerk=|Band=|Nummer=|Auflage=|Verlag=|Ort=|Jahr=2014|Seiten=|ISBN=|Online=http://www.caffeinatednightmare.com/mindflip/}}&lt;/ref&gt;&lt;ref&gt;{{Literatur|Autor=Artemij Fedosejev|Titel=React.js Essentials|Hrsg=|Sammelwerk=|Band=|Nummer=|Auflage=1|Verlag=Packt Publishing|Ort=Birmingham|Datum=2015|Kapitel=Installing Powerful Tools for Your Project|Seiten=12-14|ISBN=978-1-78355-162-0}}&lt;/ref&gt; So kann gulp zum Beispiel genutzt werden, um [[Hypertext Markup Language|HTML]], [[JavaScript]] und [[Cascading Style Sheets|CSS]] zu verkleinern, [[Sass (Stylesheet-Sprache)|SCSS]] in CSS umzuwandeln, Bilder zu optimieren und Dateien in einen <ins style="font-weight: bold; text-decoration: none;">„[[Distribution (Software)|dist]]“</ins>- Ordner zu kopieren. Außerdem kann gulp dazu genutzt werden, um den Webbrowser automatisch zu aktualisieren oder den Webserver automatisch zu starten.&lt;ref&gt;{{Literatur|Autor=Henri Levälampi|Titel=Modular Web Development Framework|Hrsg=Helsinki Metropolia University of Applied Sciences|Sammelwerk=|Band=|Nummer=|Auflage=|Verlag=|Ort=Helsinki|Datum=2015-12-04|Seiten=|ISBN=}}&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Installation ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Installation ==</div></td> </tr> </table> Simon04 https://de.wikipedia.org/w/index.php?title=Gulp.js&diff=161208987&oldid=prev Simon04: AktuelleVersion via Wikidata 2017-01-02T21:23:46Z <p>AktuelleVersion via Wikidata</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 2. Januar 2017, 23:23 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 2:</td> <td colspan="2" class="diff-lineno">Zeile 2:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Logo = </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Logo = </div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Hersteller = Fractal und Mitwirkende der GitHub-Community</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Hersteller = Fractal und Mitwirkende der GitHub-Community</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| AktuelleVersion = &lt;!-- Versionen bitte absatzweise eintragen --&gt;</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>4.0.0&amp;nbsp;&lt;ref&gt;{{Internetquelle|url=https://github.com/gulpjs/gulp/blob/4.0/CHANGELOG.md|titel=Änderungsprotokoll 4.0.0|autor=|hrsg=|werk=gulp.js|datum=|sprache=en|zugriff=2016-05-31}}&lt;/ref&gt;&lt;br /&gt; &lt;small&gt;{{Datum|2|6|2015}}&lt;/small&gt;</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><br /></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| AktuelleVersionFreigabeDatum = &lt;!-- Datum bitte hinter der Version eintragen --&gt;</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Betriebssystem = [[Plattformunabhängigkeit|plattformübergreifend]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Betriebssystem = [[Plattformunabhängigkeit|plattformübergreifend]]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Programmiersprache = [[JavaScript]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| Programmiersprache = [[JavaScript]]</div></td> </tr> </table> Simon04