farmcontrol-ws/package.json
Tom Butcher 4ac87f0141 Update package.json and package-lock.json to add new dependencies
- Added @nats-io/nats-core and @nats-io/transport-node (version 3.1.0) for enhanced messaging capabilities.
- Included canonical-json (version 0.2.0) for improved JSON handling.
- Updated package-lock.json to reflect the new dependencies and their respective versions.
2025-09-05 23:27:56 +01:00

52 lines
1.4 KiB
JSON

{
"name": "farmcontrol-ws",
"version": "1.0.0",
"description": "Farmcontrol Web Socket microservice",
"main": "app.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node src/index.js",
"dev": "nodemon src/index.js",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write \"src/**/*.{js,json}\"",
"format:check": "prettier --check \"src/**/*.{js,json}\"",
"fix": "npm run lint:fix && npm run format"
},
"author": "Tom Butcher",
"license": "ISC",
"dependencies": {
"@nats-io/nats-core": "^3.1.0",
"@nats-io/transport-node": "^3.1.0",
"axios": "^1.11.0",
"canonical-json": "^0.2.0",
"date-fns": "^4.1.0",
"dayjs": "^1.11.13",
"dotenv": "^17.2.1",
"ejs": "^3.1.10",
"etcd3": "^1.1.2",
"express": "^5.1.0",
"he": "^1.2.0",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"log4js": "^6.9.1",
"mongodb": "^6.18.0",
"mongoose": "^8.17.1",
"nanoid": "^5.1.5",
"node-cache": "^5.1.2",
"object-hash": "^3.0.0",
"posthtml": "^0.16.6",
"socket.io": "^4.8.1",
"socket.io-adapter-mongo": "^2.0.5",
"socketio-jwt": "^4.6.2"
},
"devDependencies": {
"eslint": "^9.33.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"prettier": "^3.6.2",
"standard": "^17.1.2"
}
}