-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.8 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "six-cities",
"version": "7.0.0",
"description": "Проект «Шесть городов» от HTML Academy",
"keywords": [
"rest",
"api",
"node.js"
],
"main": "main.js",
"scripts": {
"start:cli": "npm run build && node ./dist/main.cli.js",
"start:rest": "nodemon -L",
"build": "npm run clean && npm run compile",
"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:fix": "npm run lint -- --fix",
"prettier:fix": "prettier --write ./src",
"compile": "tsc -p tsconfig.json",
"clean": "rimraf dist",
"ts": "tsc --noEmit && node --no-warnings=ExperimentalWarning --loader ts-node/esm"
},
"dependencies": {
"chalk": "5.3.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"convict": "6.2.4",
"convict-format-with-validator": "6.2.0",
"dayjs": "1.11.13",
"dotenv": "16.4.5",
"express": "4.21.1",
"express-async-handler": "1.2.0",
"got": "14.4.2",
"http-status-codes": "2.3.0",
"inversify": "6.0.2",
"jose": "5.9.6",
"mime-types": "2.1.35",
"mongodb": "6.9.0",
"mongoose": "8.7.1",
"multer": "1.4.5-lts.1",
"pino": "9.4.0",
"reflect-metadata": "0.2.2",
"uid": "2.0.2"
},
"devDependencies": {
"@typegoose/typegoose": "12.8.0",
"@types/convict": "6.1.6",
"@types/convict-format-with-validator": "6.0.5",
"@types/express": "5.0.0",
"@types/mime-types": "2.1.4",
"@types/multer": "1.4.12",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "6.7.0",
"@typescript-eslint/parser": "6.7.0",
"eslint": "8.49.0",
"eslint-config-htmlacademy": "9.1.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"json-server": "0.17.3",
"nodemon": "3.1.7",
"pino-pretty": "11.2.2",
"prettier": "3.3.3",
"rimraf": "5.0.1",
"ts-node": "10.9.2",
"tslib": "2.7.0",
"typescript": "5.4.5"
},
"type": "module",
"ts-node/esm": {
"require": [
"tsconfig-paths/register"
]
},
"engines": {
"node": "^20.0.0",
"npm": ">=10"
}
}