Fixed code for TS compilation
This commit is contained in:
parent
acc92a6d9a
commit
76fad9a6e4
3 changed files with 22 additions and 14 deletions
16
package.json
16
package.json
|
|
@ -1,18 +1,24 @@
|
|||
{
|
||||
"name" : "zephyrus-webserver",
|
||||
"description" : "A simple webserver that supports directory listing.",
|
||||
"author" : "Adrian Victor de Abreu Alves <adrianvictor@disroot.org>",
|
||||
"version" : "1.0.0",
|
||||
"private" : false,
|
||||
"name": "zephyrus-webserver",
|
||||
"description": "A simple webserver that supports directory listing.",
|
||||
"author": "Adrian Victor de Abreu Alves <adrianvictor@disroot.org>",
|
||||
"version": "1.0.0",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"start": "ts-node main.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.9.0",
|
||||
"mime-types": "^2.1.35",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.6.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"mime": "^4.0.4"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"module": "commonjs",
|
||||
"esModuleInterop": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue