]> cat aescling's git repositories - mastodon.git/commitdiff
Use node instead of babel-node for streaming (#3269)
authorNolan Lawson <nolan@nolanlawson.com>
Tue, 23 May 2017 22:45:05 +0000 (15:45 -0700)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 23 May 2017 22:45:05 +0000 (00:45 +0200)
package.json

index 6159de506f5e11eb4f8866a64eb631bf9a2163a8..993570ce017141047b5c897f6b6d625293b4c975 100644 (file)
@@ -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/",