From 7dbb27439b033c1ee3d62e5ee7aa09ed7e8f9899 Mon Sep 17 00:00:00 2001 From: Roman Date: Sat, 26 Oct 2024 13:16:01 +0300 Subject: [PATCH] test --- .env-example | 7 +++++++ package.json | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .env-example diff --git a/.env-example b/.env-example new file mode 100644 index 0000000..e54a6e0 --- /dev/null +++ b/.env-example @@ -0,0 +1,7 @@ +PORT=8796 +SALT=salt +DB_HOST=127.0.0.1 +DB_NAME=six-cities +DB_USERNAME=Roman +DB_PASSWORD=123qwe +DB_PORT=27017 diff --git a/package.json b/package.json index ea3a67e..cd93167 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "compile": "tsc -p tsconfig.json", "clean": "rimraf dist", "ts": "tsc --noEmit && node --no-warnings=--no-warnings=ExperimentalWarning --loader ts-node/esm", - "mock:server": "json-server ./mocks/mock-server-data.json --port 3123 --host localhost" + "mock:server": "json-server ./mocks/mock-server-data.json --port 3123 --host localhost", + "ts:import": "npm run ts ./src/main.cli.ts -- --import ./mocks/mock-data.tsv Roman 123qwe localhost sex-cities salt" }, "devDependencies": { "@types/convict": "6.1.6",