From 4fd22abf7a7287bb9eefbbe331f4c440604d67ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Thu, 16 May 2024 20:42:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9E=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- main.js | 1 + package.json | 7 +++---- index.js => server.js | 0 4 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 main.js rename index.js => server.js (100%) diff --git a/index.html b/index.html index 54ef1b7..12440cf 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ DEMO - \ No newline at end of file + \ No newline at end of file diff --git a/main.js b/main.js new file mode 100644 index 0000000..b869590 --- /dev/null +++ b/main.js @@ -0,0 +1 @@ +console.log('main.js') diff --git a/package.json b/package.json index e30c1c8..529a36f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kana", "version": "1.0.0", - "main": "index.js", + "main": "server.js", "type": "module", "repository": "git@github.com:InvisibleFuture/kana.git", "author": "satori ", @@ -19,11 +19,10 @@ "string-random": "^0.1.3" }, "scripts": { - "dev": "nodemon --watch index.js index.js --dev", - "start": "node index.js" + "dev": "nodemon --watch server.js server.js --dev", + "start": "node server.js" }, "devDependencies": { - "concurrently": "^8.2.2", "nodemon": "^3.1.0", "vite": "^5.2.11" } diff --git a/index.js b/server.js similarity index 100% rename from index.js rename to server.js