recompile

This commit is contained in:
koenemann 2016-12-19 13:33:38 +01:00
parent 2c7f83175f
commit 14cf6d06b3
6 changed files with 44 additions and 31 deletions

2
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -101,7 +101,7 @@ gulp.task('watch', function () {
// gulp nanocss // gulp nanocss
// Minifies CSS files // Minifies CSS files
gulp.task('cssnano', ['cleancss'], function(){ gulp.task('cssnano', ['cleancss'], function(){
return gulp.src('./css/*.css') return gulp.src('./css/theme.css')
.pipe(sourcemaps.init({loadMaps: true})) .pipe(sourcemaps.init({loadMaps: true}))
.pipe(plumber()) .pipe(plumber())
.pipe(rename({suffix: '.min'})) .pipe(rename({suffix: '.min'}))
@ -228,3 +228,13 @@ gulp.task('dist', function() {
gulp.src(['**/*','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!src','!src/**','!dist','!dist/**', '*']) gulp.src(['**/*','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!src','!src/**','!dist','!dist/**', '*'])
.pipe(gulp.dest('dist/')) .pipe(gulp.dest('dist/'))
}); });
gulp.task('build', function(callback) {
runSequence('cleancss',
'copy-assets',
'sass',
'scripts',
'cssnano',
'dist',
callback);
});

File diff suppressed because one or more lines are too long

6
js/theme.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -4,8 +4,9 @@
"description": "Wordpress Theme framework", "description": "Wordpress Theme framework",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "postinstall": "gulp copy-assets"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/holger1411/understrap.git" "url": "https://github.com/holger1411/understrap.git"
@ -22,30 +23,28 @@
"bugs": { "bugs": {
"url": "https://github.com/holger1411/understrap/issues" "url": "https://github.com/holger1411/understrap/issues"
}, },
"homepage": "https://github.com/holger1411/understrap", "homepage": "https://understrap.com",
"dependencies": { "dependencies": {
"bootstrap": "^4.0.0-alpha.5", "bootstrap": "^4.0.0-alpha.5",
"browser-sync": "^2.18.1",
"font-awesome": "^4.7.0", "font-awesome": "^4.7.0",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"gulp-clone": "^1.0.0",
"gulp-concat": "^2.6.1", "gulp-concat": "^2.6.1",
"gulp-cssnano": "^2.1.2",
"gulp-ignore": "^2.0.2", "gulp-ignore": "^2.0.2",
"gulp-merge": "^0.1.1",
"gulp-plumber": "^1.1.0", "gulp-plumber": "^1.1.0",
"gulp-rename": "^1.2.2", "gulp-rename": "^1.2.2",
"gulp-rimraf": "^0.2.1", "gulp-rimraf": "^0.2.1",
"gulp-sass": "^3.0.0", "gulp-sass": "^3.0.0",
"gulp-sourcemaps": "^2.2.0",
"gulp-uglify": "^2.0.0", "gulp-uglify": "^2.0.0",
"gulp-watch": "^4.3.10", "gulp-watch": "^4.3.10",
"gulp-clone": "^1.0.0",
"gulp-merge": "^0.1.1",
"gulp-cssnano": "^2.1.2",
"gulp-sourcemaps": "^2.2.0",
"merge2": "^1.0.2", "merge2": "^1.0.2",
"browser-sync": "^2.18.1",
"owl.carousel": "^2.2.0", "owl.carousel": "^2.2.0",
"run-sequence": "^1.2.2",
"undescores-for-npm": "^1.0.0" "undescores-for-npm": "^1.0.0"
}, },
"devDependencies": {}, "devDependencies": {}
"scripts": {
"postinstall": "gulp copy-assets"
}
} }