chore(deps): add electron-updater + vitest
Подготовка к auto-update и тестам. - electron-updater для in-app апдейтов через generic provider - vitest для unit-тестов Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
1224
package-lock.json
generated
1224
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
32
package.json
32
package.json
@@ -12,20 +12,25 @@
|
||||
"typecheck:node": "tsc --noEmit -p tsconfig.node.json",
|
||||
"typecheck:web": "tsc --noEmit -p tsconfig.web.json",
|
||||
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
||||
"test": "vitest",
|
||||
"test:run": "vitest run",
|
||||
"dist": "electron-vite build && electron-builder --win --x64",
|
||||
"dist:dir": "electron-vite build && electron-builder --win --x64 --dir",
|
||||
"publish": "electron-vite build && electron-builder --win --x64 --publish always",
|
||||
"release": "powershell -ExecutionPolicy Bypass -File scripts/release.ps1",
|
||||
"gen:icons": "powershell -ExecutionPolicy Bypass -File scripts/gen-icons.ps1"
|
||||
},
|
||||
"dependencies": {
|
||||
"lucide-react": "^0.460.0",
|
||||
"electron-updater": "^6.8.3",
|
||||
"framer-motion": "^11.11.17",
|
||||
"lucide-react": "^0.460.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-router-dom": "^6.28.0",
|
||||
"zustand": "^5.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.10.0",
|
||||
"@types/node": "^22.19.19",
|
||||
"@types/react": "^18.3.12",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"@vitejs/plugin-react": "^4.3.3",
|
||||
@@ -36,7 +41,8 @@
|
||||
"postcss": "^8.4.49",
|
||||
"tailwindcss": "^3.4.15",
|
||||
"typescript": "^5.6.3",
|
||||
"vite": "^5.4.11"
|
||||
"vite": "^5.4.11",
|
||||
"vitest": "^4.1.6"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.anril.exercise-reminder",
|
||||
@@ -50,7 +56,14 @@
|
||||
"resources/**/*"
|
||||
],
|
||||
"win": {
|
||||
"target": [{ "target": "nsis", "arch": ["x64"] }],
|
||||
"target": [
|
||||
{
|
||||
"target": "nsis",
|
||||
"arch": [
|
||||
"x64"
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "resources/icon.ico"
|
||||
},
|
||||
"nsis": {
|
||||
@@ -62,7 +75,10 @@
|
||||
"createStartMenuShortcut": true,
|
||||
"shortcutName": "Exercise Reminder",
|
||||
"uninstallDisplayName": "Exercise Reminder",
|
||||
"installerLanguages": ["ru_RU", "en_US"],
|
||||
"installerLanguages": [
|
||||
"ru_RU",
|
||||
"en_US"
|
||||
],
|
||||
"displayLanguageSelector": true,
|
||||
"menuCategory": false,
|
||||
"runAfterFinish": true,
|
||||
@@ -70,6 +86,10 @@
|
||||
"differentialPackage": true,
|
||||
"artifactName": "Exercise-Reminder-Setup-${version}.${ext}"
|
||||
},
|
||||
"publish": null
|
||||
"publish": {
|
||||
"provider": "generic",
|
||||
"url": "https://xn--90adajar8af4h.xn--p1ai/git/AnRil/laude/releases/download/v${version}",
|
||||
"channel": "latest"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user