feat: dev mode :D

This commit is contained in:
2022-11-24 17:19:03 +01:00
parent 96814b196f
commit 46ae4ffea9
15 changed files with 182 additions and 43 deletions

View File

@@ -5,11 +5,10 @@
"main": "index.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "tsc-watch --onSuccess \"node ./dist/index.js\"",
"dev": "tsc-watch --onSuccess \"node ./dist/index.js --dev\"",
"compile": "tsc --build",
"build": "tsc --build",
"web": "node webserver.js",
"start": "ts-node index.ts"
"web": "node webserver.js"
},
"repository": {
"type": "git",
@@ -45,6 +44,7 @@
"tweetnacl": "^1.0.3"
},
"devDependencies": {
"@types/express": "^4.17.14",
"ts-node": "10.9.1",
"tsc-watch": "^5.0.3",
"typescript": "4.9.3"