Skip to content

Commit

Permalink
Replace ts-node with tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfoley committed Sep 20, 2023
1 parent 6e40aa7 commit 0f81754
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 98 deletions.
8 changes: 3 additions & 5 deletions isolate-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build": "yarn clean && yarn build:tsc",
"build:tsc": "tsc -p tsconfig.build.json",
"clean": "rm -rf ./lib/",
"test": "TS_NODE_TRANSPILE_ONLY=true mocha",
"test": "mocha",
"test:watch": "nodemon -q -e ts,tsx --exec \"yarn test\" --watch src --watch test",
"prettier": "prettier -c '{src,test}/**/*.{ts,tsx}'",
"fix:prettier": "prettier --write '{src,test}/**/*.{ts,tsx}'",
Expand All @@ -33,7 +33,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^5.3.0",
"ts-node": "^10.9.1",
"tsx": "^3.12.7",
"typescript": "^4.0.3"
},
"mocha": {
Expand All @@ -44,9 +44,7 @@
"spec": [
"./**/*.test.ts*"
],
"require": [
"ts-node/register"
],
"loader": "tsx",
"watch-files": [
"./src/**/*",
"./test/**/*"
Expand Down
Loading

0 comments on commit 0f81754

Please sign in to comment.