about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNolan Lawson <nolan@nolanlawson.com>2017-05-23 15:45:05 -0700
committerEugen Rochko <eugen@zeonfederated.com>2017-05-24 00:45:05 +0200
commit1fd18a61bdbdc7b767f42b2f186f9c2c62ea37c4 (patch)
tree096136f8dff33417a391676ad5e8bdbe399b0b6e
parent5d9f4795389d93e1a642eaa7c9be44757bd1e17c (diff)
Use node instead of babel-node for streaming (#3269)
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 6159de506..993570ce0 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",
+    "start": "rimraf ./tmp/streaming && babel ./streaming/index.js --out-dir ./tmp && node ./tmp/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 app/javascript/ config/webpack/ storyboard/ streaming/",