From fe2ec654a714c761dcd18e04273a8b5a445d141a Mon Sep 17 00:00:00 2001 From: Khoa Nguyen Date: Tue, 22 Mar 2016 10:20:39 +0700 Subject: [PATCH] Use babel-register instead of babel-core/register --- CHANGELOG.md | 3 +++ package.json | 3 ++- src/content-loader/__tests__/description.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e45a7317b..c08eac4f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +- Fixed: Missing babel-register package. + ([#335](https://github.com/MoOx/statinamic/issues/335)) + # 0.9.1 - 2016-03-21 - Fixed: default boilerplate have a correct .gitignore file (not .npmignore) diff --git a/package.json b/package.json index fdf580fcf..489e33ddc 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ }, "dependencies": { "babel-polyfill": "^6.5.0", + "babel-register": "^6.6.5", "chalk": "^1.1.0", "classnames": "^2.2.3", "debug": "^2.2.0", @@ -211,7 +212,7 @@ "failFast": true, "verbose": true, "require": [ - "babel-core/register" + "babel-register" ], "babel": "inherit" } diff --git a/src/content-loader/__tests__/description.js b/src/content-loader/__tests__/description.js index d9732ad10..f0235df5e 100644 --- a/src/content-loader/__tests__/description.js +++ b/src/content-loader/__tests__/description.js @@ -1,5 +1,5 @@ /* eslint-disable max-len */ -import test from "ava"; import "babel-core/register" +import test from "ava" import description from "../description" import * as fixtures from "./fixtures/description"