mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
Adds a package.json with basic start / setup npm scripts to assist non golang developers working on an end project.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"postinstall": "npm run setup && cd frontend && npm install",
|
||||
"build": "wails build --clean",
|
||||
"build:macos": "npm run build -- --platform darwin/universal",
|
||||
"build:macos-arm": "npm run build -- --platform darwin/arm64",
|
||||
"build:macos-intel": "npm run build -- --platform darwin",
|
||||
"build:windows": "npm run build -- --platform windows/amd64",
|
||||
"setup": "go install github.com/wailsapp/wails/v2/cmd/wails@latest"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user