From a731325461b48c0168d1d8f49beff57708c6de6f Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 24 Dec 2015 00:40:54 -0500 Subject: [PATCH] Add babelify to build ES6 => ES5 --- Makefile.am | 1 + package.json.in | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 27abb63..4d9b367 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,6 +33,7 @@ standalone: lasertank.js lasertank.js: modindex ./node_modules/.bin/browserify \ -t strictify \ + -t babelify \ -s lasertank \ --debug \ src/index.js \ diff --git a/package.json.in b/package.json.in index ba6cb9a..eb99a58 100644 --- a/package.json.in +++ b/package.json.in @@ -18,10 +18,11 @@ "easejs": ">=0.2.7" }, "devDependencies": { - "chai": ">=1.9.1", - "mocha": ">=1.18.2", + "babelify": ">=7.2", "browserify": "~12", - "strictify": "~0.2" + "chai": ">=1.9.1", + "mocha": ">=1.18.2", + "strictify": "~0.2" }, "license": "AGPL-3.0",