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
|
run: npm run test:run
|
||||||
|
|
||||||
- name: Build application
|
- 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
|
run: npm ci
|
||||||
|
|
||||||
- name: Build web app
|
- name: Build web app
|
||||||
run: npm run build -- --base=/respira/
|
run: npm run web:build -- --base=/respira/
|
||||||
|
|
||||||
- name: Create web artifact zip
|
- name: Create web artifact zip
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -92,7 +92,7 @@ jobs:
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Package and make
|
- name: Package and make
|
||||||
run: npm run make
|
run: npm run electron:make
|
||||||
|
|
||||||
- name: Upload Windows artifacts
|
- name: Upload Windows artifacts
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
|
|
|
||||||
16
package.json
16
package.json
|
|
@ -8,18 +8,18 @@
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"main": ".vite/build/main.js",
|
"main": ".vite/build/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host 0.0.0.0",
|
|
||||||
"dev:electron": "vite --mode electron",
|
|
||||||
"build": "tsc -b && vite build",
|
|
||||||
"lint": "eslint .",
|
"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": "vitest",
|
||||||
"test:ui": "vitest --ui",
|
"test:ui": "vitest --ui",
|
||||||
"test:run": "vitest run",
|
"test:run": "vitest run",
|
||||||
"start": "electron-forge start",
|
"electron:dev": "vite --mode electron",
|
||||||
"package": "electron-forge package",
|
"electron:start": "electron-forge start",
|
||||||
"make": "electron-forge make",
|
"electron:package": "electron-forge package",
|
||||||
"icons": "electron-icon-builder --input=./public/icons/icon.png --output=./public -f"
|
"electron:make": "electron-forge make",
|
||||||
|
"electron:icons": "electron-icon-builder --input=./public/icons/icon.png --output=./public -f"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@heroicons/react": "^2.2.0",
|
"@heroicons/react": "^2.2.0",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue