go-view/Makefile
2022-06-15 17:30:24 +08:00

25 lines
427 B
Makefile

.PHONY: dist test
default: help
dev:
npm run dev
dist:
npm run build
view:
npm run preview
lint:
npm run lint
new:
npm run new
help:
@echo " make dev [npm run dev] 开发模式"
@echo " make dist [npm run build] 编译模式"
@echo " make view [npm run preview] 预览打包文件"
@echo " make new [npm run lint] 通过自动化流程创建代码"
@echo " make lint [npm run new] 格式校验"