Skip to content

Commit bab33b7

Browse files
committed
chore(examples): migrate from tsnd to tsx watch
1 parent 1ce2a3f commit bab33b7

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

examples/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
"version": "6.2.1",
44
"private": true,
55
"scripts": {
6-
"basic": "tsnd -r tsconfig-paths/register -r dotenv/config express-basic",
7-
"express": "tsnd -r tsconfig-paths/register -r dotenv/config express",
8-
"redis": "tsnd -r tsconfig-paths/register -r dotenv/config express-redis",
9-
"express-polling": "tsnd -r tsconfig-paths/register -r dotenv/config express-polling",
10-
"gcs:direct": "tsnd -r tsconfig-paths/register -r dotenv/config gcs-direct",
11-
"gcs": "tsnd -r tsconfig-paths/register -r dotenv/config express-gcs",
12-
"logtape": "tsnd -r tsconfig-paths/register -r dotenv/config express-logtape",
13-
"s3": "tsnd -r tsconfig-paths/register -r dotenv/config express-s3",
14-
"s3:direct": "tsnd -r tsconfig-paths/register -r dotenv/config s3-direct",
15-
"tus": "tsnd -r tsconfig-paths/register -r dotenv/config express-tus",
16-
"validation": "tsnd -r tsconfig-paths/register -r dotenv/config validation",
17-
"custom-error-responses": "tsnd -r tsconfig-paths/register -r dotenv/config custom-error-responses",
18-
"plain-nodejs": "tsnd -r dotenv/config node-http-server",
19-
"server": "tsnd -r dotenv/config server"
6+
"basic": "tsx watch -r dotenv/config express-basic",
7+
"express": "tsx watch -r dotenv/config express",
8+
"redis": "tsx watch -r dotenv/config express-redis",
9+
"express-polling": "tsx watch -r dotenv/config express-polling",
10+
"gcs:direct": "tsx watch -r dotenv/config gcs-direct",
11+
"gcs": "tsx watch -r dotenv/config express-gcs",
12+
"logtape": "tsx watch -r dotenv/config express-logtape",
13+
"s3": "tsx watch -r dotenv/config express-s3",
14+
"s3:direct": "tsx watch -r dotenv/config s3-direct",
15+
"tus": "tsx watch -r dotenv/config express-tus",
16+
"validation": "tsx watch -r dotenv/config validation",
17+
"custom-error-responses": "tsx watch -r dotenv/config custom-error-responses",
18+
"plain-nodejs": "node --watch -r dotenv/config node-http-server",
19+
"server": "node --watch -r dotenv/config server"
2020
},
2121
"dependencies": {
2222
"@logtape/logtape": "^2.0.5",
@@ -26,6 +26,6 @@
2626
},
2727
"devDependencies": {
2828
"@types/express": "5.0.6",
29-
"ts-node-dev": "2.0.0"
29+
"tsx": "^4.22.4"
3030
}
3131
}

0 commit comments

Comments
 (0)