Skip to content

Commit

Permalink
chore(build): update to babel
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Feb 27, 2015
1 parent 859b274 commit aa0fa2f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions build/tasks/build.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
var gulp = require('gulp');
var runSequence = require('run-sequence');
var to5 = require('gulp-6to5');
var to5 = require('gulp-babel');
var paths = require('../paths');
var compilerOptions = require('../6to5-options');
var compilerOptions = require('../babel-options');
var assign = Object.assign || require('object.assign');

gulp.task('build-es6', function () {
Expand Down
6 changes: 3 additions & 3 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ module.exports = function(config) {
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
'test/**/*.js': ['6to5'],
'src/**/*.js': ['6to5']
'test/**/*.js': ['babel'],
'src/**/*.js': ['babel']
},
'6to5Preprocessor': {
'babelPreprocessor': {
options: {
sourceMap: 'inline',
modules: 'system',
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
"conventional-changelog": "0.0.11",
"del": "^1.1.0",
"gulp": "^3.8.10",
"gulp-6to5": "^3.0.0",
"gulp-babel": "^4.0.0",
"gulp-bump": "^0.1.11",
"gulp-jshint": "^1.9.0",
"gulp-yuidoc": "^0.1.2",
"jasmine-core": "^2.1.3",
"jshint-stylish": "^1.0.0",
"karma": "^0.12.28",
"karma-6to5-preprocessor": "^3.0.0",
"karma-babel-preprocessor": "^4.0.0",
"karma-chrome-launcher": "^0.1.7",
"karma-jasmine": "^0.3.2",
"karma-jasmine": "^0.3.5",
"karma-jspm": "^1.0.1",
"object.assign": "^1.0.3",
"require-dir": "^0.1.0",
Expand Down

0 comments on commit aa0fa2f

Please sign in to comment.