-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 2.03 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
{
"name": "six-cities",
"version": "4.0.0",
"description": "Проект «Шесть городов» от HTML Academy",
"keywords": [
"rest",
"api",
"node.js"
],
"main": "main.js",
"scripts": {
"start": "npm run build && node ./dist/main.rest.js",
"start:dev": "npm run ts ./src/main.rest.ts | pino-pretty --colorize --translateTime SYS:standard",
"build": "npm run clean && npm run compile",
"lint": "eslint src/ --ext .ts",
"lint:fix": "npm run lint -- --fix",
"compile": "tsc -p tsconfig.json",
"clean": "rimraf dist",
"ts": "tsc --noEmit && node --no-warnings=--no-warnings=ExperimentalWarning --loader ts-node/esm",
"version": "npm run ts ./src/main.cli.ts -- --version",
"help": "npm run ts ./src/main.cli.ts -- --help",
"import:default": "npm run ts ./src/main.cli.ts -- --import ./mocks/mock-data.tsv",
"import:generated": "npm run ts ./src/main.cli.ts -- --import ./mocks/generated-mock.tsv",
"mock:server": "json-server ./mocks/mock-server-data.json --port 3123",
"generate": "npm run ts ./src/main.cli.ts -- --generate 300 ./mocks/generated-mock.tsv http://localhost:3123/api"
},
"devDependencies": {
"@types/convict": "^6.1.6",
"@types/convict-format-with-validator": "^6.0.5",
"@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",
"pino-pretty": "^13.0.0",
"rimraf": "5.0.1",
"ts-node": "10.9.2",
"tslib": "^2.8.1",
"typescript": "5.4.5"
},
"type": "module",
"engines": {
"node": "^20.0.0",
"npm": ">=10"
},
"dependencies": {
"@typegoose/typegoose": "^12.9.1",
"convict": "^6.2.4",
"convict-format-with-validator": "^6.2.0",
"dayjs": "^1.11.13",
"dotenv": "^16.4.7",
"generate-password": "^1.7.1",
"got": "13.0.0",
"inversify": "^6.1.6",
"json-server": "^1.0.0-beta.3",
"mongoose": "^8.8.4",
"pino": "^9.5.0",
"reflect-metadata": "^0.2.2"
}
}