Skip to content

Commit

Permalink
added individual dev scripts (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hallidayo authored Jan 3, 2024
1 parent 19e3802 commit a639626
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 13 additions & 1 deletion development.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ You can run all the packages in development mode using the following command:
pnpm dev
```

Or you can run development for the individual packages using the following command:

```bash
pnpm dev:[dirname]
```

For `React` it would be:

```bash
pnpm dev:react
```

### Build

You can build all packages using the following command:
Expand All @@ -37,7 +49,7 @@ Or you can run build for the individual packages using the following command:
pnpm build:[dirname]
```

For react it would be
For `React` it would be:

```bash
pnpm build:react
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"build:example:solid": "turbo run build:example --filter=@example/solidjs",
"build:example:svelte": "turbo run build:example --filter=@example/svelte",
"dev": "turbo run dev --parallel",
"dev:react": "turbo run dev --filter=@example/react",
"dev:solid": "turbo run dev --filter=@example/solidjs",
"dev:svelte": "turbo run dev --filter=@example/svelte",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"clean:all": "turbo run clean:all",
Expand Down

0 comments on commit a639626

Please sign in to comment.