transfer.coffee/package.json
Kumi 2394a9f6ee
feat: improve security and error handling in app
- Added `helmet` middleware for enhanced security with CSP.
- Integrated `dotenv` for configuration management.
- Added validation and error handling for mnemonic and infoHash.
- Improved error handling in TURN credentials generation.
- Enhanced notification and progress feedback for file sharing.
- Added tracker server config validation and error handling.
- Updated dependencies to include `helmet` and `dotenv`.

These changes improve the app's security, robustness, and user experience.
2024-06-24 10:40:32 +02:00

26 lines
647 B
JSON

{
"name": "transfer.coffee",
"version": "0.0.2",
"description": "A WebTorrent-based file transfer application",
"main": "app.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node app.js",
"tracker": "node tracker.js"
},
"repository": {
"type": "git",
"url": "https://git.private.coffee/PrivateCoffee/transfer.coffee"
},
"author": "Private.coffee Team",
"license": "MIT",
"dependencies": {
"bip39": "^3.1.0",
"bittorrent-tracker": "^11.1.0",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"express": "^4.19.2",
"helmet": "^7.1.0"
}
}