feat: add typescript to file-graph and server

This commit is contained in:
Lin, Hung-Shin authored and wancat committed 2024-01-29 12:42:50 +08:00
1 parent e6abd08963
commit 3977db87a3
19 files changed
+340 -15

No files matched your search

+9 -5
View File
@@ -4,11 +4,12 @@
"description": "Linux Odyssey Server",
"type": "module",
"scripts": {
"start": "node src/index.js",
"dev": "nodemon src/index.js",
"start": "node dist/index.js",
"dev": "nodemon",
"test": "yarn node --experimental-vm-modules $(yarn bin jest)",
"setup": "node src/cli/setup.js",
"clean": "node src/cli/clean.js",
"setup": "node dist/cli/setup.js",
"clean": "node dist/cli/clean.js",
"build": "tsc",
"build:quests": "node src/cli/build.js"
},
"dependencies": {
@@ -40,7 +41,10 @@
"yaml": "^2.3.1"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/express-session": "^1.17.10",
"jest": "^29.6.1",
"nodemon": "^3.0.1"
"nodemon": "^3.0.1",
"typescript": "^5.3.3"
}
}