mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 18:54:52 +00:00
Add Elastic Beanstalk config
This commit is contained in:
parent
a4854209db
commit
9e70817696
@ -9,6 +9,12 @@ files:
|
|||||||
keepalive 256;
|
keepalive 256;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
|
||||||
|
return 301 https://$host$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8080;
|
listen 8080;
|
||||||
|
|
||||||
|
6
.ebignore
Normal file
6
.ebignore
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
node_modules/
|
||||||
|
.DS_STORE
|
||||||
|
# Elastic Beanstalk Files
|
||||||
|
.elasticbeanstalk/*
|
||||||
|
!.elasticbeanstalk/*.cfg.yml
|
||||||
|
!.elasticbeanstalk/*.global.yml
|
14
package.json
14
package.json
@ -21,12 +21,12 @@
|
|||||||
"slug": "^0.9.1",
|
"slug": "^0.9.1",
|
||||||
"socket.io": "^1.4.0",
|
"socket.io": "^1.4.0",
|
||||||
"underscore": "^1.8.3",
|
"underscore": "^1.8.3",
|
||||||
"uuid": "^2.0.1"
|
"uuid": "^2.0.1",
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"babel-core": "^6.5.2",
|
"babel-core": "^6.5.2",
|
||||||
"babel-preset-es2015": "^6.3.13",
|
"babel-preset-es2015": "^6.3.13",
|
||||||
"babel-register": "^6.5.2",
|
"babel-register": "^6.5.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
"compression": "^1.6.0",
|
"compression": "^1.6.0",
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
"gulp-nodemon": "^2.0.6",
|
"gulp-nodemon": "^2.0.6",
|
||||||
@ -50,11 +50,13 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node index.js",
|
"start": "node index.js",
|
||||||
"prod": "npm run bundle && npm run start",
|
"prod": "npm run start",
|
||||||
"dev": "npm run bundle && gulp start",
|
"dev": "npm run bundle && gulp start",
|
||||||
"bundle": "gulp bundle",
|
"bundle": "gulp bundle",
|
||||||
"test": "npm run bundle && gulp test",
|
"test": "npm run bundle && gulp test",
|
||||||
"test-travis": "node_modules/mocha/bin/mocha test/unit/lint.js --compilers js:babel-core/register && node_modules/karma/bin/karma start --single-run && node_modules/nightwatch/bin/nightwatch --test test/acceptance/index.js --config test/acceptance/nightwatch.json -e chrome"
|
"test-travis": "node_modules/mocha/bin/mocha test/unit/lint.js --compilers js:babel-core/register && node_modules/karma/bin/karma start --single-run && node_modules/nightwatch/bin/nightwatch --test test/acceptance/index.js --config test/acceptance/nightwatch.json -e chrome",
|
||||||
|
"predeploy": "npm run bundle",
|
||||||
|
"deploy": "eb deploy --staged"
|
||||||
},
|
},
|
||||||
"author": "Daniel Seripap",
|
"author": "Daniel Seripap",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user