Skip to content

Commit

Permalink
Load Dotenv (#9)
Browse files Browse the repository at this point in the history
* load dotenv
  • Loading branch information
bh2smith authored Oct 4, 2022
1 parent d240546 commit 9af6850
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
],
"scripts": {
"build": "tsc",
"test": "ts-mocha 'tests/**/*.ts'",
"fmt": "prettier --write \"src/**/*.ts\"",
"test": "ts-mocha 'tests/**/*.ts' -r dotenv/config",
"fmt": "prettier --write \"./**/*.ts\"",
"lint": "tslint -p tsconfig.json"
},
"devDependencies": {
Expand All @@ -20,6 +20,7 @@
"@types/node": "^18.7.23",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"dotenv": "^16.0.3",
"mocha": "^10.0.0",
"prettier": "^2.7.1",
"ts-mocha": "^10.0.0",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,11 @@ diff@^4.0.1:
resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==

dotenv@^16.0.3:
version "16.0.3"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07"
integrity sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==

emoji-regex@^8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
Expand Down

0 comments on commit 9af6850

Please sign in to comment.