Skip to content

Commit

Permalink
refactor: use native Node.js support for env file (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored Jul 20, 2024
1 parent dcddddc commit 6fe72da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
12 changes: 0 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"format": "prettier --write .",
"lint": "eslint src --ext ts",
"lint-fix": "npm run lint -- --fix",
"start": "nodemon --watch \"src/**/*.ts\" -e ts --exec \"node -r dotenv/config --import tsx/esm src/bot.ts\"",
"start": "nodemon --watch \"src/**/*.ts\" -e ts --exec \"node --env-file .env --import tsx/esm src/bot.ts\"",
"test": "npm run test-only && npm run lint && npm run check-types && npm run check-format",
"test-only": "vitest run",
"test-coverage": "vitest run --coverage",
Expand All @@ -29,7 +29,6 @@
"better-sqlite3": "^9.6.0",
"cron": "^3.1.7",
"discord.js": "^14.15.1",
"dotenv": "^16.4.5",
"got": "^14.2.1",
"html-entities": "^2.5.2",
"knex": "^3.1.0",
Expand Down

0 comments on commit 6fe72da

Please sign in to comment.