about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-05-14 20:47:31 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-14 13:47:31 +0200
commit72c8562cc9859106f89b12cca1016e5e1b2a8c78 (patch)
treea42098c30fe270695fa61c38b786dcf3184ed605 /package.json
parent882e4f53221b13ead821093561ae4b665cea3a35 (diff)
Use babel-preset-env on Streaming Server (#2998)
* Use babel-preset-env on Streaming Server

Change the streaming server to use babel-preset-env as well as asset compilation.
This shortens the load time at first boot.

* remove babel-plugin-lodash
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 1 insertions, 3 deletions
diff --git a/package.json b/package.json
index 78d8213e4..f19fa8d14 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
     "build:development": "NODE_ENV=development yarn webpack -- --config config/webpack/development.js",
     "build:production": "NODE_ENV=production yarn webpack -- --config config/webpack/production.js",
     "manage:translations": "node ./config/webpack/translationRunner.js",
-    "start": "babel-node ./streaming/index.js --presets es2015,stage-2",
+    "start": "babel-node ./streaming/index.js",
     "storybook": "start-storybook -p 9001 -c storybook",
     "test": "npm run test:lint && npm run test:mocha",
     "test:lint": "eslint -c .eslintrc.yml --ext=js --ext=jsx app/javascript/",
@@ -34,9 +34,7 @@
     "babel-plugin-transform-react-jsx-self": "^6.22.0",
     "babel-plugin-transform-react-jsx-source": "^6.22.0",
     "babel-preset-env": "^1.4.0",
-    "babel-preset-es2015": "^6.22.0",
     "babel-preset-react": "^6.11.1",
-    "babel-preset-stage-2": "^6.22.0",
     "coffee-loader": "^0.7.3",
     "coffee-script": "^1.12.5",
     "compression-webpack-plugin": "^0.4.0",