diff --git a/.ebextensions/01_enableroot.config b/.ebextensions/01_enableroot.config index 5296f84..5a4b314 100644 --- a/.ebextensions/01_enableroot.config +++ b/.ebextensions/01_enableroot.config @@ -1,3 +1,3 @@ -container_commands: - 001-enableroot: - command: echo Defaults:root \!requiretty >> /etc/sudoers \ No newline at end of file +#container_commands: +# 001-enableroot: +# command: echo Defaults:root \!requiretty >> /etc/sudoers diff --git a/.ebextensions/02_nodecommand.config b/.ebextensions/02_nodecommand.config index c1cc08a..ff3bb99 100644 --- a/.ebextensions/02_nodecommand.config +++ b/.ebextensions/02_nodecommand.config @@ -1,4 +1,4 @@ # 02_nodecommand.config -option_settings: - aws:elasticbeanstalk:container:nodejs: - NodeCommand: npm run start:eb +# option_settings: +# aws:elasticbeanstalk:container:nodejs: +# NodeCommand: npm run start:eb diff --git a/package.json b/package.json index ba0558a..bad0e05 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "roe-base", "private": true, - "version": "0.0.0", + "version": "0.0.1", "description": "a Sails application", "keywords": [], "scripts": { @@ -10,7 +10,7 @@ "start:debug": "npm-run-all --parallel open:client debug", "start:prod": "npm-run-all --parallel build:prod lift", "start:client": "webpack-dev-server --mode development", - "start:eb": "npm run db:migrate && npm run build && npm start", + "start:eb": "npm run db:migrate && npm run build:prod && npm run forever", "lift": "sails lift", "build": "npm run build:prod", "build:dev": "webpack --mode development", @@ -103,5 +103,20 @@ "mocha" ], "parser": "babel-eslint" + }, + "babel": { + "presets": [ + [ + "@babel/preset-env", + { + "useBuiltIns": "usage", + "corejs": 2 + } + ], + "@babel/preset-react" + ], + "plugins": [ + "@babel/plugin-proposal-object-rest-spread" + ] } }