Client converted to TypeScript, client uses webpack

This commit is contained in:
2021-01-30 12:57:39 +02:00
parent 30e5d27b33
commit 1f6740c9df
13 changed files with 2804 additions and 496 deletions

View File

@@ -4,8 +4,8 @@
"description": "",
"main": "dist/app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"tsc": "tsc -w"
"tsc": "tsc -w",
"build": "webpack"
},
"repository": {
"type": "git",
@@ -18,15 +18,21 @@
},
"homepage": "https://github.com/rdarius/global-game-jam-2021#readme",
"dependencies": {
"@types/socket.io-client": "^1.4.35",
"cors": "^2.8.5",
"express": "^4.17.1",
"p5": "^1.2.0",
"socket.io": "^3.1.0"
"socket.io": "^3.1.0",
"socket.io-client": "^3.1.0"
},
"devDependencies": {
"@types/express": "^4.17.11",
"@types/socket.io": "^2.1.13",
"@types/p5": "^0.9.1",
"typescript": "^4.1.3"
"@types/socket.io": "^2.1.13",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3",
"webpack": "^5.19.0",
"webpack-cli": "^4.4.0",
"webpack-dev-server": "^3.11.2"
}
}