Migrate project to TypeScript and Playwright scraping

This commit is contained in:
2026-08-05 13:47:45 +02:00
parent 8ecbc6655f
commit 639d9bec75
30 changed files with 3222 additions and 1625 deletions
+13 -10
View File
@@ -5,26 +5,29 @@
"type": "module",
"description": "Node.js replacement for the Excel Catalog maker - 20 workflow.",
"scripts": {
"start": "node src/cli.js",
"dev": "node src/server.js",
"catalog:dry-run": "node src/cli.js catalog-maker --dry-run",
"test": "node --test",
"start": "tsx src/cli.ts",
"dev": "tsx src/server.ts",
"catalog:dry-run": "tsx src/cli.ts catalog-maker --dry-run",
"test": "tsx --test test/*.test.ts",
"test:ui": "playwright test",
"test:e2e": "playwright test tests/ui/database.e2e.spec.js",
"test:e2e": "playwright test tests/ui/database.e2e.spec.ts",
"css:build": "tailwindcss -i ./src/tailwind.css -o ./public/styles.css --minify",
"build": "npm run css:build"
"build:types": "tsc --noEmit",
"build:browser": "tsc -p tsconfig.browser.json",
"build": "npm run build:types && npm run build:browser && npm run css:build"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"geckodriver": "^6.1.1",
"mariadb": "^3.5.3",
"selenium-webdriver": "^4.46.0"
"playwright": "^1.62.1"
},
"devDependencies": {
"@tailwindcss/cli": "^4.3.3",
"playwright": "^1.62.1",
"tailwindcss": "^4.3.3"
"@types/node": "^26.1.2",
"tailwindcss": "^4.3.3",
"tsx": "^4.23.7",
"typescript": "^7.0.2"
}
}