Skip to content

Commit

Permalink
chore(backend): try using ts-node-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurapov committed May 14, 2024
1 parent 263e3ce commit 251defe
Show file tree
Hide file tree
Showing 2 changed files with 215 additions and 53 deletions.
5 changes: 3 additions & 2 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"copy-op-schemas": "cp ./node_modules/@interledger/open-payments/dist/openapi/specs/schemas.yaml ./src/openapi/specs/",
"prepack": "pnpm build",
"postinstall": "pnpm copy-op-schemas",
"dev": "nodemon --watch src --ext ts --exec \"tsc && pnpm copy-files && node --inspect=0.0.0.0:9229 dist/index.js\""
"dev": "ts-node-dev --inspect=0.0.0.0:9229 --respawn --transpile-only src/index.ts"
},
"devDependencies": {
"@apollo/client": "^3.9.9",
Expand Down Expand Up @@ -44,7 +44,8 @@
"react": "~18.2.0",
"rosie": "^2.1.1",
"testcontainers": "^10.7.2",
"tmp": "^0.2.3"
"tmp": "^0.2.3",
"ts-node-dev": "^2.0.0"
},
"dependencies": {
"@adonisjs/fold": "^8.2.0",
Expand Down

0 comments on commit 251defe

Please sign in to comment.