-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 4.29 KB
/
package.json
File metadata and controls
117 lines (117 loc) · 4.29 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "power-monitor.api",
"version": "2.0.46",
"description": "NestJS backend API for PowerMonitor: provides endpoints for power, voltage, and system data, with authentication, MQTT, and scheduled tasks.",
"author": "Serhiy Krasovskyy <xhunter74@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/xhunter74/power-monitor-api.git"
},
"homepage": "https://github.com/xhunter74/power-monitor-api#readme",
"bugs": {
"url": "https://github.com/xhunter74/power-monitor-api/issues"
},
"scripts": {
"build": "tsc -p tsconfig.build.prod.json",
"package": "npm run lint && npm version patch && node ./replace.build.js && tsc -p tsconfig.build.prod.json",
"build-dev": "tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "concurrently --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ",
"start:debug": "cross-env NODE_ENV=staging nest start --debug --watch",
"prestart:prod": "rimraf dist && npm run build",
"start:prod": "node dist/main.js",
"start:docker": "node dist/main.js",
"lint": "eslint src/",
"typeorm:cli": "ts-node ./node_modules/typeorm/cli -f ./src/ormconfig.ts",
"test": "node ./test-runner.js",
"test:coverage": "c8 mocha -r ts-node/register -r source-map-support/register \"tests/**/*.spec.ts\""
},
"dependencies": {
"@keyv/redis": "^5.1.3",
"@nestjs/axios": "^4.0.1",
"@nestjs/cache-manager": "^3.0.1",
"@nestjs/common": "^11.1.8",
"@nestjs/core": "^11.1.8",
"@nestjs/jwt": "^11.0.1",
"@nestjs/passport": "^11.0.5",
"@nestjs/platform-express": "^11.1.8",
"@nestjs/platform-socket.io": "^11.1.8",
"@nestjs/schedule": "^6.0.1",
"@nestjs/swagger": "^11.2.1",
"@nestjs/typeorm": "11.0.0",
"@nestjs/websockets": "^11.1.8",
"bcrypt": "^6.0.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.2",
"dotenv": "^17.2.3",
"ioredis": "^5.8.2",
"modbus-serial": "^8.0.25",
"moment": "^2.30.1",
"mqtt": "^5.14.1",
"node-telegram-bot-api": "^0.66.0",
"os-uptime": "^2.0.2",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"pg": "^8.16.3",
"ping": "^0.4.4",
"reflect-metadata": "^0.2.2",
"replace-in-file": "^7.1.0",
"rxjs": "7.8.2",
"serialport": "^13.0.0",
"source-map-support": "^0.5.21",
"swagger-ui-express": "^5.0.1",
"systeminformation": "^5.27.11",
"typeorm": "^0.3.27",
"uuid-token-generator": "^1.0.0",
"winston": "^3.18.3",
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"@nestjs/testing": "^11.1.8",
"@types/chai": "^5.2.2",
"@types/express": "^5.0.5",
"@types/mocha": "^10.0.10",
"@types/node": "^24.10.0",
"@types/node-telegram-bot-api": "^0.64.12",
"@types/proxyquire": "^1.3.31",
"@types/sinon": "^17.0.4",
"@types/sinon-chai": "^4.0.0",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"c8": "^10.1.3",
"chai": "^5.2.0",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"eslint": "^10.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.0.0",
"eslint-plugin-import-x": "^4.0.0",
"eslint-plugin-n": "^17.0.0",
"eslint-plugin-prettier": "^5.4.1",
"globals": "^16.0.0",
"typescript-eslint": "^8.0.0",
"mocha": "^11.5.0",
"nodemon": "^3.1.10",
"prettier": "^3.5.3",
"proxyquire": "^2.1.3",
"sinon": "^20.0.0",
"sinon-chai": "^4.0.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "~5.9.3",
"wait-on": "^9.0.1"
},
"c8": {
"reporter": [
"text",
"html"
],
"report-dir": "coverage",
"exclude": [
"test/**/*.ts"
]
}
}