diff --git a/package-lock.json b/package-lock.json index c5152029..6d45e608 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,6 @@ "@types/eslint__js": "8.42.3", "@types/eslint-config-prettier": "6.11.3", "@types/node": "22.10.2", - "dotenv": "16.4.7", "esbuild": "0.24.2", "esbuild-plugin-version-injector": "1.2.1", "eslint": "9.17.0", @@ -1997,19 +1996,6 @@ "node": ">=6.0.0" } }, - "node_modules/dotenv": { - "version": "16.4.7", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", - "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://dotenvx.com" - } - }, "node_modules/emoji-regex": { "version": "10.4.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", diff --git a/package.json b/package.json index 3f2b89a0..4fcdfe50 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "main": "dist/main.js", "scripts": { - "dev": "node --import=tsx --require dotenv/config src/main.ts", + "dev": "node --import=tsx --env-file=.env src/main.ts", "build": "node scripts/build.js", "start": "node dist/main.js", "check": "run-s -c *:check", @@ -26,7 +26,6 @@ "@types/eslint__js": "8.42.3", "@types/eslint-config-prettier": "6.11.3", "@types/node": "22.10.2", - "dotenv": "16.4.7", "esbuild": "0.24.2", "esbuild-plugin-version-injector": "1.2.1", "eslint": "9.17.0",