Some checks failed
CI/CD Pipeline - Build, Test, and Deploy / 🧪 Test & Lint (push) Failing after 4m49s
CI/CD Pipeline - Build, Test, and Deploy / 🔒 Security Scan (push) Successful in 9m29s
CI/CD Pipeline - Build, Test, and Deploy / 🏗️ Build & Push Image (push) Has been skipped
CI/CD Pipeline - Build, Test, and Deploy / 🛡️ Image Security Scan (push) Has been skipped
CI/CD Pipeline - Build, Test, and Deploy / 🚀 Deploy to Development (push) Has been skipped
CI/CD Pipeline - Build, Test, and Deploy / 🏭 Deploy to Production (push) Has been skipped
CI/CD Pipeline - Build, Test, and Deploy / 🧹 Cleanup (push) Successful in 1s
48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
|
"name": "harbor-ci-cd-demo",
|
|
"version": "1.0.0",
|
|
"description": "System Monitoring Dashboard - Harbor CI/CD Demo",
|
|
"main": "src/app.js",
|
|
"scripts": {
|
|
"start": "node src/app.js",
|
|
"dev": "nodemon src/app.js",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"lint": "eslint src/ tests/",
|
|
"lint:fix": "eslint src/ tests/ --fix"
|
|
},
|
|
"keywords": ["monitoring", "dashboard", "nodejs", "cicd", "harbor"],
|
|
"author": "Your Name",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"express": "^4.18.2",
|
|
"cors": "^2.8.5",
|
|
"helmet": "^7.1.0",
|
|
"morgan": "^1.10.0",
|
|
"compression": "^1.7.4",
|
|
"dotenv": "^16.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.7.0",
|
|
"supertest": "^6.3.3",
|
|
"eslint": "^8.53.0",
|
|
"nodemon": "^3.0.1"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"collectCoverageFrom": [
|
|
"src/**/*.js",
|
|
"!src/public/**",
|
|
"!src/middleware/logger.js"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 55,
|
|
"functions": 70,
|
|
"lines": 70,
|
|
"statements": 70
|
|
}
|
|
}
|
|
}
|
|
} |