diff --git a/package.json b/package.json index e038a5a..d6221a3 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "description": "Monorepo for project bootstrapping CLIs", "main": "index.js", + "type": "module", "scripts": { "belt": "bin/belt", "test": "echo \"Error: no test specified\" && exit 1" diff --git a/tsconfig.json b/tsconfig.json index 678fd00..d191fe3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,5 +10,8 @@ "skipLibCheck": true, "types": ["node"] }, + "ts-node": { + "esm": true + }, "include": ["./**/*"] }