1
0
mirror of https://github.com/thib8956/tic-tac-toe-ws.git synced 2026-03-24 14:37:56 +00:00

fix: improve npm scripts and fix localhost detection

This commit is contained in:
2026-03-21 10:03:59 +01:00
parent ae7c3a4662
commit cccd62b8ad
8 changed files with 24 additions and 32 deletions

View File

@@ -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",