buster/web/Makefile

34 lines
512 B
Makefile
Raw Permalink Normal View History

dev:
rm -rf ./next && npm i && npm run dev
build:
2025-03-08 07:02:56 +08:00
rm -rf ./next && npm i && npm run build
start:
2025-04-12 06:40:15 +08:00
npm i && npm run build && npm run start
start-fast:
@if [ ! -d "./.next" ]; then \
echo "No build found. Installing dependencies and building..."; \
npm i && npm run build && npm run start; \
else \
echo "Using existing build..."; \
npm run start; \
fi
fast:
2025-02-24 00:31:10 +08:00
npm run dev
build-storybook:
npm run build-storybook
2025-03-04 00:40:02 +08:00
storybook:
2025-03-04 00:59:01 +08:00
npm run storybook
2025-02-24 00:31:10 +08:00
2025-03-08 07:02:56 +08:00
lint:
npm run lint
lint-fix:
npm run lint-fix