fix: use npm on makefile

This commit is contained in:
Guz
2024-12-16 14:18:06 -03:00
parent ea60a2d862
commit f2d377427e

View File

@@ -2,11 +2,11 @@ PORT?=8080
lint: build/templ
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1 run
bun x eslint .
npx eslint .
lint/fix: build/templ
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1 run
bun x eslint --fix .
npx eslint --fix .
fmt: build/templ
go fmt ./.
@@ -51,7 +51,7 @@ dev/sync_assets:
--build.include_ext "js,css"
dev/assets/css:
bun x unocss --watch
npm run unocss -- --watch
dev/web:
go run github.com/joho/godotenv/cmd/godotenv@v1.5.1 \
@@ -68,7 +68,7 @@ build/bin:
go build -o ./.dist/bin .
build/assets:
npx unocss
npm run unocss
build: build/templ build/assets build/bin