🍃 Added dotenv support

This commit is contained in:
2021-11-08 10:38:29 -08:00
parent 3265b7257c
commit 734e6d1a03
2 changed files with 986 additions and 920 deletions

1899
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,8 +4,8 @@
"description": "My Moleculer-based microservices project",
"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",
"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",
"cli": "moleculer connect NATS",
"ci": "jest --watch",
"test": "jest --coverage",
@@ -29,7 +29,7 @@
"eslint-plugin-prefer-arrow": "^1.2.2",
"jest": "^27.2.5",
"jest-cli": "^27.2.5",
"moleculer-repl": "^0.5.7",
"moleculer-repl": "^0.6.6",
"ts-jest": "^25.3.0",
"ts-node": "^8.8.1"
},
@@ -43,6 +43,7 @@
"7zip-bin": "^5.1.1",
"7zip-min": "^1.4.0",
"chokidar": "^3.5.2",
"dotenv": "^10.0.0",
"fs-extra": "^10.0.0",
"imghash": "^0.0.9",
"jsdom": "^15.2.1",