Skip to content

Commit

Permalink
Bump versions and update gulp tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Sep 23, 2021
1 parent 2b43181 commit ce9e667
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
7 changes: 2 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
var gulp = require('gulp');

gulp.task('css', function() {
var sass = require('gulp-sass');
var sass = require('gulp-sass')(require('sass'));
var postcss = require('gulp-postcss');
var autoprefixer = require('autoprefixer');

return gulp.src('./css/sass/*.scss')
.pipe(sass({
outputStyle: 'nested',
includePaths: ['../../node_modules/susy/sass']
}).on('error', sass.logError))
.pipe(postcss([
autoprefixer({browsers: ['> 5%', '> 5% in US', 'last 2 versions']})
]))
.pipe(postcss([autoprefixer]))
.pipe(gulp.dest('./css'));
});

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emiglio",
"version": "2.4.1",
"version": "2.4.2",
"description": "\"Named after our favorite robot. A simple, minimal theme with reds and greens.\"",
"main": "gulpfile.js",
"devDependencies": {
Expand Down Expand Up @@ -33,5 +33,9 @@
"bugs": {
"url": "https://github.com/omeka/theme-emiglio/issues"
},
"homepage": "https://github.com/omeka/theme-emiglio#readme"
"homepage": "https://github.com/omeka/theme-emiglio#readme",
"browserslist": [
"> 5%",
"> 1% in US"
]
}
6 changes: 3 additions & 3 deletions theme.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ description = "Named after our favorite robot. A simple, minimal theme with reds
license = "GPLv3"
website = "https://omeka.org"
support_link = "https://omeka.org/forums/forum/themes-and-public-display"
omeka_minimum_version="2.8"
omeka_tested_up_to="2.8"
version="2.4.1"
omeka_minimum_version="3.0"
omeka_tested_up_to="3.0"
version="2.4.2"

0 comments on commit ce9e667

Please sign in to comment.