feat: add HTTP and WebSocket development proxy

This commit is contained in:
2026-10-31 22:11:17 +01:00
parent 51251e444a
commit adeb68cbd5
14 changed files with 397 additions and 14 deletions
+4 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@fretuks/iceberg",
"version": "0.2.0",
"version": "0.2.1",
"description": "A lightweight production build tool powered by Rolldown.",
"type": "module",
"bin": {
@@ -34,17 +34,19 @@
"scripts": {
"build": "tsc -p tsconfig.json",
"prepack": "npm run build",
"test": "node --test",
"test": "node --test tests/build.test.mjs && node --test tests/dev-server.test.mjs && node --test tests/proxy.test.mjs",
"pack:check": "npm pack --dry-run"
},
"dependencies": {
"chokidar": "^5.0.0",
"http-proxy": "^1.18.1",
"lightningcss": "^1.29.2",
"parse5": "^7.2.1",
"rolldown": "^1.2.16",
"ws": "^8.22.0"
},
"devDependencies": {
"@types/http-proxy": "^1.17.17",
"@types/node": "^22.10.2",
"@types/ws": "^8.18.2",
"typescript": "^5.7.2"