mirror of
https://github.com/laochan-eacnet/backend.git
synced 2026-09-29 02:08:05 +03:00
fix built version not working
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@
|
||||
"typescript": "~5.3"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node build/src/main.js",
|
||||
"start": "node build/main.js",
|
||||
"watch": "tsx watch src/main.ts",
|
||||
"clean": "rimraf coverage build tmp",
|
||||
"prebuild": "npm run lint",
|
||||
|
||||
@@ -2,7 +2,7 @@ import { v } from "../../utils/kxml-value.js";
|
||||
import { Game } from "./game.js";
|
||||
import { Service } from "./service.js";
|
||||
import { User } from "./user.js";
|
||||
import data from './data.json';
|
||||
import data from './data.json' with { type: "json" };
|
||||
import { inject, singleton } from "tsyringe";
|
||||
import { Db } from "mongodb";
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2022",
|
||||
"module": "node16",
|
||||
"module": "NodeNext",
|
||||
"lib": ["ES2022"],
|
||||
"moduleResolution": "node16",
|
||||
"rootDir": "./src",
|
||||
|
||||
Reference in New Issue
Block a user