Skip to content

Commit

Permalink
Merge pull request #22 from pipecat-ai/mb/fix-scripts
Browse files Browse the repository at this point in the history
Fix package.json scripts
  • Loading branch information
markbackman authored Nov 21, 2024
2 parents 94f3db2 + 4de9d5d commit c3f8126
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"version": "1.0.0",
"type": "module",
"scripts": {
"start": "vite",
"dev": "vite",
"build": "vite build",
"start": "npm run setup && vite",
"dev": "npm run setup && vite",
"build": "npm run setup && vite build",
"preview": "vite preview",
"preview:prod": "vite preview --base=/pipecat-flows/",
"setup": "mkdir -p public/lib/litegraph && cp node_modules/litegraph.js/build/litegraph.js public/lib/litegraph/ && cp node_modules/litegraph.js/css/litegraph.css public/lib/litegraph/",
"watch": "vite build --watch",
"setup": "mkdir -p public/lib/litegraph && cp node_modules/litegraph.js/build/litegraph.js public/lib/litegraph/ && cp node_modules/litegraph.js/css/litegraph.css public/lib/litegraph/ || echo 'Setup failed. Please ensure you have run npm install'",
"watch": "npm run setup && vite build --watch",
"lint": "eslint js/",
"lint:fix": "eslint js/ --fix",
"format": "prettier --write .",
Expand Down

0 comments on commit c3f8126

Please sign in to comment.