-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.02 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 3.02 KB
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
{
"name": "image-optimize",
"version": "1.6.12",
"description": "",
"author": "MobileTeleSystems",
"homepage": "https://github.com/MobileTeleSystems/image-optimize",
"bugs": "https://github.com/MobileTeleSystems/image-optimize/issues",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/MobileTeleSystems/image-optimize.git"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"lint:md": "markdownlint --fix **/*.md --ignore node_modules",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"release": "cliff-jumper --name 'image-optimize' --package-path '.' --no-skip-changelog --no-skip-tag",
"prepare": "husky"
},
"lint-staged": {
"./(src|test)/**/*.(ts|tsx|js|jsx)": [
"eslint --fix -c eslint.config.mjs --ext .tsx,.ts,.jsx,.js"
]
},
"dependencies": {
"@nestjs/common": "^11.1.13",
"@nestjs/core": "^11.1.13",
"@nestjs/platform-express": "^11.1.13",
"prom-client": "^15.1.3",
"reflect-metadata": "^0.2.2",
"rimraf": "^6.1.2",
"rxjs": "^7.8.2",
"sharp": "^0.34.5"
},
"devDependencies": {
"@commitlint/cli": "^20.3.1",
"@commitlint/config-conventional": "^20.3.1",
"@favware/cliff-jumper": "^6.0.0",
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.1",
"@nestjs/cli": "^11.0.16",
"@nestjs/schematics": "^11.0.9",
"@nestjs/testing": "^11.1.13",
"@swc/cli": "^0.7.10",
"@swc/core": "^1.15.11",
"fastify": "^5.7.2",
"@types/express": "^5.0.6",
"@types/jest": "^30.0.0",
"@types/node": "^25.1.0",
"@types/node-fetch": "^3.0.2",
"@types/sharp": "^0.32.0",
"@types/supertest": "^6.0.3",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"globals": "^17.2.0",
"husky": "^9.1.7",
"jest": "^30.2.0",
"lint-staged": "^16.2.7",
"markdownlint": "^0.40.0",
"markdownlint-cli": "^0.47.0",
"prettier": "^3.8.1",
"source-map-support": "^0.5.21",
"supertest": "^7.2.2",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}