ci: add ecosystem to package

This commit is contained in:
Alexis Tyler
2020-09-24 09:24:32 +09:30
parent 295900f5d2
commit ff5fc30b24
2 changed files with 4 additions and 8 deletions

View File

@@ -11,12 +11,6 @@ const common = {
max_memory_restart: '200M'
};
const nonDevelopment = {
PORT: '/var/run/graphql-api.sock',
error_file: '/var/log/graphql-api.log',
out_file: '/var/log/graphql-api.log'
}
const envs = {
env_development: {
PORT: 5000,
@@ -33,7 +27,8 @@ const envs = {
DEBUG: true
},
env_production: {
NODE_ENV: 'production'
NODE_ENV: 'production',
PORT: '/var/run/graphql-api.sock'
}
};

View File

@@ -26,7 +26,8 @@
},
"files": [
"dist",
"index.js"
"index.js",
"ecosystem.config.js"
],
"dependencies": {
"@apollo/client": "^3.2.0",