Skip to content

Commit

Permalink
chore(package.json): add StackBlitz configuration for project setup
Browse files Browse the repository at this point in the history
Added a `stackblitz` section in `package.json` to streamline the
project setup process. This includes a `startCommand` to install
dependencies and build the packages, along with setting the
environment variable `PORT` to `3000`. This change facilitates
easier collaboration and development on StackBlitz.
s00d committed Jan 28, 2025
1 parent 280a0cc commit 94ddf4d
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .stackblitzrc

This file was deleted.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -71,6 +71,12 @@
"docs:clean-dev": "vitepress dev docs --clean-cache",
"docs:preview": "vitepress preview docs"
},
"stackblitz": {
"startCommand": "pnpm install && pnpm --filter \"./packages/**\" run build && pnpm run dev:prepare && pnpm run dev",
"env": {
"PORT": "3000"
}
},
"dependencies": {
"@nuxt/devtools-kit": "^1.7.0",
"@nuxt/kit": "^3.15.3",

0 comments on commit 94ddf4d

Please sign in to comment.