diff --git a/index.js b/index.js new file mode 100644 index 0000000..22b63e3 --- /dev/null +++ b/index.js @@ -0,0 +1 @@ +require("./app") diff --git a/package.json b/package.json index 6e27f3d..040faaf 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,10 @@ { "name": "vless-api", "version": "1.0.0", - "description": "", - "main": "app.js", + "main": "index.js", "scripts": { - "start": "node app.js", - "dev": "nodemon app.js" + "dev": "nodemon index.js", + "build": "pkg index.js --targets=node18-win-x64,node18-linux-x64 --output=dist" }, "author": "kubbo", "license": "ISC",