Converted server to Typescript
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
{
|
||||
"name": "tronio-server",
|
||||
"version": "2.0.0",
|
||||
"version": "2.1.0",
|
||||
"description": "Tron.io game server",
|
||||
"main": "server.js",
|
||||
"main": "dist/app.js",
|
||||
"scripts": {
|
||||
"start": "node src/server.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"start": "tsc && node dist/app.js",
|
||||
"build": "tsc",
|
||||
"lint": "echo \"Warning: no lint specified\"",
|
||||
"test": "echo \"Warning: no test specified\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -14,15 +16,16 @@
|
||||
"author": "gltron",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"dotenv": "^8.2.0",
|
||||
"express": "^4.17.1",
|
||||
"uuid": "^8.3.1",
|
||||
"ws": "^7.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.12.1",
|
||||
"eslint-config-standard": "^16.0.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-promise": "^4.2.1"
|
||||
"@types/express": "^4.17.11",
|
||||
"@types/node": "^14.14.22",
|
||||
"@types/uuid": "^8.3.0",
|
||||
"@types/ws": "^7.4.0",
|
||||
"typescript": "^4.1.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user