mirror of
https://github.com/thib8956/tic-tac-toe-ws.git
synced 2026-06-16 05:58:15 +00:00
fix: improve npm scripts and fix localhost detection
This commit is contained in:
+5
-2
@@ -5,8 +5,11 @@
|
||||
"main": "index.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "node server.js"
|
||||
"build": "tsc && cp index.html dist/",
|
||||
"build:watch": "tsc --watch && cp index.html dist/",
|
||||
"start": "node dist/server.js",
|
||||
"start:watch": "node --watch dist/server.js",
|
||||
"serve": "python serve.py"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
||||
Reference in New Issue
Block a user