File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 43
43
"semantic-release" : " semantic-release" ,
44
44
"preinstall" : " npx playwright install" ,
45
45
"start" : " npm run start:dev" ,
46
- "start:server" : " NODE_ENV=development npm run build && node dist/src/server.js" ,
46
+ "start:server" : " NODE_ENV=development node swagger.js && npm run build && node dist/src/server.js" ,
47
47
"start:server:prod" : " npm run build && node dist/src/server.js" ,
48
48
"start:cli" : " cross-env NODE_ENV=development npm run build && node dist/src/cli.js" ,
49
49
"start:dev" : " cross-env NODE_ENV=development npm run build && node dist/src/main.js" ,
Original file line number Diff line number Diff line change 1
- import express from "express" ;
1
+ import express , { Express } from "express" ;
2
2
import cors from "cors" ;
3
3
import { readFile } from "fs/promises" ;
4
4
import { Config , configSchema } from "./config.js" ;
@@ -11,7 +11,7 @@ import { PathLike } from "fs";
11
11
12
12
configDotenv ( ) ;
13
13
14
- const app = express ( ) ;
14
+ const app : Express = express ( ) ;
15
15
const port = Number ( process . env . API_PORT ) || 3000 ;
16
16
const hostname = process . env . API_HOST || "localhost" ;
17
17
You can’t perform that action at this time.
0 commit comments