Updates scripts

This commit is contained in:
Pierre Lannoy 2023-12-13 19:40:27 +01:00
commit bf95c6b9af
Signed by: Pierre Lannoy
GPG key ID: D27231EF87D53F31

View file

@ -1,15 +1,16 @@
{ {
"name": "domain-forward", "name": "domain-forward",
"version": "1.0.0", "version": "1.0.0",
"description": "Service to forward domain via DoH", "description": "Service to forward domain via Hosterra DoH",
"main": "app.js", "main": "app.js",
"type": "module", "type": "module",
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=20.0.0"
}, },
"scripts": { "scripts": {
"start": "pm2 start app.js", "start": "pm2 start app.js",
"start-proxied": "pm2 start app.js -- 5080 5443", "stop": "pm2 stop app.js",
"refresh": "pm2 stop app.js && git pull && pm2 start app.js",
"count": "find .certs -type d | grep '.\\.' | wc -l" "count": "find .certs -type d | grep '.\\.' | wc -l"
}, },
"keywords": [], "keywords": [],