Updated package.json

Added "yarn cfpurge" as a shortcut to "node ./scripts/cfpurge.js".

"yarn pm2restart" will now call "yarn cfpurge" after restarting PM2.
This commit is contained in:
Bobby Wibowo 2019-01-06 13:28:54 +07:00
parent e55a04c156
commit d503d65c22
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -18,8 +18,9 @@
"start": "node ./lolisafe.js",
"pm2": "pm2 start --name safe ./lolisafe.js",
"thumbs": "node ./scripts/thumbs.js",
"cfpurge": "node ./scripts/cfpurge.js",
"pull": "git stash; git pull; yarn; git stash pop",
"pm2restart": "pm2 restart safe"
"pm2restart": "pm2 restart safe; yarn cfpurge"
},
"dependencies": {
"bcrypt": "^2.0.1",