Skip to content

Commit

Permalink
yarn -> pnpm.
Browse files Browse the repository at this point in the history
  • Loading branch information
luanbt21 committed Nov 19, 2022
1 parent 6f24e25 commit 9baa241
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
engine-strict=true
enable-pre-post-scripts=true
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@

## Developing

Once you've created a project and installed dependencies with `yarn install` start a development server:
Once you've created a project and installed dependencies with `pnpm install` start a development server:

```bash
yarn dev
pnpm dev

# or start the server and open the app in a new browser tab
yarn dev -- --open
pnpm dev -- --open
```

For write translation:

```bash
yarn typesafe-i18n
pnpm typesafe-i18n
```

## Building

To create a production version of your app:

```bash
yarn build
pnpm build
```

You can preview the production build with `yarn preview`.
You can preview the production build with `pnpm preview`.

> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"dev": "concurrently 'vite --host' 'typesafe-i18n'",
"generate": "prisma generate",
"prebuild": "yarn generate",
"prebuild": "prisma generate",
"build": "vite build",
"package": "svelte-kit package",
"preview": "vite preview",
Expand Down

0 comments on commit 9baa241

Please sign in to comment.