From 9e736f30c24fa56ac1cd3cd713d46fee9952f7b6 Mon Sep 17 00:00:00 2001 From: yanghuabei Date: Sun, 23 Oct 2016 16:51:28 +0800 Subject: [PATCH] fix(generator): fix compile error caused by latest babel-preset-es2017 https://github.com/yanghuabei/generator-es2017-npm-module/issues/2 --- generators/app/templates/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/generators/app/templates/package.json b/generators/app/templates/package.json index f1841bb..4fed613 100644 --- a/generators/app/templates/package.json +++ b/generators/app/templates/package.json @@ -14,7 +14,9 @@ }, "devDependencies": { "babel-cli": "*", - "babel-preset-es2017": "1.4.0", + "babel-preset-es2017": "6.x", + "babel-preset-es2016": "6.x", + "babel-preset-es2015": "6.x", "coveralls": "*", "chai": "*", "isparta": "*",