added / fixed some types

This commit is contained in:
mrfry 2022-03-14 19:35:42 +01:00
parent 5f12284bb8
commit bc5c293539
41 changed files with 4378 additions and 8304 deletions

View file

@ -2,35 +2,39 @@
"name": "node-ejs",
"main": "src/server.js",
"dependencies": {
"@types/express": "^4.17.9",
"@types/node": "^15.0.1",
"better-sqlite3": "^7.1.5",
"connect-busboy": "0.0.2",
"cookie-parser": "^1.4.5",
"@types/express": "^4.17.13",
"better-sqlite3": "^7.5.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"ejs": "^3.1.6",
"express": "^4.6.1",
"express-fileupload": "^1.2.1",
"socket.io": "^4.1.2",
"ts-node": "^9.0.0",
"typescript": "^4.1.2",
"express": "^4.17.3",
"express-fileupload": "^1.3.1",
"socket.io": "^4.4.1",
"ts-node": "^10.7.0",
"typescript": "^4.6.2",
"uuid": "^8.3.2",
"vhost": "^3.0.2"
},
"scripts": {
"start": "node ./dist/server.js",
"dev": "npm run build && NS_DEVEL=1 NS_NOUSER=1 NS_LOGLEVEL=1 node ./dist/server.js",
"dev": "npm run build && NS_THREAD_COUNT=2 NS_DEVEL=1 NS_NOUSER=1 NS_LOGLEVEL=1 node --inspect ./dist/server.js",
"build": "tsc && bash -c './scripts/postBuild.sh'",
"export": "tsc && bash -c './scripts/postBuild.sh'",
"test": "jest --detectOpenHandles"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.14.0",
"jest": "^26.6.3",
"ts-jest": "^26.5.5"
"@types/better-sqlite3": "^7.5.0",
"@types/cookie-parser": "^1.4.2",
"@types/express-fileupload": "^1.2.2",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@types/uuid": "^8.3.4",
"@types/vhost": "^3.0.4",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"eslint": "^8.11.0",
"jest": "^27.5.1",
"ts-jest": "^27.1.3"
},
"jest": {
"preset": "ts-jest"