Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Static Site Boilerplate | 1,663 | a year ago | 2 | January 25, 2019 | 15 | mit | JavaScript | |||
A better workflow for building modern static websites. | ||||||||||
Gulp Starter Env | 234 | 5 years ago | 1 | mit | JavaScript | |||||
A basic gulp environment with autoprefixer and minifcation for designers to play around with | ||||||||||
Webcompiler | 119 | a month ago | 95 | June 06, 2022 | 3 | apache-2.0 | C# | |||
Live Reload Vanilla Website Template | 47 | 2 months ago | 4 | May 05, 2020 | 16 | mit | JavaScript | |||
Template to build a website without a front-end framework, including transpilation of ES6+ JavaScript and Sass support | ||||||||||
Rwdemail | 42 | 9 years ago | 1 | gpl-2.0 | JavaScript | |||||
Responsive or Basic Email Development in a box! Automate Everything, from SASS precomiling, CSS Inlining, CSS/HTML and Image Minification, S3 Image Hosting and Litmus email testing. With the help of INK templates and its CSS boilerplate, designing emails of any kind is a breeze. | ||||||||||
Gulp Kirby Starter Kit | 41 | 2 years ago | 5 | mit | PHP | |||||
Getting started with Gulp v4 & Kirby v3 in no-time | ||||||||||
Schmoilerplate | 41 | 6 years ago | mit | CSS | ||||||
A modern responsive front end boilerplate in 2 commands | ||||||||||
Gulp Boilerplate | 26 | a year ago | JavaScript | |||||||
A basic Gulp 4 boilerplate to get developing locally, quickly. Comes with Sass/JS & image minification, Babel, Nunjucks, CSS autoprefixer and hot reload. | ||||||||||
Fox Boilerplate 2 | 22 | 7 years ago | 1 | CSS | ||||||
An HTML5 / Sass / Gulp Boilerplate including FOX CSS | ||||||||||
Slides The Power Of Css | 20 | 6 years ago | mit | HTML | ||||||
The Power of CSS :) [WIP] |
This is a Gulp workflow for automating the following tasks:
for Genesis Sample, a child theme of the Genesis framework.
Install WordPress on your localhost if you haven't already. I use Laravel Valet.
Install Node.
Install Gulp CLI globally by running npm install gulp-cli -g
in the terminal.
Download this repo's content and place in your local site's project folder (Ex.: Genesis Sample theme directory).
Run npm install
.
Change the values of siteName
and userName
in gulpfile.js.
If your local site does not have a SSL, you can comment out the userName
line and comment out/delete
https: {
key: `/Users/${userName}/.valet/Certificates/${siteName}.key`,
cert: `/Users/${userName}/.valet/Certificates/${siteName}.crt`
}
If it does, adjust the path to your local SSL certificate's key and crt files.
Run gulp
.
You might want to load the minified versions of genesis-sample.js
and style.css
on the production site before going live.
For this, edit functions.php
and
a) replace
wp_enqueue_script(
'genesis-sample',
get_stylesheet_directory_uri() . '/js/genesis-sample.js',
array( 'jquery' ),
CHILD_THEME_VERSION,
true
);
with
wp_enqueue_script(
'genesis-sample',
get_stylesheet_directory_uri() . "/js/genesis-sample{$suffix}.js",
array( 'jquery' ),
CHILD_THEME_VERSION,
true
);
b) at the end, add
add_filter( 'stylesheet_uri', 'genesis_sample_stylesheet_uri', 10, 2 );
/**
* Loads minified version of style.css.
*
* @param string $stylesheet_uri Original stylesheet URI.
* @param string $stylesheet_dir_uri Stylesheet directory.
* @return string (Maybe modified) stylesheet URI.
*/
function genesis_sample_stylesheet_uri( $stylesheet_uri, $stylesheet_dir_uri ) {
return trailingslashit( $stylesheet_dir_uri ) . 'style.min.css';
}
Note: You will not be able to use the source maps when style.min.css is loading. Therefore add the above code after you are done with your development.
Thanks to Christoph Herr for his Prometheus theme.