- Upgraded several dependencies including axios, dotenv, express, mongodb, and mongoose to their latest versions for improved performance and security. - Added new dependencies: date-fns, dayjs, ejs, nanoid, node-cache, object-hash, and posthtml to enhance functionality. - Updated ESLint and related packages to the latest versions for better linting support and configuration. - Removed deprecated dependencies and ensured compatibility with the latest Node.js versions.
49 lines
1.3 KiB
JSON
49 lines
1.3 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": {
|
|
"axios": "^1.11.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"
|
|
}
|
|
}
|