-
Notifications
You must be signed in to change notification settings - Fork 19
/
readme.txt
executable file
·69 lines (39 loc) · 2.61 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Quench
Gulp is a command-line JavaScript task runner that automates your web workflow by way of self-scripted tasks. Quench easily creates those self-scripted tasks based on your custom input.
On quenchjs.com
===============
After selecting your custom "Gulp Options," your gulpfile.js and package.json are automatically created for you in your browser. At this point you have a few options. You can:
1. Copy and paste these files into your own project. Here you'll need to make sure all of your directories are set up properly and then you can continue on to the "Installing Supplemental Files" section.
2. Save these files into your own project. Like copy and paste, you'll need to make sure all of your directories are set up properly and then you can continue on to the "Installing Supplemental Files" section.
3. If you're using a supported browser, you can click the "Save Project as Zip" button to download these and any supplemental files as a Zip file. The Zip file includes gulpfile.js, package.json, as well as an appropriate directory structure and a few starter style files if appropriate. See the "Using the Zip File" section.
Using the Zip File
==================
Download the Zip file and extract it to your desired project location.
Installing Supplemental Files
=============================
For all of this magic to work, your computer needs a few extra files to get Gulp up and running in your project.
You'll need to make sure you have both [Node](http://nodejs.org) and [Gulp](http://gulpjs.com) installed before moving forward. If you already have both, keep on going, and if not, you'll only need to install them once.
Navigate to your project directory using the command line and run the following command:
npm install
That's it! You're ready to start using Gulp.
Using Gulp
==========
Default Task
------------
gulp
Running the default task automatically watches your project folders for any changes and runs the accompanying task. For example, if you've elected to run tasks on your JavaScript, anytime you change a JavaScript file gulp will automatically run those tasks, including a browser refresh if you've included BrowserSync.
CSS
---
gulp styles
Running the gulp styles task will run your selected CSS tasks once.
JavaScript
----------
gulp scripts
Running the gulp scripts task will run your selected JavaScript tasks once.
Images
------
gulp images
Running the gulp images task will run your selected image tasks once.
Feedback
========
I'd love to hear your thoughts on Quench, any suggestions you might have, or any bugs you come across. Send all feedback to: [email protected]