diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 55c6c2ee36..56a23529b5 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -163,7 +163,7 @@ New test should be added for any new features or views in the app. For more info If you know a language other than English and would like to help translate this app, please follow the following steps: ### Install necessary node modules -```npm install -g babel-cli eslint-cli``` +```npm install -g babel-cli eslint-cli babel-preset-es2015``` ### Run script to populate missing translation terms ```npm run translation-sync``` diff --git a/package.json b/package.json index 943ab5ac58..bf951e23a7 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "start": "./script/server", "test": "./script/test", "electron-test": "ember electron:test", - "translation-sync": "babel-node script/translation/sync.js --presets es2015,stage-2; eslint --fix app/locales" + "translation-sync": "babel-node script/translation/sync.js --presets es2015 && eslint --fix app/locales" }, "repository": { "type": "git",