Skip to content

Commit 9fa30bf

Browse files
committed
Merge branch '#159-add-typescript-support' of https://github.com/sparcs-kaist/taxi-back into #159-add-typescript-support
2 parents 6b6670b + 63d0891 commit 9fa30bf

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

nodemon.json

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2-
"ignore": ["node_modules/*"],
3-
"watch": ["./src", ".env.development"],
4-
"exec": "tsc && tsc-alias && node dist/index.js",
5-
"env": {
6-
"TZ": "Asia/Seoul",
7-
"NODE_ENV": "development"
8-
}
9-
}
2+
"ignore": ["node_modules"],
3+
"watch": ["src", ".env.development"],
4+
"ext": "js,json,ts",
5+
"exec": "ts-node --require tsconfig-paths/register src",
6+
"env": {
7+
"TZ": "Asia/Seoul",
8+
"NODE_ENV": "development"
9+
}
10+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"main": "app.js",
88
"scripts": {
99
"preinstall": "npx only-allow pnpm",
10-
"start": "npx tsc && tsc-alias && npx nodemon",
10+
"start": "nodemon",
1111
"mocha": "cross-env TZ='Asia/Seoul' NODE_ENV=test mocha --require ts-node/register --require tsconfig-paths/register --recursive --reporter spec --exit",
1212
"test": "npm run sample && cross-env TZ='Asia/Seoul' npm run mocha",
1313
"build": "tsc && tsc-alias",

0 commit comments

Comments
 (0)