diff --git a/package-lock.json b/package-lock.json index 2d9d304..d72e724 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,6 +56,7 @@ "dependencies": { "p5": "^1.4.1", "path": "^0.12.7", + "socket.io": "^4.7.5", "wollok-ts": "4.1.3" }, "devDependencies": { @@ -10815,6 +10816,7 @@ "http-server": "^14.1.0", "p5": "^1.4.1", "path": "^0.12.7", + "socket.io": "^4.7.5", "ts-loader": "^9.2.6", "typescript": "^4.5.5", "webpack": "^5.69.1", diff --git a/package.json b/package.json index 9ec3c61..31e0bc4 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "lint": "eslint . ", "lint:fix": "eslint . --fix", "test:unit": "mocha --parallel -r ts-node/register/transpile-only test/**/*.test.ts --timeout 7000", - "build": "shx rm -rf build && shx mkdir ./build && shx cp -r ./public ./build/public && tsc -p ./tsconfig.build.json", + "build": "shx rm -rf build && shx mkdir ./build && shx cp -r ./public ./build/public && cp ./node_modules/wollok-game-web/dist/web/index.js ./build/public/game/lib && tsc -p ./tsconfig.build.json", "watch": "npm run build -- -w", "pack": "pkg .", "prepublishOnly": "npm run build && npm run test" diff --git a/public/game/index.html b/public/game/index.html index 4171cfb..41edfb6 100644 --- a/public/game/index.html +++ b/public/game/index.html @@ -4,13 +4,14 @@ + Wollok Game - + > -->