From c676488eb7adc69461d031a4228acfae94500e81 Mon Sep 17 00:00:00 2001 From: Richard Stevens Date: Fri, 1 Dec 2017 16:16:44 +0000 Subject: [PATCH 1/2] Updating for babel react --- .babelrc | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.babelrc b/.babelrc index f7da561..9ea1ee3 100644 --- a/.babelrc +++ b/.babelrc @@ -1,5 +1,6 @@ { "presets": [ + "react", ["env", { "target": { "browsers": [ diff --git a/package.json b/package.json index 5bf12b2..cc2a329 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "babel-cli": "6.7.7", "babel-core": "^6.26.0", "babel-preset-env": "^1.6.0", + "babel-preset-react": "^6.24.1", "brace-expansion": "^1.1.7", "grunt": "^0.4.5", "grunt-contrib-uglify": "^0.11.0", From bcd1ba646e5e82a86e3f8df35e18f6bc42accbc0 Mon Sep 17 00:00:00 2001 From: Richard Stevens Date: Fri, 1 Dec 2017 16:17:00 +0000 Subject: [PATCH 2/2] Bumping --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cc2a329..47b2c26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@holidayextras/static-site-generator", - "version": "7.0.0", + "version": "7.0.1", "description": "Holiday Extras Static Site Generator in metalsmith / react", "repository": { "type": "git",