From 1fd18a61bdbdc7b767f42b2f186f9c2c62ea37c4 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Tue, 23 May 2017 15:45:05 -0700 Subject: [PATCH] Use node instead of babel-node for streaming (#3269) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/",