Skip to content

Commit 5112f37

Browse files
committed
Merge branch 'dev'
2 parents 7e19c81 + e80dc87 commit 5112f37

File tree

4 files changed

+141
-309
lines changed

4 files changed

+141
-309
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
All the required Node modules need to be installed before you can use this template. From the root folder of this project, type `npm install`. This will create a folder called `node_modules` and download the plugins listed under the `devDependencies` section in the `package.json` file. If you encounter an `ERR!` message about `EACCES`, then you’ll need to run the command as the super user: `sudo npm install`. Because the 13 Gulp tasks amount to about 220MB, expect to wait.
55

66
## Tasks
7-
Typing `gulp --tasks` will provide you with a list of tasks included in `gulpfile.js`. Tasks such as `build` and `serve` invoke other tasks and are nested in the output of `gulp --tasks`.
7+
Typing `gulp --tasks`, or simply `gulp`, will provide you with a list of tasks included in `gulpfile.js`. Tasks such as `build` and `serve` invoke other tasks and are nested in the output of `gulp --tasks`.
88

99
Each task can be run on its own. For example, if all you want to do is validate your HTML, you can type `gulp validateHTML`, and if the task runs to completion without any messages, it means your HTML is valid and W3-compliant.
1010

1111
Above each task in the `gulpfile.js` file is an elaborate comment discussing what each task does.
1212

1313
## Individual Tasks as Branches
14-
Each of the 13 tasks has been broken out into its own branch, and the full `gulpfile` is available without comments and without variables. You can view all the branches with `git branch -r`.
14+
Each of the 13 tasks has been broken out into its own branch, and the full `gulpfile` is available without comments and without variables. You can view all the branches with `git branch -a`.
1515

1616
## Running the Project
1717
For development, run `gulp serve`, which runs multiple development-related tasks, then launches your default browser and listens for changes. Gulp keeps you informed via The Terminal. You can now work on your project as you normally would. Each time you save a file, your browser will refresh so you don’t have to.

config.json

Lines changed: 10 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,12 @@
11
{
2-
"browser": {
3-
"safari": "safari",
4-
"firefox": "firefox",
5-
"chrome": "google chrome",
6-
"opera": "opera"
7-
},
8-
9-
"baseFolders": {
10-
"dev": "dev/",
11-
"tmp": "temp/",
12-
"prod": "prod/"
13-
},
14-
15-
"scaffoldFolders": {
16-
"html": "html/",
17-
"js": "scripts/",
18-
"styles": "styles/",
19-
"images": "img/"
20-
},
21-
22-
"filenames": {
23-
"js": {
24-
"main": "app.js",
25-
"all": "*.js",
26-
"grid": "grid.js"
27-
},
28-
"html": {
29-
"all": "*.html",
30-
"allNested": "**/*.html"
31-
},
32-
"sass": "main.scss"
33-
},
34-
35-
"colors": {
36-
"default": "\u001b[39m",
37-
"red": "\u001b[31m",
38-
"green": "\u001b[32m",
39-
"yellow": "\u001b[33m",
40-
"blue": "\u001b[34m",
41-
"magenta": "\u001b[35m",
42-
"cyan": "\u001b[36m",
43-
"white": "\u001b[37m"
44-
}
2+
"colors": {
3+
"default": "\u001b[39m",
4+
"red": "\u001b[31m",
5+
"green": "\u001b[32m",
6+
"yellow": "\u001b[33m",
7+
"blue": "\u001b[34m",
8+
"magenta": "\u001b[35m",
9+
"cyan": "\u001b[36m",
10+
"white": "\u001b[37m"
11+
}
4512
}

dev/scripts/grid.js

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)