try removing ebext commands

pull/53/head
unknown 2019-04-14 20:09:41 -04:00
parent 59e0b97a9b
commit 567ee1b35d
3 changed files with 23 additions and 8 deletions

View File

@ -1,3 +1,3 @@
container_commands: #container_commands:
001-enableroot: # 001-enableroot:
command: echo Defaults:root \!requiretty >> /etc/sudoers # command: echo Defaults:root \!requiretty >> /etc/sudoers

View File

@ -1,4 +1,4 @@
# 02_nodecommand.config # 02_nodecommand.config
option_settings: # option_settings:
aws:elasticbeanstalk:container:nodejs: # aws:elasticbeanstalk:container:nodejs:
NodeCommand: npm run start:eb # NodeCommand: npm run start:eb

View File

@ -1,7 +1,7 @@
{ {
"name": "roe-base", "name": "roe-base",
"private": true, "private": true,
"version": "0.0.0", "version": "0.0.1",
"description": "a Sails application", "description": "a Sails application",
"keywords": [], "keywords": [],
"scripts": { "scripts": {
@ -10,7 +10,7 @@
"start:debug": "npm-run-all --parallel open:client debug", "start:debug": "npm-run-all --parallel open:client debug",
"start:prod": "npm-run-all --parallel build:prod lift", "start:prod": "npm-run-all --parallel build:prod lift",
"start:client": "webpack-dev-server --mode development", "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", "lift": "sails lift",
"build": "npm run build:prod", "build": "npm run build:prod",
"build:dev": "webpack --mode development", "build:dev": "webpack --mode development",
@ -103,5 +103,20 @@
"mocha" "mocha"
], ],
"parser": "babel-eslint" "parser": "babel-eslint"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage",
"corejs": 2
}
],
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread"
]
} }
} }