forked from raghav3615/screenforge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.82 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 3.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "screenforge",
"private": true,
"version": "1.0.0",
"description": "A Windows screen time dashboard that tracks app usage, notifications, and provides productivity insights",
"author": {
"name": "Raghav Dadhich",
"email": "dadhichraghav896@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/raghav3615/screenforge",
"repository": {
"type": "git",
"url": "https://github.com/raghav3615/screenforge"
},
"type": "module",
"main": "dist-electron/main.cjs",
"scripts": {
"dev": "concurrently \"vite --strictPort\" \"npm:electron:dev\"",
"electron:dev": "npm run electron:build && wait-on tcp:5173 && cross-env VITE_DEV_SERVER_URL=http://localhost:5173 cmd /c \"set ELECTRON_RUN_AS_NODE=&& electron .\"",
"dev:debug": "concurrently \"vite --strictPort\" \"npm:electron:dev:debug\"",
"electron:dev:debug": "npm run electron:build && wait-on tcp:5173 && cross-env ELECTRON_ENABLE_LOGGING=true VITE_DEV_SERVER_URL=http://localhost:5173 cmd /c \"set ELECTRON_RUN_AS_NODE=&& electron --inspect=9229 .\"",
"generate:icon": "node scripts/generate-icon.mjs",
"prebuild": "npm run generate:icon",
"build": "tsc -b && vite build && npm run electron:build",
"electron:build": "esbuild electron/main.ts --bundle --platform=node --format=cjs --external:electron --outfile=dist-electron/main.cjs && esbuild electron/preload.ts --bundle --platform=node --format=cjs --external:electron --outfile=dist-electron/preload.cjs",
"lint": "eslint .",
"preview": "vite preview",
"electron:start": "cmd /c \"set ELECTRON_RUN_AS_NODE=&& electron .\"",
"dist": "npm run build && electron-builder --win nsis",
"dist:portable": "npm run build && electron-builder --win portable"
},
"dependencies": {
"@fontsource/inter": "^5.2.5",
"chart.js": "^4.5.0",
"react": "^19.2.0",
"react-chartjs-2": "^5.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"concurrently": "^9.2.1",
"cross-env": "^7.0.3",
"electron": "^36.0.0",
"electron-builder": "^25.1.8",
"esbuild": "^0.25.9",
"eslint": "^9.39.1",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"sharp": "^0.33.5",
"typescript": "~5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "npm:rolldown-vite@7.2.5",
"wait-on": "^8.0.3"
},
"overrides": {
"vite": "npm:rolldown-vite@7.2.5"
},
"build": {
"appId": "com.screenforge.app",
"productName": "ScreenForge",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"copyright": "Copyright © 2026 ScreenForge Team",
"icon": "build/icon.png",
"asar": true,
"compression": "maximum",
"files": [
"dist/**",
"dist-electron/**",
"package.json"
],
"directories": {
"buildResources": "build",
"output": "release"
},
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
},
{
"target": "portable",
"arch": ["x64"]
}
],
"icon": "build/icon.ico",
"publisherName": "ScreenForge Team",
"requestedExecutionLevel": "asInvoker"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "ScreenForge",
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"installerHeaderIcon": "build/icon.ico"
},
"portable": {
"artifactName": "${productName}-${version}-portable.${ext}"
}
}
}