Skip to content

Commit

Permalink
chore: change npm scripts command
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrlv committed Apr 1, 2022
1 parent 505fc2d commit 3af3e78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ To preview the built project run:

```bash
npm run build
npm run kirby
npm run serve
```

The preview will be available at `localhost:8080`.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"scripts": {
"setup": "pnpm install && cd www && composer install",
"dev": "pnpm run kirby & touch src/.lock && vite",
"kirby": "php -S localhost:8080 -t www/public www/kirby/router.php",
"dev": "pnpm run serve & touch src/.lock && vite",
"serve": "php -S localhost:8080 -t www/public www/kirby/router.php",
"build": "rm -f src/.lock && vite build"
},
"devDependencies": {
Expand Down

0 comments on commit 3af3e78

Please sign in to comment.