Skip to content

Commit

Permalink
Переход на ES6
Browse files Browse the repository at this point in the history
  • Loading branch information
hcodes committed Oct 9, 2017
1 parent 4cf30f8 commit f45ddeb
Show file tree
Hide file tree
Showing 102 changed files with 1,597 additions and 833 deletions.
3 changes: 3 additions & 0 deletions .babelrc
@@ -0,0 +1,3 @@
{
"presets": ["env"]
}
3 changes: 3 additions & 0 deletions gulpfile.js
Expand Up @@ -3,6 +3,7 @@
const gulp = require('gulp');
const fs = require('fs');
const concat = require('gulp-concat');
const babel = require('gulp-babel');
const gulpFilter = require('gulp-filter');
const include = require('gulp-include');
const jsonlint = require('gulp-jsonlint');
Expand Down Expand Up @@ -61,6 +62,7 @@ gulp.task('js', ['rules'], function() {
name: 'Typograf'
}))
.pipe(updateVersion())
.pipe(babel())
.pipe(rename('typograf.js'))
.pipe(gulp.dest(buildDir));
});
Expand All @@ -74,6 +76,7 @@ gulp.task('all.js', ['js', 'jsonRules', 'jsonGroups'], function() {
name: 'Typograf'
}))
.pipe(updateVersion())
.pipe(babel())
.pipe(rename('typograf.all.js'))
.pipe(gulp.dest(buildDir));
});
Expand Down

0 comments on commit f45ddeb

Please sign in to comment.