Fixed Package config and fixed issue with reloading

This commit is contained in:
Aiden
2021-10-28 19:56:12 +02:00
parent ab5905f774
commit 1cc77bb25c
3 changed files with 12 additions and 2365 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = {
mapFunctions.set(command.name, command); mapFunctions.set(command.name, command);
} }
}); });
console.log(`Reloaded ${mapEvents.size + mapFunctions.size} modules`) console.log(`Reloaded ${mapFunctions.size} modules`)
break; break;
default: default:
console.log("This is not a recognised command"); console.log("This is not a recognised command");
-2354
View File
File diff suppressed because it is too large Load Diff
+10 -9
View File
@@ -1,19 +1,20 @@
{ {
"name": "locationsystem", "name": "node.js-project-base",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start":"node index", "start":"node index",
"run": "node index" "test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/4n0nh4x0r/Node.js-Project-Base.git"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "bugs": {
"@socket.io/admin-ui": "^0.2.0", "url": "https://github.com/4n0nh4x0r/Node.js-Project-Base/issues"
"express": "^4.17.1", },
"mysql": "^2.18.1", "homepage": "https://github.com/4n0nh4x0r/Node.js-Project-Base#readme"
"socket.io": "^4.2.0"
}
} }