mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-11-11 07:13:37 -05:00
[NPM] Remove dotenv as a dependency. (#17)
This commit is contained in:
+4
-5
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user