Releases: carloscuesta/starterkit
starterkit 1.0.9
:bug: Fix critical task Closes #57
starterkit 1.0.8
Updated dependencies.
Refactored gulpfile.js
Renamed jade to pug.
starterkit 1.0.7
Dependencies
Update dependencies.
- [email protected]
+ browser-sync2.12.3
- [email protected]
+ [email protected]
- [email protected]
+ [email protected]
- [email protected]
+ [email protected]
- [email protected]
+ [email protected]
- [email protected]
+ [email protected]
- [email protected]
+ [email protected]
- [email protected]
+ [email protected]
starterkit 1.0.6
Templates styles and website
Modified styles and templates to create a new and a better website and the web boilerplate of starterkit - starterkit website
Package.json
Removed gulp-minify-css for gulp-cssnano as minify-css is deprecated.
- gulp-minify-css
+ gulp-cssnano
starterkit 1.0.5
starterkit 1.0.4
Package.json
Created npm run dev, build, optimize and deploy to allow users list the gulp tasks without opening the file and run the tasks with the npm run scriptname
.
"scripts": {
"dev": "gulp",
"build": "gulp build",
"optimize": "gulp optimize",
"deploy": "gulp deploy"
},
Update dependencies to the last version.
[email protected]>6.1.1
[email protected]>2.9.12
[email protected]>2.1.1-b
[email protected] -> 2.1.0
[email protected]>2.4.0
starterkit 1.0.3
Gulp
gulp critical
: This task extracts & inlines critical-path (above-the-fold) CSS from HTML using critical.
gulp.task('critical', function () {
return gulp.src(routes.files.htmlFiles)
.pipe(critical({
base: baseDirs.dist,
inline: true,
html: routes.files.htmlFiles,
css: routes.files.styleCss,
ignore: ['@font-face',/url\(/],
width: 1300,
height: 900
}))
.pipe(plumber({
errorHandler: notify.onError({
title: "Error: Critical failed.",
message:"<%= error.message %>"
})
}))
.pipe(gulp.dest(baseDirs.dist))
.pipe(notify({
title: 'Critical Path completed!',
message: 'css critical path done!'
}));
});
Added critical
to optimize
task.
Created a baseDirs
object to define the baseDirs of the project.
var baseDirs = {
dist:'dist/',
src:'src/',
assets: 'dist/assets/'
};
Package
Updated dependencies:
- [email protected] -> 3.1.0
- gulp [email protected] -> 5.3.0
starterkit 1.0.2
Fixed image-min notification, update dependencies.
starterkit 1.0.1
Updated devDependencies, modified the gh-page, updated description of package.json.
starterkit 1.0.0
First stable release of the starterkit.