Skip to content

Commit

Permalink
chore: ts-node 대신 tsx 로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Joon-Hyeok committed Sep 23, 2024
1 parent defa408 commit fc7bb60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"nodemon": "^2.0.15",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.12.0",
"tsx": "^4.19.1",
"typeorm": "^0.2.41",
"typescript": "^4.5.4",
"webpack": "^5.72.1",
Expand All @@ -38,8 +39,8 @@
},
"scripts": {
"build": "cross-env NODE_ENV=production webpack --config webpack.config.js",
"deploy": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=2048 pm2 start build/app.js",
"start": "cross-env NODE_ENV=development nodemon --exec ts-node -r tsconfig-paths/register --files ./src/app.ts"
"deploy": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=2048 pm2 start --interpreter tsx build/app.js",
"start": "cross-env NODE_ENV=development nodemon --exec tsx ./src/app.ts"
},
"_moduleAlias": {
"@controller/*": "./dist/controller/*",
Expand Down

0 comments on commit fc7bb60

Please sign in to comment.