chore: use npx (#66)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
John Olheiser 2023-06-21 11:18:07 -05:00 committed by GitHub
parent 0936cbc455
commit 98c5cd1794
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ install:
build_frontend: build_frontend:
@echo "Building frontend assets..." @echo "Building frontend assets..."
./node_modules/.bin/vite build npx vite build
build_backend: build_backend:
@echo "Building Opengist binary..." @echo "Building Opengist binary..."
@ -27,11 +27,11 @@ build_docker:
watch_frontend: watch_frontend:
@echo "Building frontend assets..." @echo "Building frontend assets..."
./node_modules/.bin/vite dev --port 16157 npx vite dev --port 16157
watch_backend: watch_backend:
@echo "Building Opengist binary..." @echo "Building Opengist binary..."
OG_DEV=1 ./node_modules/.bin/nodemon --watch '**/*' -e html,yml,go,js --signal SIGTERM --exec 'go run . --config config.yml' OG_DEV=1 npx nodemon --watch '**/*' -e html,yml,go,js --signal SIGTERM --exec 'go run . --config config.yml'
watch: watch:
@bash ./watch.sh @bash ./watch.sh