refactor!: remove npm yeehaw

This commit is contained in:
decentral1se 2024-04-22 19:50:44 +02:00
parent fcf497b1a1
commit ee76eb6b64
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410
8 changed files with 7 additions and 19 deletions

5
Makefile Normal file
View File

@ -0,0 +1,5 @@
FLAGS := -s -skipbindings
TAGS := -tags webkit2_40
default:
wails dev $(FLAGS) $(TAGS)

View File

@ -1,13 +0,0 @@
{
"name": "frontend",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"devDependencies": {
"vite": "^3.0.7"
}
}

View File

@ -1 +0,0 @@
12a10e92fe971e5bd12d427dfbcf9918

View File

@ -10,7 +10,7 @@ import (
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
)
//go:embed all:frontend/dist components
//go:embed all:frontend components
var assets embed.FS
//go:embed build/appicon.png

View File

@ -2,10 +2,7 @@
"$schema": "https://wails.io/schemas/config.v2.json",
"name": "snackbar",
"outputfilename": "snackbar",
"frontend:install": "npm install",
"frontend:build": "npm run build",
"frontend:dev:watcher": "npm run dev",
"frontend:dev:serverUrl": "auto",
"wailsjsdir": "./frontend",
"preBuildHooks": {
"*/*": "templ generate"
},