|
|
|
@ -8,17 +8,6 @@
|
|
|
|
|
"build": "rm -dr dist-*/ & npm run build:backend && npm run build:frontend",
|
|
|
|
|
"build:backend": "tsc -p backend/",
|
|
|
|
|
"build:frontend": "tsc -p frontend/",
|
|
|
|
|
"dev-win": "npm run build-skip-options && npm run start",
|
|
|
|
|
"build-old": "NODE_OPTIONS=\"--max-old-space-size=1024\" tsc",
|
|
|
|
|
"build-skip-options": "tsc",
|
|
|
|
|
"setup": "node dist/setup.js",
|
|
|
|
|
"metrics": "node dist/metrics.js",
|
|
|
|
|
"purge": "node dist/purge.js",
|
|
|
|
|
"docker-logs": "docker-compose logs -f --tail=50 --no-log-prefix ass",
|
|
|
|
|
"docker-update": "git pull && npm run docker-uplite",
|
|
|
|
|
"docker-uplite": "docker-compose up --force-recreate --build -d && docker image prune -f",
|
|
|
|
|
"docker-upfull": "npm run docker-update && npm run docker-resetup",
|
|
|
|
|
"docker-resetup": "docker-compose exec ass npm run setup && docker-compose restart",
|
|
|
|
|
"start": "node dist-backend/app.js",
|
|
|
|
|
"cli-setpassword": "node dist/tools/script.setpassword.js",
|
|
|
|
|
"cli-testpassword": "node dist/tools/script.testpassword.js",
|
|
|
|
|