mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 08:41:37 +00:00
chore(dev): update makefile
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
PACKAGE_MANAGER = pnpm
|
||||
NVM = nvm
|
||||
|
||||
all: build
|
||||
|
||||
nvm:
|
||||
. ${NVM_DIR}/nvm.sh && nvm use && $(CMD)
|
||||
|
||||
deps:
|
||||
make nvm CMD="$(PACKAGE_MANAGER) i"
|
||||
|
||||
build:
|
||||
make nvm CMD="$(PACKAGE_MANAGER) i && $(PACKAGE_MANAGER) build"
|
||||
|
||||
.PHONY: all
|
@ -11,7 +11,7 @@
|
||||
"lint": "next lint",
|
||||
"pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json,md,mdx,css}\" --ignore-unknown --plugin=prettier-plugin-organize-imports",
|
||||
"pretty-check": "prettier \"./**/*.{js,jsx,ts,tsx,json,md,mdx,css}\" --ignore-unknown --check --plugin=prettier-plugin-organize-imports",
|
||||
"prepare": "husky install"
|
||||
"prepare": "husky"
|
||||
},
|
||||
"dependencies": {
|
||||
"@catppuccin/highlightjs": "^0.1.4",
|
||||
|
Reference in New Issue
Block a user