[NPM] Remove dotenv as a dependency. (#17)

This commit is contained in:
2026-09-28 06:49:04 -07:00
committed by GitHub
parent 4eb3d2bb34
commit 22da1c5a80
5 changed files with 4 additions and 27 deletions
+4 -5
View File
@@ -18,7 +18,6 @@
"@redis/client": "5.1.0",
"body-parser": "2.3.0",
"discord.js": "14.27.0",
"dotenv": "16.5.0",
"express": "5.1.0",
"express-session": "1.19.0",
"markdown-it": "15.0.0",
@@ -27,14 +26,14 @@
"sqlite3": "6.0.1"
},
"scripts": {
"dev": "tsx watch --enable-source-maps src/index.ts",
"start": "node dist/index.js",
"dev": "tsx watch --enable-source-maps --env-file=.env src/index.ts",
"start": "node --env-file=.env dist/index.js",
"lint": "npx eslint .",
"typecheck": "npx tsc --noEmit",
"build": "npm run clean && node scripts/build.js && npm run copyfiles",
"clean": "rimraf dist",
"copyfiles": "copyfiles -u 1 \"./src/**/*.html\" ./dist",
"encrypt": "node ./scripts/encrypt-data.js",
"add-author-hash": "node ./scripts/add-author-id-hash.js"
"encrypt": "node --env-file=.env ./scripts/encrypt-data.js",
"add-author-hash": "node --env-file=.env ./scripts/add-author-id-hash.js"
}
}