Skip to content

Commit

Permalink
chore: use @babel/register instead of esm (#16)
Browse files Browse the repository at this point in the history
* chore: use esbuild-register instead of esm.

* chore: add esbuild to deps

* chore: use @babel/register instead of esbuild-register
  • Loading branch information
ota-meshi committed Nov 27, 2022
1 parent f01cb20 commit c903823
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .esmrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .nycrc.yml
Expand Up @@ -4,4 +4,4 @@ reporter:
- lcov
- text-summary
require:
- esm
- "@babel/register"
6 changes: 6 additions & 0 deletions babel.config.js
@@ -0,0 +1,6 @@
/* eslint-env node */
"use strict"

module.exports = {
plugins: ["@babel/plugin-transform-modules-commonjs"],
}
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -22,10 +22,12 @@
"eslint-visitor-keys": "^3.3.0"
},
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/plugin-transform-modules-commonjs": "^7.19.6",
"@babel/register": "^7.18.9",
"@eslint-community/eslint-plugin-mysticatea": "^15.2.0",
"dot-prop": "^6.0.1",
"eslint": "^8.28.0",
"esm": "^3.2.25",
"espree": "github:eslint/espree#1c744b3a602b783926344811a9459b92afe57444",
"mocha": "^8.4.0",
"npm-run-all": "^4.1.5",
Expand Down

0 comments on commit c903823

Please sign in to comment.