mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-23 06:40:53 -05:00
1419712a60
- Add Flutter mobile app with authentication, timer, projects, and time entries - Add Electron desktop app with system tray integration and offline support - Implement offline storage with sync queue for both platforms - Add comprehensive build scripts for cross-platform builds - Include documentation and README files for both apps - Add test suites for mobile and desktop applications
84 lines
1.9 KiB
JSON
84 lines
1.9 KiB
JSON
{
|
|
"name": "timetracker-desktop",
|
|
"version": "1.0.0",
|
|
"description": "TimeTracker desktop app for Windows, Linux, and macOS",
|
|
"main": "src/main/main.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"dev": "electron . --dev",
|
|
"build": "electron-builder",
|
|
"build:win": "electron-builder --win",
|
|
"build:mac": "electron-builder --mac",
|
|
"build:linux": "electron-builder --linux",
|
|
"build:all": "node scripts/build-all-platforms.js",
|
|
"build:win+linux": "electron-builder --win --linux",
|
|
"build:all-force": "electron-builder --win --mac --linux",
|
|
"clean:cache": "node scripts/clean-cache.js",
|
|
"dist": "electron-builder --publish=never"
|
|
},
|
|
"keywords": [
|
|
"timetracker",
|
|
"time-tracking",
|
|
"electron"
|
|
],
|
|
"author": "TimeTracker",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"electron": "^35.7.5",
|
|
"electron-builder": "^25.1.8"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.6.2",
|
|
"electron-store": "^8.1.0",
|
|
"dexie": "^3.2.4"
|
|
},
|
|
"build": {
|
|
"appId": "com.timetracker.desktop",
|
|
"productName": "TimeTracker",
|
|
"directories": {
|
|
"output": "dist"
|
|
},
|
|
"files": [
|
|
"src/**/*",
|
|
"package.json"
|
|
],
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": ["x64", "ia32"]
|
|
}
|
|
],
|
|
"icon": "assets/icon.ico"
|
|
},
|
|
"mac": {
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": ["x64", "arm64"]
|
|
}
|
|
],
|
|
"icon": "assets/icon.icns",
|
|
"category": "public.app-category.productivity"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": ["x64"]
|
|
},
|
|
{
|
|
"target": "deb",
|
|
"arch": ["x64"]
|
|
}
|
|
],
|
|
"icon": "assets/icon.png",
|
|
"category": "Utility"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
}
|
|
}
|
|
}
|