Skip to content

Commit

Permalink
Сервер наносит ответный удар
Browse files Browse the repository at this point in the history
  • Loading branch information
Karlen-ll committed Nov 6, 2024
1 parent 651c7ec commit ce3998f
Show file tree
Hide file tree
Showing 28 changed files with 366 additions and 134 deletions.
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
"start:cli": "npm run build && node ./dist/main.cli.js",
"start:rest": "nodemon -L",
"build": "npm run clean && npm run compile",
"cli:help": "npx tsx src/main.cli.ts --help",
"cli:version": "npx tsx src/main.cli.ts --version",
"cli:import": "npx tsx src/main.cli.ts --import mocks/mock-data.generated.tsv mongodb://admin:[email protected]:27017/six-cities?authSource=admin salt",
"cli:import:docker": "npx tsx src/main.cli.ts --import mocks/mock-data.generated.tsv mongodb://admin:test@db:27017/six-cities?authSource=admin salt",
"cli:generate": "npx tsx src/main.cli.ts --generate 10 mocks/mock-data.generated.tsv http://localhost:3000/api",
"cli:help": "npm run ts ./src/main.cli.ts -- --help",
"cli:version": "npm run ts ./src/main.cli.ts --version",
"cli:import": "npm run ts ./src/main.cli.ts --import mocks/mock-data.generated.tsv mongodb://admin:[email protected]:27017/six-cities?authSource=admin salt",
"cli:import:docker": "npm run ts ./src/main.cli.ts --import mocks/mock-data.generated.tsv mongodb://admin:admin@db:27017/six-cities?authSource=admin salt",
"cli:generate": "npm run ts ./src/main.cli.ts --generate 10 mocks/mock-data.generated.tsv http://localhost:3000/api",
"docker": "docker compose --file ./docker-compose.yml --env-file ./.env --project-name \"six-cities\" up -d",
"mock:server": "json-server ./mocks/mock-server-data.json --port 3000",
"lint": "eslint src/ --ext .ts",
"lint": "eslint ./src/ --ext .ts",
"lint:fix": "npm run lint -- --fix",
"prettier:fix": "prettier --write ./src",
"compile": "tsc -p tsconfig.json",
Expand Down
Loading

0 comments on commit ce3998f

Please sign in to comment.