This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Download Craft Plugins | |
* | |
* @package generator-mh-boilerplate | |
* @author Martin Herweg <[email protected]> | |
*/ | |
const inquirer = require('inquirer'); | |
const download = require('download'); | |
const ProgressBar = require('progress'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
|-------------------------------------------------------------------------- | |
| gulp browser-sync | |
|-------------------------------------------------------------------------- | |
* | |
* Browser Sync | |
* @description Refresh the Brwoser after File Change. | |
* Combined with webpack for HMR or Content Reload | |
* | |
* @package generator-mh-boilerplate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
*/ | |
$args = array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('sass', function() { | |
gulp.src(['assets/scss/**/*.scss', '!assets/scss/templates/*.scss']) | |
.pipe(plumber({errorHandler: on_Error})) | |
.pipe(gulpif(condition, sass({require: ['susy'], style: 'expanded', sourcemap: true}), sass())) | |
.pipe(filter('**/*.css')) | |
.pipe(sourcemaps.init({loadMaps:true})) | |
.pipe(postcss([autoprefixer({ browsers: ['last 2 version', 'ie 9'], cascade: true})])) | |
.on('error', function(err) { console.log(err.message); }) | |
.pipe(sourcemaps.write('.')) | |
.pipe(gulp.dest('dist/css')) |
NewerOlder