UNPKG

cssobj-plugin-keyframes

Version:

Make keyframes rules localized, and apply to animation and animation-name css props.

18 lines (15 loc) 453 B
var fs = require('fs') var exec = require('child_process').exec var gulp = require('gulp') var bump = require('gulp-bump') // Basic usage: // Will patch the version gulp.task('bump', function () { gulp.src('./package.json') .pipe(bump()) .pipe(gulp.dest('./')) }) gulp.task('tag', function () { var version = JSON.parse(fs.readFileSync('./package.json', 'utf8')).version exec('git tag ' + version + ' && git push --tags', err => err) })