🍃 Added dotenv support

This commit is contained in:
2021-11-08 10:38:59 -08:00
parent 180c17109a
commit 91d7ee89ed
2 changed files with 17 additions and 2 deletions

14
package-lock.json generated
View File

@@ -12,6 +12,7 @@
"@types/mkdirp": "^1.0.0",
"@types/node": "^13.9.8",
"axios": "^0.21.1",
"dotenv": "^10.0.0",
"imghash": "^0.0.9",
"leven": "^3.1.0",
"lodash": "^4.17.21",
@@ -3072,6 +3073,14 @@
"webidl-conversions": "^4.0.2"
}
},
"node_modules/dotenv": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz",
"integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==",
"engines": {
"node": ">=10"
}
},
"node_modules/ecc-jsbn": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
@@ -13926,6 +13935,11 @@
"webidl-conversions": "^4.0.2"
}
},
"dotenv": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz",
"integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q=="
},
"ecc-jsbn": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",

View File

@@ -4,8 +4,8 @@
"description": "A facade for ComicVine API, for use with ThreeTwo!",
"scripts": {
"build": "tsc --build tsconfig.json",
"dev": "ts-node ./node_modules/moleculer/bin/moleculer-runner.js --hot --repl --config moleculer.config.ts services/**/*.service.ts",
"start": "moleculer-runner --config dist/moleculer.config.js dist/**/*.service.js",
"dev": "ts-node ./node_modules/moleculer/bin/moleculer-runner.js --envfile .env/service.env --hot --repl --config moleculer.config.ts services/**/*.service.ts",
"start": "moleculer-runner --envfile .env/service.env --config dist/moleculer.config.js dist/**/*.service.js",
"cli": "moleculer connect NATS",
"ci": "jest --watch",
"test": "jest --coverage",
@@ -40,6 +40,7 @@
"@types/mkdirp": "^1.0.0",
"@types/node": "^13.9.8",
"axios": "^0.21.1",
"dotenv": "^10.0.0",
"imghash": "^0.0.9",
"leven": "^3.1.0",
"lodash": "^4.17.21",