You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
427 B
Makefile
25 lines
427 B
Makefile
5 months ago
|
.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] 格式校验"
|