Added .gitea/workflows/ci.yml which runs 'npm audit --audit-level=moderate' on every push and PR. Fails the build on any moderate or higher severity finding. Also added 'npm run audit' and 'npm run audit:fix' convenience scripts to package.json for local use.
36 lines
867 B
JSON
36 lines
867 B
JSON
{
|
|
"name": "sofarr",
|
|
"version": "0.1.4",
|
|
"description": "A personal media download dashboard that shows your downloads 'so far' while you relax on the sofa waiting for your *arr services to finish",
|
|
"main": "server/index.js",
|
|
"scripts": {
|
|
"dev": "nodemon server/index.js",
|
|
"start": "node server/index.js",
|
|
"install:all": "npm install",
|
|
"audit": "npm audit --audit-level=moderate",
|
|
"audit:fix": "npm audit fix"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.6.0",
|
|
"cookie-parser": "^1.4.6",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^4.18.2",
|
|
"express-rate-limit": "^6.7.0",
|
|
"helmet": "^4.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^7.6.0",
|
|
"nodemon": "^2.0.22"
|
|
},
|
|
"keywords": [
|
|
"sabnzbd",
|
|
"sonarr",
|
|
"radarr",
|
|
"emby",
|
|
"dashboard"
|
|
],
|
|
"author": "",
|
|
"license": "MIT"
|
|
}
|