forked from jsnbuchanan/crowd-funder-for-time-pwa
- Add Winston-based structured logging system with: - Separate console and file output formats - Custom SQLite and migration loggers - Configurable log levels and verbosity - Log rotation and file management - Type-safe logger extensions - Improve IPC handler management: - Add handler registration tracking - Implement proper cleanup before re-registration - Fix handler registration conflicts - Add better error handling for IPC operations - Add migration logging controls: - Configurable via DEBUG_MIGRATIONS env var - Reduced console noise while maintaining file logs - Structured migration status reporting Security: - Add proper log file permissions (0o755) - Implement log rotation to prevent disk space issues - Add type safety for all logging operations - Prevent handler registration conflicts Dependencies: - Add winston for enhanced logging - Remove deprecated @types/winston This change improves debugging capabilities while reducing console noise and fixing IPC handler registration issues that could cause database operation failures.
53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"name": "TimeSafari",
|
|
"version": "1.0.0",
|
|
"description": "TimeSafari Electron App",
|
|
"author": {
|
|
"name": "",
|
|
"email": ""
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": ""
|
|
},
|
|
"license": "MIT",
|
|
"main": "build/src/index.js",
|
|
"scripts": {
|
|
"build": "tsc && electron-rebuild",
|
|
"electron:start-live": "node ./live-runner.js",
|
|
"electron:start": "npm run build && electron --inspect=5858 ./",
|
|
"electron:pack": "npm run build && electron-builder build --dir -c ./electron-builder.config.json",
|
|
"electron:make": "npm run build && electron-builder build -c ./electron-builder.config.json -p always"
|
|
},
|
|
"dependencies": {
|
|
"@capacitor-community/electron": "^5.0.0",
|
|
"@capacitor-community/sqlite": "^6.0.2",
|
|
"better-sqlite3-multiple-ciphers": "^11.10.0",
|
|
"chokidar": "~3.5.3",
|
|
"crypto": "^1.0.1",
|
|
"crypto-js": "^4.2.0",
|
|
"electron-is-dev": "~2.0.0",
|
|
"electron-json-storage": "^4.6.0",
|
|
"electron-serve": "~1.1.0",
|
|
"electron-unhandled": "~4.0.1",
|
|
"electron-updater": "^5.3.0",
|
|
"electron-window-state": "^5.0.3",
|
|
"jszip": "^3.10.1",
|
|
"node-fetch": "^2.6.7",
|
|
"winston": "^3.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/crypto-js": "^4.2.2",
|
|
"@types/electron-json-storage": "^4.5.4",
|
|
"electron": "^26.2.2",
|
|
"electron-builder": "~23.6.0",
|
|
"source-map-support": "^0.5.21",
|
|
"typescript": "^5.0.4"
|
|
},
|
|
"keywords": [
|
|
"capacitor",
|
|
"electron"
|
|
]
|
|
}
|