mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-31 15:21:33 +00:00
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:
parent
e55a04c156
commit
d503d65c22
@ -18,8 +18,9 @@
|
|||||||
"start": "node ./lolisafe.js",
|
"start": "node ./lolisafe.js",
|
||||||
"pm2": "pm2 start --name safe ./lolisafe.js",
|
"pm2": "pm2 start --name safe ./lolisafe.js",
|
||||||
"thumbs": "node ./scripts/thumbs.js",
|
"thumbs": "node ./scripts/thumbs.js",
|
||||||
|
"cfpurge": "node ./scripts/cfpurge.js",
|
||||||
"pull": "git stash; git pull; yarn; git stash pop",
|
"pull": "git stash; git pull; yarn; git stash pop",
|
||||||
"pm2restart": "pm2 restart safe"
|
"pm2restart": "pm2 restart safe; yarn cfpurge"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bcrypt": "^2.0.1",
|
"bcrypt": "^2.0.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user