38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"name": "testapp",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"build": "npm run build:server && npm run build:client && cp -r public ./dist/testapp",
|
|
"build:watch": "tsc --watch",
|
|
"start": "node dist/testapp/src/index.js",
|
|
"dev:server": "ts-node-dev --respawn --watch src,public/ts,public/views src/index.ts",
|
|
"dev": "concurrently \"npm:watch:client\" \"npm run dev:server\" --kill-others",
|
|
"build:server": "tsc --rootDir ../",
|
|
"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"
|
|
}
|
|
}
|