diff --git a/package.json b/package.json index db906c0d4a..41a33f2e71 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,9 @@ }, "devDependencies": { "babel-eslint": "^7.1.1", + "babel-plugin-transform-object-assign": "^6.22.0", + "babel-plugin-yo-yoify": "^0.3.3", + "babel-polyfill": "^6.22.0", "babel-preset-es2015": "^6.24.0", "babelify": "^7.3.0", "browserify": "^13.0.1", @@ -80,23 +83,58 @@ ], "parser": "babel-eslint" }, + "babel": { + "plugins": [ + "transform-es2015-template-literals", + "transform-es2015-literals", + "transform-es2015-function-name", + "transform-es2015-arrow-functions", + "transform-es2015-block-scoped-functions", + "transform-es2015-classes", + "transform-es2015-object-super", + "transform-es2015-shorthand-properties", + "transform-es2015-duplicate-keys", + "transform-es2015-computed-properties", + "transform-es2015-for-of", + "transform-es2015-sticky-regex", + "transform-es2015-unicode-regex", + "check-es2015-constants", + "transform-es2015-spread", + "transform-es2015-parameters", + "transform-es2015-destructuring", + "transform-es2015-block-scoping", + "transform-object-assign" + ] + }, "browserify": { "transform": [ - ["babelify", { - "plugins": [ - ["fast-async", { - "runtimePatten": null, - "compiler": { - "promises": true, - "es7": true, - "noRuntime": true, - "wrapAwait": true - } - }] - ] - }], - ["yo-yoify"], - ["babelify", { "presets": ["es2015"] }] + [ + "babelify", + { + "sourceMapsAbsolute": false, + "sourceMaps": true, + "plugins": [ + [ + "fast-async", + { + "runtimePattern": null, + "compiler": { + "es7": true, + "noRuntime": true, + "promises": true, + "wrapAwait": true + } + } + ], + [ + "yo-yoify" + ] + ], + "presets": [ + "es2015" + ] + } + ] ] } }