Skip to content

Commit

Permalink
Merge branch '#159-add-typescript-support' of https://github.com/spar…
Browse files Browse the repository at this point in the history
…cs-kaist/taxi-back into #159-add-typescript-support
  • Loading branch information
TaehyeonPark committed Nov 19, 2024
2 parents 6b6670b + 63d0891 commit 9fa30bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"ignore": ["node_modules/*"],
"watch": ["./src", ".env.development"],
"exec": "tsc && tsc-alias && node dist/index.js",
"env": {
"TZ": "Asia/Seoul",
"NODE_ENV": "development"
}
}
"ignore": ["node_modules"],
"watch": ["src", ".env.development"],
"ext": "js,json,ts",
"exec": "ts-node --require tsconfig-paths/register src",
"env": {
"TZ": "Asia/Seoul",
"NODE_ENV": "development"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"main": "app.js",
"scripts": {
"preinstall": "npx only-allow pnpm",
"start": "npx tsc && tsc-alias && npx nodemon",
"start": "nodemon",
"mocha": "cross-env TZ='Asia/Seoul' NODE_ENV=test mocha --require ts-node/register --require tsconfig-paths/register --recursive --reporter spec --exit",
"test": "npm run sample && cross-env TZ='Asia/Seoul' npm run mocha",
"build": "tsc && tsc-alias",
Expand Down

0 comments on commit 9fa30bf

Please sign in to comment.