From a12d82c41bfc2b0e60c2d802ba865edb573c872f Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Sat, 5 Sep 2015 23:03:39 +0200 Subject: [PATCH] temporary fix for the es6/git/npm problem https://github.com/npm/npm/issues/3055 --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 53f7434..304858f 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "flying-squid": "./app.js" }, "scripts": { - "test": "mocha --reporter spec" + "test": "mocha --reporter spec", + "postinstall": "babel -d node_modules/prismarine-world/dist/ node_modules/prismarine-world/src/ && babel -d node_modules/prismarine-chunk/dist/ node_modules/prismarine-chunk/src/ " }, "keywords": [], "licenses": { @@ -43,6 +44,7 @@ }, "devDependencies": { "doctoc": "^0.15.0", - "longjohn": "~0.2.8" + "longjohn": "~0.2.8", + "babel":"5.8.23" } }