chore: rename npm tasks with categories

This commit is contained in:
Jan-Henrik Bruhn 2025-12-16 23:04:27 +01:00
parent 1cf3d231fe
commit 1517c69595
3 changed files with 11 additions and 11 deletions

View file

@ -32,4 +32,4 @@ jobs:
run: npm run test:run
- name: Build application
run: npm run build
run: npm run web:build

View file

@ -51,7 +51,7 @@ jobs:
run: npm ci
- name: Build web app
run: npm run build -- --base=/respira/
run: npm run web:build -- --base=/respira/
- name: Create web artifact zip
run: |
@ -92,7 +92,7 @@ jobs:
run: npm ci
- name: Package and make
run: npm run make
run: npm run electron:make
- name: Upload Windows artifacts
if: matrix.os == 'windows-latest'

View file

@ -8,18 +8,18 @@
"license": "Apache-2.0",
"main": ".vite/build/main.js",
"scripts": {
"dev": "vite --host 0.0.0.0",
"dev:electron": "vite --mode electron",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"web:dev": "vite --host 0.0.0.0",
"web:preview": "vite preview",
"web:build": "tsc -b && vite build",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make",
"icons": "electron-icon-builder --input=./public/icons/icon.png --output=./public -f"
"electron:dev": "vite --mode electron",
"electron:start": "electron-forge start",
"electron:package": "electron-forge package",
"electron:make": "electron-forge make",
"electron:icons": "electron-icon-builder --input=./public/icons/icon.png --output=./public -f"
},
"dependencies": {
"@heroicons/react": "^2.2.0",