From bf66dff31819c4dee0d7b64bddaa485ebaf2e0ad Mon Sep 17 00:00:00 2001 From: CirnoV Date: Tue, 14 May 2024 14:25:06 +0900 Subject: [PATCH] =?UTF-8?q?script=20=EB=8C=80=EC=8B=A0=20npmrc=EC=97=90?= =?UTF-8?q?=EC=84=9C=20NODE=5FOPTIONS=20=EC=84=A4=EC=A0=95=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmrc | 1 + package.json | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .npmrc 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"