fix: use npm on makefile
This commit is contained in:
8
makefile
8
makefile
@@ -2,11 +2,11 @@ PORT?=8080
|
|||||||
|
|
||||||
lint: build/templ
|
lint: build/templ
|
||||||
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1 run
|
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1 run
|
||||||
bun x eslint .
|
npx eslint .
|
||||||
|
|
||||||
lint/fix: build/templ
|
lint/fix: build/templ
|
||||||
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1 run
|
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1 run
|
||||||
bun x eslint --fix .
|
npx eslint --fix .
|
||||||
|
|
||||||
fmt: build/templ
|
fmt: build/templ
|
||||||
go fmt ./.
|
go fmt ./.
|
||||||
@@ -51,7 +51,7 @@ dev/sync_assets:
|
|||||||
--build.include_ext "js,css"
|
--build.include_ext "js,css"
|
||||||
|
|
||||||
dev/assets/css:
|
dev/assets/css:
|
||||||
bun x unocss --watch
|
npm run unocss -- --watch
|
||||||
|
|
||||||
dev/web:
|
dev/web:
|
||||||
go run github.com/joho/godotenv/cmd/godotenv@v1.5.1 \
|
go run github.com/joho/godotenv/cmd/godotenv@v1.5.1 \
|
||||||
@@ -68,7 +68,7 @@ build/bin:
|
|||||||
go build -o ./.dist/bin .
|
go build -o ./.dist/bin .
|
||||||
|
|
||||||
build/assets:
|
build/assets:
|
||||||
npx unocss
|
npm run unocss
|
||||||
|
|
||||||
build: build/templ build/assets build/bin
|
build: build/templ build/assets build/bin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user