37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"name": "testapp",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"build": "tsc",
|
|
"build:watch": "tsc --watch",
|
|
"start": "node dist/index.js",
|
|
"dev:server": "ts-node-dev --respawn --watch src,public/ts src/index.ts",
|
|
"dev": "concurrently \"npm:watch:client\" \"npm run dev:server\" --kill-others",
|
|
"build:client": "tsc -p tsconfig.client.json",
|
|
"watch:client": "tsc -p tsconfig.client.json --watch"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "Apache-2.0",
|
|
"description": "",
|
|
"dependencies": {
|
|
"dotenv": "^16.5.0",
|
|
"express": "^5.1.0",
|
|
"mustache-express": "^1.3.2",
|
|
"socket.io": "^4.8.1",
|
|
"socket.io-client": "^4.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^5.0.1",
|
|
"@types/mustache-express": "^1.2.5",
|
|
"@types/node": "^22.15.17",
|
|
"@types/socket.io": "^3.0.1",
|
|
"@types/socket.io-client": "^1.4.36",
|
|
"concurrently": "^9.1.2",
|
|
"ts-node-dev": "^2.0.0",
|
|
"typescript": "^5.8.3"
|
|
}
|
|
}
|