added dev server

This commit is contained in:
Flam3rboy
2021-04-25 23:35:19 +02:00
parent 5dd97905ab
commit c2d696d66e
4 changed files with 6 additions and 4 deletions

View File

@@ -10,7 +10,8 @@
"start": "npm run build:util && npm run build && node dist/start",
"build": "tsc -b .",
"build:util": "tsc -b ./node_modules/@fosscord/server-util/",
"postinstall": "patch-package"
"postinstall": "patch-package",
"dev": "tsnd --respawn src/"
},
"repository": {
"type": "git",
@@ -41,7 +42,7 @@
"i18next-http-middleware": "^3.1.0",
"i18next-node-fs-backend": "^2.1.3",
"jsonwebtoken": "^8.5.1",
"lambert-server": "^1.0.10",
"lambert-server": "^1.1.9",
"missing-native-js-functions": "^1.2.6",
"mongodb": "^3.6.4",
"mongoose": "^5.12.3",
@@ -63,6 +64,7 @@
"jest": "^26.6.3",
"node-fetch": "^2.6.1",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.1.6",
"typescript": "^4.1.2"
}
}