Skip to content

Commit

Permalink
chore: add root preview script
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjavi committed Aug 8, 2023
1 parent 2893e37 commit 26837cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"prettier-check": "prettier --check .",
"prettier-fix": "prettier --write .",
"pretty": "pnpm run format",
"preview": "pnpm build && npx -y http-server ./packages/examples/react/dist",
"publint": "turbo publint-check",
"test": "jest --passWithNoTests",
"test:ci": "jest --ci --passWithNoTests --coverage",
Expand Down
5 changes: 1 addition & 4 deletions packages/examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
"type": "module",
"scripts": {
"build": "vite build",
"dev": "vite --port=7707",
"preview": "vite build && vite preview",
"preview-static": "vite build && open http://localhost:8080 && npx -y http-server ./dist",
"storylite": "open http://localhost:7707 && vite --port=7707"
"dev": "vite --port=7707"
},
"dependencies": {
"@storylite/storylite": "workspace:*",
Expand Down

0 comments on commit 26837cf

Please sign in to comment.