-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
104 lines (104 loc) · 3.88 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
{
"name": "@bechara/crux",
"version": "5.9.12",
"description": "Node.js backend package including: framework (NestJS), HTTP server (Fastify), HTTP client (Fetch), distributed caching (ioredis), ORM (MikroORM), swagger documentation (Redoc), logger (Loki), metrics (Prometheus) and tracing (Tempo with OpenTelemetry).",
"author": {
"name": "Etienne Bechara",
"email": "bechara.etienne@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/etienne-bechara/crux"
},
"license": "MIT",
"main": "dist/index.js",
"files": [
"dist/**"
],
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/changelog",
"@semantic-release/git",
"@semantic-release/github"
]
},
"scripts": {
"prepare": "node -e \"try { require('husky').install('.config/husky') } catch(e) { if (e.code !== 'MODULE_NOT_FOUND') throw e }\"",
"dev": "tsnd --exit-child --rs --watch *.env --inspect=0.0.0.0:9229 ./dev/main.ts",
"example": "pnpm example:build && cd example && docker-compose up --build",
"example:build": "rimraf ./example/application/crux && pnpm build && pnpm example:assets",
"example:assets": "copyfiles -u 1 ./dist/**/* ./example/application/crux/dist/ && copyfiles ./package.json ./pnpm-lock.yaml ./example/application/crux/",
"build": "rimraf ./dist && pnpm build:index && tsc -p tsconfig.build.json && pnpm build:assets && pnpm build:cleanup",
"build:index": "rimraf ./source/index.ts && barrelsby -q -e \\.spec\\.ts$ -d ./source",
"build:assets": "copyfiles -u 1 ./source/doc/doc.view.hbs ./dist/",
"build:cleanup": "rimraf ./source/index.ts",
"lint": "export TIMING=1 || set TIMING=1&& eslint **/*.ts --max-warnings=0",
"test": "pnpm test:up && pnpm test:jest && pnpm test:down",
"test:up": "cd test && docker compose up -d",
"test:jest": "jest --forceExit --config .config/jest/.jestrc.json",
"test:down": "cd test && docker compose down",
"release": "semantic-release"
},
"dependencies": {
"@fastify/static": "7.0.4",
"@fastify/view": "9.1.0",
"@grpc/grpc-js": "1.10.9",
"@mikro-orm/core": "5.8.6",
"@mikro-orm/mysql": "5.8.6",
"@mikro-orm/nestjs": "5.2.2",
"@mikro-orm/postgresql": "5.8.6",
"@nestjs/common": "10.3.9",
"@nestjs/core": "10.3.9",
"@nestjs/platform-fastify": "10.3.9",
"@nestjs/swagger": "7.3.1",
"@opentelemetry/api": "1.9.0",
"@opentelemetry/context-async-hooks": "1.25.1",
"@opentelemetry/exporter-trace-otlp-grpc": "0.52.1",
"@opentelemetry/propagator-b3": "1.25.1",
"@opentelemetry/resources": "1.25.1",
"@opentelemetry/sdk-trace-base": "1.25.1",
"@opentelemetry/semantic-conventions": "1.25.1",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"cycle": "1.0.3",
"dotenv": "16.4.5",
"fast-glob": "3.3.2",
"handlebars": "4.7.8",
"ioredis": "5.4.1",
"prom-client": "15.1.2",
"protobufjs": "7.3.2",
"query-string": "7.1.3",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.1",
"snappyjs": "0.7.0",
"source-map-support": "0.5.21",
"uuid": "10.0.0"
},
"devDependencies": {
"@bechara/eslint-config-bechara-ts": "1.5.1",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@types/jest": "29.5.12",
"@types/node": "20.14.8",
"@types/snappyjs": "0.7.1",
"@types/supertest": "6.0.2",
"@types/uuid": "10.0.0",
"barrelsby": "2.8.1",
"copyfiles": "2.4.1",
"eslint": "8.50.0",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-sonar-reporter": "2.0.0",
"rimraf": "5.0.7",
"semantic-release": "24.0.0",
"supertest": "7.0.0",
"ts-jest": "29.1.5",
"ts-node-dev": "2.0.0",
"typescript": "5.2.2"
}
}