Updated package.json

Added a new yarn script/shortcut, "yarn randver". It's a shortcut to a one-liner node script to generate 10 characters long of a random string using "randomstring" module.
This will be used for version strings in _globals.njk.
This commit is contained in:
Bobby Wibowo 2018-09-07 22:26:29 +07:00
parent 8e74c7f5bd
commit 715132a0d6
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -17,7 +17,8 @@
"scripts": {
"start": "node ./lolisafe.js",
"pm2": "pm2 start --name lolisafe ./lolisafe.js",
"thumbs": "node ./scripts/thumbs.js"
"thumbs": "node ./scripts/thumbs.js",
"randver": "node -e \"console.log(require('randomstring').generate(10))\""
},
"dependencies": {
"bcrypt": "^2.0.0",