-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.48 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
{
"name": "smart-socket-service",
"version": "1.0.0",
"description": "REST API service for controlling and monitoring a smart socket. This service allows users to start and stop a smart socket, wait asynchronously for a set duration, receive real-time updates on power consumption, and fetch power usage statistics for specified time intervals. Integrates with MQTT for communication with smart socket devices.",
"main": "index.js",
"scripts": {
"build": "rm -rfd ./dist && tsc",
"start": "NODE_ENV=development ts-node src/app.ts",
"prod": "NODE_ENV=production npm run build && node dist/app.js",
"dev": "nodemon --watch src -e .ts --exec 'npm run build && node dist/app.js'",
"test": "jest",
"prepare-pages": "./prepare_pages.sh",
"setup": "./setup.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ylkhayat/smart-socket-service.git"
},
"author": "ylkhayat",
"license": "ISC",
"bugs": {
"url": "https://github.com/ylkhayat/smart-socket-service/issues"
},
"homepage": "https://github.com/ylkhayat/smart-socket-service#readme",
"devDependencies": {
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/supertest": "^6.0.2",
"cli-table3": "^0.6.3",
"jest": "^29.7.0",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"dependencies": {
"dotenv": "^16.4.4",
"express": "^4.18.2",
"mqtt": "^5.3.4",
"nanoid": "^3.3.7"
}
}