Browse Source

changed package.json

liontix 9 months ago
parent
commit
f204cb9bcb
3 changed files with 5 additions and 3 deletions
  1. 1 0
      .gitignore
  2. 1 1
      app.js
  3. 3 2
      package.json

+ 1 - 0
.gitignore

@@ -129,3 +129,4 @@ dist
 .pnp.*
 .idea/
 package-lock.json
+.vercel

+ 1 - 1
app.js

@@ -61,4 +61,4 @@ connect();
 
 app.listen(3000, () => console.log("Server ready on port 3000."));
 
-module.exports = app;
+export { app };

+ 3 - 2
package.json

@@ -4,8 +4,9 @@
   "private": true,
   "type": "module",
   "scripts": {
-    "start": "node ./bin/www",
-    "dev": "nodemon ./bin/www"
+    "start": "node app.js",
+    "build": "echo test",
+    "dev": "nodemon app.js"
   },
   "dependencies": {
     "bcrypt": "^5.1.1",