Skip to content

Commit

Permalink
Fix running ts-node demos
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Jul 28, 2022
1 parent edc49ce commit 4663aec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"publish": "lerna run tsc && lerna publish",
"pretest": "lerna run tsc && eslint . --ext .js --ext .ts",
"jest": "NODE_OPTIONS=--experimental-vm-modules jest",
"test": "yarn jest && lerna exec npm test --scope inquirer"
"test": "yarn jest && lerna exec npm test --scope inquirer",
"ts-node": "lerna run tsc && ts-node"
},
"repository": {
"type": "git",
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"extends": "@sindresorhus/tsconfig",
"include": ["packages"]
"include": ["packages"],
"ts-node": {
"esm": true
}
}

0 comments on commit 4663aec

Please sign in to comment.