This commit is contained in:
Leandro Facchinetti 2020-03-20 02:33:11 -04:00
parent 5f1462a30a
commit 1fc8a342b4
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"scripts": { "scripts": {
"test": "tsc && jest && prettier --check 'src/**'", "test": "tsc && jest && prettier --check 'src/**'",
"develop": "concurrently \"tsc --watch\" \"nodemon ./lib/index.js\"" "develop": "concurrently \"tsc --watch\" \"nodemon lib\""
}, },
"dependencies": { "dependencies": {
"crypto-random-string": "^3.2.0", "crypto-random-string": "^3.2.0",
@ -39,7 +39,7 @@
"apps": [ "apps": [
{ {
"name": "kill-the-newsletter", "name": "kill-the-newsletter",
"script": "./lib/index.js" "script": "lib"
} }
], ],
"deploy": { "deploy": {
@ -64,6 +64,7 @@
"rsync", "rsync",
"pm2 startup OR pm2 save", "pm2 startup OR pm2 save",
"pm2 start env.js", "pm2 start env.js",
"https://pm2.keymetrics.io/docs/usage/deployment/",
"https://pm2.keymetrics.io/docs/usage/startup/", "https://pm2.keymetrics.io/docs/usage/startup/",
"https://certbot.eff.org/docs/using.html" "https://certbot.eff.org/docs/using.html"
], ],