Skip to content

Commit 8c099a6

Browse files
committed
Edit package.json of question
1 parent 1fcf10a commit 8c099a6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

services/question/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"version": "0.0.0",
44
"main": "server.js",
55
"scripts": {
6-
"build": "npx tsc",
6+
"clean": "rm -rf dist",
7+
"build": "npm run clean && npx tsc --build src/tsconfig.json",
78
"start": "npm run build && node ./dist/server.js",
89
"dev": "nodemon --files ./src/server.ts",
910
"lint": "npx eslint .",

services/question/tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
"strict": true,
99
"esModuleInterop": true,
1010
"skipLibCheck": true,
11-
"forceConsistentCasingInFileNames": true,
11+
"forceConsistentCasingInFileNames": true,
12+
"declaration": true,
13+
"declarationMap": false,
14+
"incremental": true,
15+
"composite": true
1216
},
1317
"references": [
1418
{ "path": "./src" },

0 commit comments

Comments
 (0)