diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..53903ddc3 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +node-options="--loader ts-node/esm" diff --git a/package.json b/package.json index 4a2611adb..29c8c0011 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,8 @@ "start": "astro dev", "check": "pnpm typecheck && pnpm lint", "typecheck": "astro check", - "lint:fix": "NODE_OPTIONS=\"$NODE_OPTIONS --loader ts-node/esm\" eslint --fix .", - "lint": "NODE_OPTIONS=\"$NODE_OPTIONS --loader ts-node/esm\" eslint .", - "eslint": "NODE_OPTIONS=\"$NODE_OPTIONS --loader ts-node/esm\" eslint", + "lint:fix": "eslint --fix .", + "lint": "eslint .", "build": "astro build", "preview": "astro preview", "astro": "astro"