mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 10:23:41 +00:00
chore: rename npm tasks with categories
This commit is contained in:
parent
1cf3d231fe
commit
1517c69595
3 changed files with 11 additions and 11 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -32,4 +32,4 @@ jobs:
|
|||
run: npm run test:run
|
||||
|
||||
- name: Build application
|
||||
run: npm run build
|
||||
run: npm run web:build
|
||||
|
|
|
|||
4
.github/workflows/draft-release.yml
vendored
4
.github/workflows/draft-release.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
16
package.json
16
package.json
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue