feat: Update package.json scripts and add new dependencies for improved functionality

This commit is contained in:
2025-08-21 22:46:12 +02:00
parent fc4d4f0dc7
commit 8c280bdacc
6 changed files with 197 additions and 10 deletions

View File

@@ -18,8 +18,9 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "npm test && react-scripts start",
"dev": "npm test && react-scripts start",
"start": "react-scripts start",
"start:with-tests": "npm test && react-scripts start",
"dev": "react-scripts start",
"build": "npm run test:unit && npm run test:integration && react-scripts build && npm run pm2:start",
"build:fast": "react-scripts build && npm run pm2:reload",
"test-build-test": "npm run test:unit && npm run test:integration && npm run build && npm run test:unit",
@@ -36,7 +37,7 @@
"pm2:start": "cd database && pm2 start pm2.config.js --env production --update-env",
"pm2:stop": "pm2 stop deathwatch-server || true",
"pm2:reload": "cd database && pm2 reload pm2.config.js --env production --update-env",
"sanitize:openai": "node scripts/sanitize-rules-openai.js",
"sanitize:openai": "node scripts/sanitize-rules-openai.js",
"prestart": "",
"preserver": ""
},
@@ -60,12 +61,11 @@
]
},
"devDependencies": {
"canvas": "^2.11.2",
"tesseract.js": "^4.1.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
"autoprefixer": "^10.4.14",
"axios": "^1.11.0",
"babel-loader": "^10.0.0",
"canvas": "^2.11.2",
"cheerio": "^1.1.2",
"eslint-config-prettier": "^10.1.8",
"html-webpack-plugin": "^5.6.4",
@@ -75,6 +75,7 @@
"prettier-eslint": "^16.4.2",
"react-scripts": "^5.0.1",
"tailwindcss": "^3.3.2",
"tesseract.js": "^4.1.1",
"webpack-dev-server": "^5.2.2"
}
}