GulpKit aims to match the simplicity of CodeKit with the power of NPM and Gulp packages. In a matter of minutes, you can get setup with a highly configurable gulpfile that compiles your front-end site(s) and watches for changes.
var GulpKit = require('GulpKit');
GulpKit(function(kit) {
// tasks
});
Compile sass files, autoprefix vendor prefixes, combines media queries and concat/minify CSS with sourcemaps.
kit.scss({
source: './scss/app.scss',
output: './css/style.css'
});
Combine Javascript files, run JSHint and uglify with sourcemaps.
kit.js({
source: './js/main.js',
output: './build/script.js'
});
Browsersync makes developing and testing faster by synchronising code changes and interactions like clicks, scrolls and form inputs across multiple devices.
All output from tasks are added to the list of files that Browsersync will watch and refresh connected browsers on changes.
kit.browserSync({
proxy: 'yourapp.local'
});