Removed socket.io types, changed jest script

This commit is contained in:
mrfry 2021-06-22 10:04:57 +02:00
parent 5192acfd90
commit 444e586796
2 changed files with 1 additions and 20 deletions

18
package-lock.json generated
View file

@ -8,7 +8,6 @@
"dependencies": { "dependencies": {
"@types/express": "^4.17.9", "@types/express": "^4.17.9",
"@types/node": "^15.0.1", "@types/node": "^15.0.1",
"@types/socket.io": "^3.0.2",
"better-sqlite3": "^7.1.5", "better-sqlite3": "^7.1.5",
"connect-busboy": "0.0.2", "connect-busboy": "0.0.2",
"cookie-parser": "^1.4.5", "cookie-parser": "^1.4.5",
@ -1144,15 +1143,6 @@
"@types/node": "*" "@types/node": "*"
} }
}, },
"node_modules/@types/socket.io": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@types/socket.io/-/socket.io-3.0.2.tgz",
"integrity": "sha512-pu0sN9m5VjCxBZVK8hW37ZcMe8rjn4HHggBN5CbaRTvFwv5jOmuIRZEuddsBPa9Th0ts0SIo3Niukq+95cMBbQ==",
"deprecated": "This is a stub types definition. socket.io provides its own type definitions, so you do not need this installed.",
"dependencies": {
"socket.io": "*"
}
},
"node_modules/@types/stack-utils": { "node_modules/@types/stack-utils": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.0.tgz", "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.0.tgz",
@ -9461,14 +9451,6 @@
"@types/node": "*" "@types/node": "*"
} }
}, },
"@types/socket.io": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@types/socket.io/-/socket.io-3.0.2.tgz",
"integrity": "sha512-pu0sN9m5VjCxBZVK8hW37ZcMe8rjn4HHggBN5CbaRTvFwv5jOmuIRZEuddsBPa9Th0ts0SIo3Niukq+95cMBbQ==",
"requires": {
"socket.io": "*"
}
},
"@types/stack-utils": { "@types/stack-utils": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.0.tgz", "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.0.tgz",

View file

@ -4,7 +4,6 @@
"dependencies": { "dependencies": {
"@types/express": "^4.17.9", "@types/express": "^4.17.9",
"@types/node": "^15.0.1", "@types/node": "^15.0.1",
"@types/socket.io": "^3.0.2",
"better-sqlite3": "^7.1.5", "better-sqlite3": "^7.1.5",
"connect-busboy": "0.0.2", "connect-busboy": "0.0.2",
"cookie-parser": "^1.4.5", "cookie-parser": "^1.4.5",
@ -23,7 +22,7 @@
"dev": "npm run build && NS_DEVEL=1 NS_NOUSER=1 NS_LOGLEVEL=1 node ./dist/server.js", "dev": "npm run build && NS_DEVEL=1 NS_NOUSER=1 NS_LOGLEVEL=1 node ./dist/server.js",
"build": "tsc && bash -c './scripts/postBuild.sh'", "build": "tsc && bash -c './scripts/postBuild.sh'",
"export": "tsc && bash -c './scripts/postBuild.sh'", "export": "tsc && bash -c './scripts/postBuild.sh'",
"test": "jest" "test": "jest --detectOpenHandles"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^26.0.23", "@types/jest": "^26.0.23",