-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
366 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
Oops, something went wrong.