Files
narrow_casting_system/package.json
Alvin-Zilverstand e0c89bbb87 🐳 Update to modern Docker Compose v2 and fix GitHub Actions CI/CD
- Update docker-compose.yml to use modern 'docker compose' syntax (v2)
- Fix GitHub Actions Docker login to use GitHub Container Registry (ghcr.io)
- Add comprehensive GitHub repository settings documentation
- Add alternative CI/CD workflow without Docker push requirement
- Update package.json scripts for modern Docker commands
- Add Docker security scanning and metadata extraction
- Add repository permissions configuration for GitHub Actions
- Update Docker documentation with modern practices

This addresses the Docker login issues and modernizes the deployment
process while providing fallback options for CI/CD implementation.
2026-01-19 10:15:52 +01:00

54 lines
2.1 KiB
JSON

{
"name": "snowworld-narrowcasting-system",
"version": "1.0.0",
"description": "Narrowcasting systeem voor SnowWorld - MBO Challenge 18",
"main": "backend/server.js",
"scripts": {
"start": "cd backend && npm start",
"dev": "cd backend && npm run dev",
"admin": "cd admin && npm start",
"setup": "npm run setup:backend && npm run setup:admin",
"setup:backend": "cd backend && npm ci",
"setup:admin": "cd admin && npm ci",
"test": "node test_system.js",
"test:backend": "cd backend && npm test",
"test:admin": "cd admin && npm test",
"build": "npm run build:backend && npm run build:admin",
"build:backend": "cd backend && npm run build",
"build:admin": "cd admin && npm run build",
"lint": "npm run lint:backend && npm run lint:admin",
"lint:backend": "cd backend && npm run lint",
"lint:admin": "cd admin && npm run lint",
"audit": "npm run audit:backend && npm run audit:admin",
"audit:backend": "cd backend && npm audit --audit-level=high",
"audit:admin": "cd admin && npm audit --audit-level=high",
"docs": "echo 'See docs/TECHNICAL_DOCUMENTATION.md for full documentation'",
"clean": "npm run clean:backend && npm run clean:admin",
"clean:backend": "cd backend && rm -rf node_modules",
"clean:admin": "cd admin && rm -rf node_modules",
"docker:build": "docker build -f deployment/docker/Dockerfile -t ghcr.io/alvin-zilverstand/narrow-casting-system .",
"docker:run": "docker run -d -p 3000:3000 --name snowworld ghcr.io/alvin-zilverstand/narrow-casting-system",
"docker:compose": "cd deployment/docker && docker compose up -d",
"docker:compose-down": "cd deployment/docker && docker compose down",
"docker:compose-logs": "cd deployment/docker && docker compose logs -f"
},
"keywords": [
"narrowcasting",
"digital-signage",
"snowworld",
"mbo-challenge",
"nodejs",
"websocket",
"real-time"
],
"author": "SnowWorld Development Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/snowworld/narrowcasting-system"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
}
}