From b7212736828828474788edb49fa29a85d622bc12 Mon Sep 17 00:00:00 2001 From: Jonathan Ong Date: Sun, 15 Feb 2015 16:47:18 -0800 Subject: [PATCH] rename 6to5 to babel --- package.json | 2 +- test/experimental/async.js | 2 +- test/experimental/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2d8b7c7..16b91cf 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "license": "MIT", "dependencies": { "accepts": "^1.2.2", + "babel": "^4.0.1", "co": "^4.4.0", "composition": "^2.1.1", "content-disposition": "~0.5.0", @@ -43,7 +44,6 @@ "vary": "^1.0.0" }, "devDependencies": { - "6to5": "^3.6.5", "istanbul-harmony": "~0.3.0", "make-lint": "^1.0.1", "mocha": "^2.0.1", diff --git a/test/experimental/async.js b/test/experimental/async.js index ed401ae..82ee0b8 100644 --- a/test/experimental/async.js +++ b/test/experimental/async.js @@ -1,6 +1,6 @@ /** - * Separate file primarily because we use `require('6to5/register')`. + * Separate file primarily because we use `require('babel/register')`. */ var request = require('supertest'); diff --git a/test/experimental/index.js b/test/experimental/index.js index 0e18c8c..276085f 100644 --- a/test/experimental/index.js +++ b/test/experimental/index.js @@ -1,4 +1,4 @@ -require('6to5/register')({ +require('babel/register')({ optional: ['asyncToGenerator'] }); require('./async');