-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
120 lines (120 loc) · 4.4 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "auth-service",
"version": "v2.2.0-rc.1",
"main": "dist/index.js",
"repository": "https://github.com/diia-open-source/be-auth-service.git",
"author": "Diia",
"license": "SEE LICENSE IN LICENSE.md",
"engines": {
"node": ">=18"
},
"files": [
"dist"
],
"scripts": {
"prepare": "ts-patch install -s",
"build": "rimraf dist/ && mkdir dist && npm run genproto && tsc",
"start": "node dist/index.js",
"dev": "tsc-watch --skipLibCheck --onSuccess 'node dist/index.js' | pino-pretty -S",
"semantic-release": "semantic-release",
"lint": "eslint --ext .ts . && prettier --check .",
"lint-fix": "eslint --ext .ts --fix . && prettier --write .",
"lint:lockfile": "lockfile-lint --path package-lock.json --allowed-hosts registry.npmjs.org --validate-https",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest",
"test:unit": "npm run test -- --selectProjects unit",
"test:unit:coverage": "npm run test -- --selectProjects unit --coverage",
"test:integration": "npm run test -- --selectProjects integration",
"migrate-deploy": "npm run migrate up",
"migrate-ci": "npm run migrate up",
"migrate-test": "NODE_ENV=test npm run migrate up",
"migrate": "sh -c 'ts-node --project migrations/tsconfig.json node_modules/.bin/migrate-mongo $0 $1 -f migrate-mongo-config.ts'",
"indexes:sync": "MONGO_INDEXES_SYNC=true MONGO_INDEXES_EXIT_AFTER_SYNC=true npm run start",
"find-circulars": "madge --circular --extensions ts ./",
"scaffold": "scaffold",
"genproto": "genproto --outputDir src/generated"
},
"dependencies": {
"@diia-inhouse/analytics": "1.61.0",
"@diia-inhouse/crypto": "1.11.0",
"@diia-inhouse/db": "4.8.0",
"@diia-inhouse/diia-app": "17.8.3",
"@diia-inhouse/diia-crypto-client": "1.0.0-94617",
"@diia-inhouse/diia-logger": "2.15.0",
"@diia-inhouse/diia-metrics": "3.11.0",
"@diia-inhouse/diia-queue": "7.3.0",
"@diia-inhouse/env": "1.16.0",
"@diia-inhouse/errors": "1.9.0",
"@diia-inhouse/healthcheck": "1.12.0",
"@diia-inhouse/http": "1.9.0",
"@diia-inhouse/i18n": "2.3.0",
"@diia-inhouse/redis": "2.12.0",
"@diia-inhouse/types": "6.24.0",
"@diia-inhouse/utils": "3.5.0",
"@diia-inhouse/validators": "1.17.0",
"awilix": "10.0.2",
"bcrypt": "5.1.1",
"compare-versions": "6.1.0",
"lodash": "4.17.21",
"migrate-mongo": "11.0.0",
"module-alias": "2.2.3",
"moment": "2.30.1",
"monobank-api-client": "1.0.2",
"ms": "2.1.3",
"otplib": "12.0.1",
"uuid": "9.0.1"
},
"devDependencies": {
"@diia-inhouse/configs": "1.32.0",
"@diia-inhouse/eslint-config": "5.1.0",
"@diia-inhouse/genproto": "1.14.0",
"@diia-inhouse/scaffold": "2.17.0",
"@diia-inhouse/test": "6.3.2",
"@types/bcrypt": "5.0.2",
"@types/jest": "29.5.12",
"@types/lodash": "4.17.4",
"@types/luxon": "3.4.2",
"@types/ms": "0.7.34",
"@types/uuid": "9.0.8",
"eslint": "8.57.0",
"jest": "29.7.0",
"lockfile-lint": "4.13.2",
"madge": "7.0.0",
"nock": "13.5.4",
"prettier": "3.2.5",
"redis-semaphore": "5.5.1",
"rimraf": "5.0.7",
"semantic-release": "21.1.2",
"ts-node": "10.9.2",
"ts-patch": "3.1.2",
"type-fest": "4.6.0",
"typescript": "5.2.2",
"typescript-transform-paths": "3.4.6"
},
"overrides": {
"axios": "1.6.7"
},
"_moduleAliases": {
"@services": "dist/services",
"@providers": "dist/providers",
"@interfaces": "dist/interfaces",
"@models": "dist/models",
"@dataMappers": "dist/dataMappers",
"@actions": "dist/actions",
"@src": "dist",
"@mocks": "tests/mocks",
"@tests": "tests"
},
"jest": {
"preset": "@diia-inhouse/configs/dist/jest"
},
"release": {
"extends": "@diia-inhouse/configs/dist/semantic-release/service"
},
"commitlint": {
"extends": "@diia-inhouse/configs/dist/commitlint"
},
"eslintConfig": {
"extends": "@diia-inhouse/eslint-config"
},
"prettier": "@diia-inhouse/eslint-config/prettier"
}