Merge pull request #700 from yann300/fixBabelObjectAssign

Fix babel transform
pull/1/head
yann300 7 years ago committed by GitHub
commit e9ecc52afe
  1. 50
      remix-debugger/package.json

@ -16,7 +16,11 @@
"devDependencies": { "devDependencies": {
"babel-eslint": "^7.1.1", "babel-eslint": "^7.1.1",
"babel-plugin-transform-object-assign": "^6.22.0", "babel-plugin-transform-object-assign": "^6.22.0",
"babel-plugin-yo-yoify": "^0.3.3",
"babel-polyfill": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.0", "babel-preset-es2015": "^6.24.0",
"babel-preset-stage-0": "^6.24.1",
"babelify": "^7.3.0", "babelify": "^7.3.0",
"browserify": "^13.0.1", "browserify": "^13.0.1",
"browserify-livereload": "^1.0.10", "browserify-livereload": "^1.0.10",
@ -85,34 +89,56 @@
"test/resources/*" "test/resources/*"
] ]
}, },
"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": { "browserify": {
"transform": [ "transform": [
[ [
"babelify", "babelify",
{ {
"sourceMapsAbsolute": false,
"sourceMaps": true,
"plugins": [ "plugins": [
[ [
"fast-async", "fast-async",
{ {
"runtimePatten": null, "runtimePattern": null,
"compiler": { "compiler": {
"promises": true,
"es7": true, "es7": true,
"noRuntime": true, "noRuntime": true,
"promises": true,
"wrapAwait": true "wrapAwait": true
} }
} }
], ],
"transform-object-assign" [
] "yo-yoify"
} ],
], [
[ "transform-object-assign"
"yo-yoify" ]
], ],
[
"babelify",
{
"presets": [ "presets": [
"es2015" "es2015"
] ]

Loading…
Cancel
Save