recompile
This commit is contained in:
parent
2c7f83175f
commit
14cf6d06b3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
12
gulpfile.js
12
gulpfile.js
|
@ -101,7 +101,7 @@ gulp.task('watch', function () {
|
|||
// gulp nanocss
|
||||
// Minifies CSS files
|
||||
gulp.task('cssnano', ['cleancss'], function(){
|
||||
return gulp.src('./css/*.css')
|
||||
return gulp.src('./css/theme.css')
|
||||
.pipe(sourcemaps.init({loadMaps: true}))
|
||||
.pipe(plumber())
|
||||
.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/**', '*'])
|
||||
.pipe(gulp.dest('dist/'))
|
||||
});
|
||||
|
||||
gulp.task('build', function(callback) {
|
||||
runSequence('cleancss',
|
||||
'copy-assets',
|
||||
'sass',
|
||||
'scripts',
|
||||
'cssnano',
|
||||
'dist',
|
||||
callback);
|
||||
});
|
||||
|
|
32
js/theme.js
32
js/theme.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
21
package.json
21
package.json
|
@ -4,8 +4,9 @@
|
|||
"description": "Wordpress Theme framework",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"postinstall": "gulp copy-assets"
|
||||
},
|
||||
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/holger1411/understrap.git"
|
||||
|
@ -22,30 +23,28 @@
|
|||
"bugs": {
|
||||
"url": "https://github.com/holger1411/understrap/issues"
|
||||
},
|
||||
"homepage": "https://github.com/holger1411/understrap",
|
||||
"homepage": "https://understrap.com",
|
||||
"dependencies": {
|
||||
"bootstrap": "^4.0.0-alpha.5",
|
||||
"browser-sync": "^2.18.1",
|
||||
"font-awesome": "^4.7.0",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-clone": "^1.0.0",
|
||||
"gulp-concat": "^2.6.1",
|
||||
"gulp-cssnano": "^2.1.2",
|
||||
"gulp-ignore": "^2.0.2",
|
||||
"gulp-merge": "^0.1.1",
|
||||
"gulp-plumber": "^1.1.0",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-rimraf": "^0.2.1",
|
||||
"gulp-sass": "^3.0.0",
|
||||
"gulp-sourcemaps": "^2.2.0",
|
||||
"gulp-uglify": "^2.0.0",
|
||||
"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",
|
||||
"browser-sync": "^2.18.1",
|
||||
"owl.carousel": "^2.2.0",
|
||||
"run-sequence": "^1.2.2",
|
||||
"undescores-for-npm": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
"postinstall": "gulp copy-assets"
|
||||
}
|
||||
"devDependencies": {}
|
||||
}
|
||||
|
|
Reference in New Issue