diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..cf6ae40 --- /dev/null +++ b/.babelrc @@ -0,0 +1,4 @@ +{ + "presets": ["es2015", "react"], + "plugins": ["transform-object-rest-spread"] +} \ No newline at end of file diff --git a/gulp/tasks/clean.js b/gulp/tasks/clean.js index 2b13de9..6df5528 100644 --- a/gulp/tasks/clean.js +++ b/gulp/tasks/clean.js @@ -4,8 +4,8 @@ import gulp from 'gulp'; import del from 'del'; import config from '../config'; -gulp.task('clean', function(cb) { +gulp.task('clean', function() { - del([config.buildDir], cb); + return del([config.buildDir]); }); \ No newline at end of file diff --git a/gulp/tasks/tests.js b/gulp/tasks/test.js similarity index 100% rename from gulp/tasks/tests.js rename to gulp/tasks/test.js diff --git a/package.json b/package.json index c46dca5..64d6f26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-rocket-boilerplate", - "version": "2.3.0", + "version": "2.4.0", "author": "Jake Marsh ", "description": "Boilerplate using React, Browserify, SASS, and Gulp.", "repository": { @@ -20,20 +20,23 @@ "npm": "^2.1.x" }, "devDependencies": { - "babel-core": "^5.8.25", + "babel-core": "^6.3.15", "babel-eslint": "^5.0.0-beta4", - "babelify": "^6.1.x", + "babel-plugin-transform-object-rest-spread": "^6.3.13", + "babel-preset-es2015": "^6.3.13", + "babel-preset-react": "^6.3.13", + "babelify": "^7.2.0", "browser-sync": "^2.7.13", - "browserify": "^10.2.6", + "browserify": "^12.0.1", "debowerify": "^1.3.1", - "del": "^1.2.0", - "eslint-plugin-react": "^3.11.3", + "del": "^2.2.0", + "eslint-plugin-react": "^3.6.3", "gulp": "^3.9.0", - "gulp-autoprefixer": "^2.3.1", + "gulp-autoprefixer": "^3.1.0", "gulp-eslint": "^1.1.1", - "gulp-if": "^1.2.5", + "gulp-if": "^2.0.0", "gulp-imagemin": "^2.3.0", - "gulp-jsx-coverage": "^0.2.6", + "gulp-jsx-coverage": "^0.3.5", "gulp-mocha": "^2.1.3", "gulp-notify": "^2.2.0", "gulp-rename": "^1.2.2", @@ -43,19 +46,19 @@ "gulp-uglify": "^1.2.0", "gulp-util": "^3.0.6", "history": "1.13.0", - "humps": "^0.6.0", + "humps": "^1.0.0", "istanbul": "^0.4.0", - "jsdom": "^3.1.2", + "jsdom": "3.1.2", "lodash": "^3.10.0", "mocha": "^2.3.3", "react": "^0.14.x", "react-addons-test-utils": "^0.14.0", - "react-document-title": "^1.0.2", + "react-document-title": "^2.0.1", "react-dom": "^0.14.0", "react-router": "^1.0.0-rc1", - "reflux": "^0.2.9", + "reflux": "^0.3.0", "run-sequence": "^1.1.1", - "should": "^7.1.0", + "should": "^8.0.0", "sinon": "^1.17.1", "superagent": "^1.2.0", "vinyl-source-stream": "^1.1.0",