搭建es6运行环境 npm init 生成 package.json文件; npm install --save-dev babel-cli babel-polyfill babel-preset-es2015 babel-preset-stage-0