Files
tilbudgivern/package.json

74 lines
2.8 KiB
JSON

{
"name": "tilbudgivern-unified",
"version": "1.0.0",
"description": "Unified Tilbudgivern application with frontend and backend",
"main": "unified-server.js",
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
},
"scripts": {
"start": "node unified-server.js",
"dev": "nodemon unified-server.js",
"test-smart-packages": "node test-smart-packages-api.js",
"build": "cd frontend && npm run build && cd ..",
"test": "python3 selenium_test_suite.py",
"test-minimal": "python3 test_countdown_selenium_minimal.py",
"test-visual-ai": "python3 selenium_visual_ai_test.py",
"build-and-test": "npm run build && pm2 restart tilbudgivern-unified && sleep 3 && npm run test",
"quick-test": "npm run test-minimal",
"visual-qa": "npm run test-visual-ai",
"test:pw": "cd tests && PLAYWRIGHT_BASE_URL=https://tilbudsgiveren.alw.dk playwright test",
"test:pw:ui": "cd tests && PLAYWRIGHT_BASE_URL=https://tilbudsgiveren.alw.dk playwright test --ui",
"test:pw:headed": "cd tests && PLAYWRIGHT_BASE_URL=https://tilbudsgiveren.alw.dk playwright test --headed",
"test:pw:report": "cd tests && playwright show-report",
"test:pw:debug": "cd tests && PLAYWRIGHT_BASE_URL=https://tilbudsgiveren.alw.dk playwright test --debug",
"test:pw:local": "cd tests && PLAYWRIGHT_BASE_URL=http://localhost:4032 playwright test",
"test:selenium": "SELENIUM_BASE_URL=https://tilbudsgiveren.alw.dk mocha tests/selenium-ui.test.js --timeout 60000",
"test:selenium:local": "SELENIUM_BASE_URL=http://localhost:4032 mocha tests/selenium-ui.test.js --timeout 60000",
"test:ui": "npm run test:pw",
"test:ui:all": "npm run test:pw && npm run test:selenium",
"carpenter:openai:quotes": "node carpenter-agent-openai.js --generate-quotes=5 --save",
"carpenter:openai:ui": "cd tests && PLAYWRIGHT_BASE_URL=http://localhost:4032 npx playwright test carpenter-agent-openai.spec.js",
"carpenter:openai:ui:report": "cd tests && npx playwright show-report"
},
"dependencies": {
"axios": "^1.12.2",
"bcrypt": "^5.1.1",
"cors": "^2.8.5",
"csv-parser": "^3.2.0",
"dotenv": "^16.6.1",
"express": "^4.18.2",
"graphql": "^16.11.0",
"graphql-request": "^7.3.1",
"html-pdf-node": "^1.0.8",
"joi": "^17.11.0",
"jsonwebtoken": "^9.0.2",
"multer": "^1.4.5-lts.1",
"mysql2": "^3.6.5",
"nodemon": "^3.0.2",
"openai": "^4.104.0",
"pdf-parse": "^1.1.1",
"puppeteer": "^24.21.0",
"socket.io": "^4.8.1",
"sqlite3": "^5.1.7",
"tesseract.js": "^5.0.4",
"winston": "^3.11.0"
},
"keywords": [
"tilbudgivern",
"ai",
"quotes",
"construction"
],
"author": "Alex",
"license": "MIT",
"devDependencies": {
"@playwright/test": "^1.56.1",
"chromedriver": "^137.0.0",
"mocha": "^11.7.5",
"react-scripts": "^5.0.1",
"selenium-webdriver": "^4.33.0"
}
}