1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-28 14:58:31 +09:00

Use node instead of babel-node for streaming (#3269)

This commit is contained in:
Nolan Lawson 2017-05-23 15:45:05 -07:00 committed by Eugen Rochko
parent 5d9f479538
commit 1fd18a61bd

View File

@ -6,7 +6,7 @@
"build:development": "NODE_ENV=development yarn webpack -- --config config/webpack/development.js", "build:development": "NODE_ENV=development yarn webpack -- --config config/webpack/development.js",
"build:production": "NODE_ENV=production yarn webpack -- --config config/webpack/production.js", "build:production": "NODE_ENV=production yarn webpack -- --config config/webpack/production.js",
"manage:translations": "node ./config/webpack/translationRunner.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", "storybook": "start-storybook -p 9001 -c storybook",
"test": "npm run test:lint && npm run test:mocha", "test": "npm run test:lint && npm run test:mocha",
"test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ storyboard/ streaming/", "test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ storyboard/ streaming/",