fix executable

This commit is contained in:
marlonerler
2024-07-05 19:53:19 +02:00
parent dfc59e2f78
commit 5fb1a9ece3
2 changed files with 4 additions and 3 deletions
Regular → Executable
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env bun
import { ServerWebSocket, write } from "bun"; import { ServerWebSocket, write } from "bun";
import { import {
addConnection, addConnection,
+2 -3
View File
@@ -2,9 +2,8 @@
"name": "udn", "name": "udn",
"version": "1.0.0-beta1", "version": "1.0.0-beta1",
"description": "A websocket-based infrastructure for decentralized networks ", "description": "A websocket-based infrastructure for decentralized networks ",
"scripts": { "bin": {
"test": "echo \"Error: no test specified\" && exit 1", "start": "index.ts"
"start": "bun index.ts"
}, },
"repository": { "repository": {
"type": "git", "type": "git",