Skip to content

Commit

Permalink
Update prebuild script to include 'pnpm getphotos' step
Browse files Browse the repository at this point in the history
  • Loading branch information
hello8693 committed Oct 7, 2024
1 parent 280d98d commit 2bca6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"getphotos": "rm -rf temp_repo public/imgs && git clone https://github.com/ClassIsland/classisland-hub temp_repo && mkdir public/imgs && cp -r temp_repo/images/* public/imgs/ && rm -rf temp_repo",
"dev": "pnpm getphotos && node generateImageList.cjs && vite",
"prebuild": "node generateImageList.cjs",
"prebuild": "pnpm getphotos && node generateImageList.cjs",
"build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"build-only": "vite build",
Expand Down

0 comments on commit 2bca6f0

Please sign in to comment.