-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 4.75 KB
/
Copy pathpackage.json
File metadata and controls
117 lines (117 loc) · 4.75 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
113
114
115
116
117
{
"name": "cdriveshiftai",
"version": "0.1.3",
"private": true,
"description": "CDriveShiftAI - AI-assisted Windows disk organizer and safe cross-drive directory migration tool",
"main": "dist-electron/main.js",
"author": "CDriveShiftAI",
"license": "MIT",
"scripts": {
"dev": "concurrently -k \"vite --host 127.0.0.1\" \"tsc -p tsconfig.electron.json --watch --preserveWatchOutput\" \"wait-on tcp:5173 file:dist-electron/main.js && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron .\"",
"dev:web": "vite --host 127.0.0.1",
"prepare:electron": "node node_modules/electron/install.js",
"build:native": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/build-native.ps1",
"test:native": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/build-native.ps1 -Test",
"build:main": "tsc -p tsconfig.electron.json",
"build:web": "tsc --noEmit && vite build",
"build:app": "npm run build:native && npm run build:main && npm run build:web",
"dist": "npm run prepare:electron && npm run build:app && electron-builder --win nsis",
"dist:portable": "npm run prepare:electron && npm run build:app && electron-builder --win portable",
"dist:all": "npm run prepare:electron && npm run build:app && electron-builder --win nsis portable && node scripts/create-update-manifest.mjs",
"test": "vitest run",
"test:indexer": "node scripts/smoke-indexer.mjs",
"test:force-delete": "npm run build:main && node scripts/smoke-force-delete.mjs",
"test:index-cache": "node scripts/smoke-index-cache-restart.mjs",
"test:packaged-index-cache": "node scripts/smoke-packaged-index-cache.mjs",
"test:background-cpu": "node scripts/smoke-background-cpu.mjs",
"test:search-performance": "node scripts/smoke-search-performance.mjs",
"test:app-performance": "node scripts/smoke-app-performance.mjs",
"test:tray-performance": "node scripts/smoke-tray-idle-performance.mjs",
"test:clean-exit": "node scripts/smoke-clean-exit.mjs",
"test:auto-update": "node scripts/smoke-auto-update.mjs",
"test:auto-update-rejection": "node scripts/smoke-auto-update.mjs --tamper",
"test:auto-update-rollback": "node scripts/smoke-auto-update.mjs --invalid-start",
"test:installed-update": "node scripts/smoke-installed-update.mjs",
"test:portable": "node scripts/smoke-portable-distribution.mjs",
"test:ownership-map": "npm run build:main && node scripts/smoke-ownership-map.mjs",
"test:ownership-state": "node scripts/smoke-ownership-persistence.mjs",
"test:analysis-state": "node scripts/smoke-analysis-persistence.mjs",
"test:search-state": "node scripts/smoke-packaged-search-state.mjs",
"test:visual": "node scripts/visual-smoke.mjs",
"test:settings-sliders": "node scripts/smoke-settings-sliders.mjs",
"test:magnifier-native": "node scripts/smoke-native-magnifier.mjs",
"test:listener-exclusivity": "node scripts/smoke-native-listener-exclusivity.mjs",
"test:magnifier-drag": "node scripts/smoke-magnifier-slider-drag.mjs",
"test:watch": "vitest",
"lint": "tsc --noEmit && tsc -p tsconfig.electron.json --noEmit"
},
"dependencies": {
"lucide-react": "^0.536.0",
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@types/node": "^24.1.0",
"@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7",
"@vitejs/plugin-react": "^6.0.4",
"concurrently": "^9.2.0",
"cross-env": "^10.0.0",
"electron": "^43.2.0",
"electron-builder": "^26.15.3",
"typescript": "^7.0.0",
"vite": "^8.1.5",
"vitest": "^4.1.0",
"wait-on": "^9.0.0"
},
"build": {
"appId": "ai.cdriveshift.desktop",
"productName": "CDriveShiftAI",
"electronDist": "node_modules/electron/dist",
"asar": true,
"directories": {
"output": "release-ready"
},
"files": [
"dist/**/*",
"dist-electron/**/*",
"package.json"
],
"extraResources": [
{
"from": "native/indexer/target/release/cshift-indexer.exe",
"to": "bin/cshift-indexer.exe"
},
{
"from": "native/updater/target/release/cshift-updater.exe",
"to": "bin/cshift-updater.exe"
},
{
"from": "build/icon.png",
"to": "assets/icon.png"
}
],
"win": {
"icon": "build/icon.png",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"nsis": {
"artifactName": "${productName}-${arch}.${ext}",
"include": "build/installer.nsh",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"deleteAppDataOnUninstall": false
},
"portable": {
"artifactName": "${productName}-${arch}-portable.${ext}"
}
}
}