Skip to content

Commit

Permalink
script 대신 npmrc에서 NODE_OPTIONS 설정하도록 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
CirnoV committed May 14, 2024
1 parent 92354f9 commit bf66dff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node-options="--loader ts-node/esm"
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit bf66dff

Please sign in to comment.