Skip to content

Commit

Permalink
Replace other easy usages of babel-node for node or tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy committed May 29, 2024
1 parent a9899c0 commit 5d23145
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"create-playground": "cpy --cwd=scripts playground.template.tsx ../../pages/playground --rename=index.tsx",
"typescript": "tsc -p tsconfig.json",
"typescript:transpile": "cross-env BABEL_ENV=development node scripts/formattedTSDemos",
"typescript:transpile:dev": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" scripts/formattedTSDemos --watch",
"populate:demos": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" scripts/populatePickersDemos"
"typescript:transpile:dev": "cross-env BABEL_ENV=development node scripts/formattedTSDemos --watch",
"populate:demos": "tsx scripts/populatePickersDemos"
},
"dependencies": {
"@babel/core": "^7.24.6",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"docs:size-why": "cross-env DOCS_STATS_ENABLED=true pnpm docs:build",
"docs:deploy": "pnpm --filter docs deploy",
"deduplicate": "pnpm dedupe",
"dataset:file-tree": "babel-node -x .ts ./scripts/treeDataFromFileTree.ts",
"dataset:file-tree": "tsx ./scripts/treeDataFromFileTree.ts",
"l10n": "tsx ./scripts/l10n.ts",
"jsonlint": "node ./scripts/jsonlint.mjs",
"eslint": "eslint . --cache --report-unused-disable-directives --ext .js,.ts,.tsx --max-warnings 0",
Expand Down

0 comments on commit 5d23145

Please sign in to comment.