Migrate to Bun. Not yet tidy.

This commit is contained in:
tedspare
2024-03-18 23:22:59 -04:00
parent 8744289c30
commit 675b527833
20 changed files with 886 additions and 1729 deletions
+7 -12
View File
@@ -1,17 +1,15 @@
{
"author": "Roman Shtylman <[email protected]>",
"name": "localtunnel-server",
"name": "tunnel",
"description": "expose localhost to the world",
"version": "0.0.8",
"version": "0.0.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/localtunnel/server.git"
"url": "https://github.com/rubriclab/tunnel"
},
"dependencies": {
"book": "1.3.3",
"debug": "3.1.0",
"esm": "3.0.34",
"human-id": "^4.1.1",
"human-readable-ids": "1.0.3",
"koa": "2.5.1",
"koa-router": "7.4.0",
@@ -21,14 +19,11 @@
"tldjs": "2.3.1"
},
"devDependencies": {
"mocha": "5.1.1",
"node-dev": "3.1.3",
"supertest": "3.1.0",
"@types/bun": "^1.0.8",
"ws": "5.1.1"
},
"scripts": {
"test": "mocha --check-leaks --require esm './**/*.test.js'",
"start": "./bin/server --domain tunnel.rubric.sh",
"dev": "node-dev bin/server --port 3000"
"start": "bun run opus.ts",
"dev": "bun run --watch index.ts --domain ted.rubric.sh --port 3001"
}
}