-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.4 KB
/
Copy pathpackage.json
File metadata and controls
105 lines (105 loc) · 3.4 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
{
"name": "codex-light",
"version": "0.1.2",
"author": "Codex Light Contributors",
"license": "MIT",
"private": true,
"description": "Unofficial Win11 top-island status light for Codex CLI hooks and Codex Desktop fallback detection.",
"type": "module",
"homepage": "https://github.com/ddddddddwp/codex-light#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ddddddddwp/codex-light.git"
},
"bugs": {
"url": "https://github.com/ddddddddwp/codex-light/issues"
},
"keywords": [
"codex",
"codex-cli",
"electron",
"win11",
"status-monitor",
"traffic-light"
],
"main": "dist/main/main.js",
"bin": {
"codex-light": "dist/hook-cli/index.js"
},
"scripts": {
"dev": "vite --config vite.renderer.config.ts",
"dev:electron": "npm run build:main && npm run build:preload && concurrently -k \"vite --config vite.renderer.config.ts --host 127.0.0.1\" \"wait-on http://127.0.0.1:5173 && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron .\"",
"build": "npm run clean && npm run typecheck && npm run build:main && npm run build:preload && npm run build:hook-cli && npm run build:renderer",
"build:main": "vite build --config vite.main.config.ts",
"build:preload": "vite build --config vite.preload.config.ts",
"build:hook-cli": "vite build --config vite.hook-cli.config.ts",
"build:renderer": "vite build --config vite.renderer.config.ts",
"clean": "rimraf dist dist-types",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:visual": "playwright test",
"package:win": "npm run build && electron-builder --win --x64",
"package:win:desktop": "node scripts/package-win-desktop.mjs",
"package:win:dir": "npm run build && electron-builder --win --x64 --dir"
},
"dependencies": {
"chokidar": "^4.0.3",
"commander": "^14.0.2",
"electron-log": "^5.4.3",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"zod": "^4.1.13"
},
"devDependencies": {
"@electron/rebuild": "^4.0.1",
"@playwright/test": "^1.57.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@types/node": "^24.10.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"electron": "^39.2.6",
"electron-builder": "^26.0.12",
"eslint": "^9.39.1",
"eslint-plugin-react-hooks": "^7.0.1",
"jsdom": "^27.2.0",
"rimraf": "^6.1.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.0",
"vite": "^7.2.4",
"vitest": "^4.0.14",
"wait-on": "^9.0.3"
},
"build": {
"appId": "dev.codex-light.app",
"productName": "Codex Light",
"artifactName": "Codex-Light-Setup-${version}.${ext}",
"files": [
"dist/main/**/*",
"dist/preload/**/*",
"dist/hook-cli/**/*",
"dist/renderer/**/*",
"package.json"
],
"win": {
"target": "nsis",
"signAndEditExecutable": false
},
"nsis": {
"oneClick": false,
"perMachine": false,
"include": "scripts/nsis/installer.nsh",
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Codex Light",
"runAfterFinish": true,
"deleteAppDataOnUninstall": false
}
}
}