Skip to content

Commit d78d6d9

Browse files
Merge pull request #96 from Web-Dev-Path/chore/update-yarn-commands-mac
Update local commands for macOS
2 parents fe3b0ba + bad643b commit d78d6d9

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3232
- normalized font sizes
3333
- installed yarn
3434
- normalized buttons' and links' styling
35+
- updated `package.json` commands for macOs

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ This is how to get started locally:
2929

3030
- [Git clone this repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository-from-github/cloning-a-repository)
3131
- Run `yarn install`
32-
- Run `yarn run dev`
32+
- Run `yarn run dev` (for Windows)
33+
- Run `yarn run dev-mac` (for macOS)
3334
- [Branch out](https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging) by following the structure `feature/add-your-branch-name` or `chore/add-your-branch-name` or `fix/add-your-branch-name` and submit your [PR](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)
3435

3536
<br />

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
"version": "1.0.0",
44
"private": true,
55
"scripts": {
6-
"dev": "yarn run open-browser && next dev -p 3010",
7-
"open-browser": "start http://localhost:3010",
6+
"dev": "yarn run open-browser-win && next dev -p 3010",
7+
"dev-mac": "yarn run open-browser-mac && next dev -p 3010",
8+
"open-browser-win": "start http://localhost:3010",
9+
"open-browser-mac": "open http://localhost:3010",
810
"build": "next build",
911
"start": "next start"
1012
},

0 commit comments

Comments
 (0)