git.iko.soy/rowtype-yoga/ry-starter-spa
on main help sign in
Add yarn dev dependency (#18)
commitb54b0cf3c7a2f6eec325f88468068858863ccb7e authorJan Schulte <52407559+hivemind-js@users.noreply.github.com> dateWed 5 Aug 2020, 18:07 (6 years ago) parent75726a9
2 files changed+6−9
README.md+4−8 package.json+2−1
README.md+4−8
@@ -8,10 +8,6 @@
88
99Any real adventurer prepares their trip. For this trip you need to equip your computer with the following supplies:
1010 - [NodeJS](https://nodejs.org/en/download/)
11− - Yarn:
12− ```sh
13− npm install -g yarn
14− ```
1511
1612# 🖥 Developing
1713We recommend using Storybook during development but you can also locally start the application.
@@ -22,21 +18,21 @@ A very nice workflow for building frontends is to use [Storybook](https://storyb
2218To run storybook run:
2319
2420```sh
25−yarn storybook
21+npx yarn storybook
2622```
2723
2824## 🏃🏽‍♀️ Running the whole application
2925To see the project in your browser run:
3026
3127```sh
32−yarn start
28+npx yarn start
3329```
3430
3531# 🧪 Testing
3632To run the tests issue this command
3733
3834```sh
39−yarn test
35+npx yarn test
4036```
4137
4238# 🛠 Building
@@ -49,7 +45,7 @@ You need to equip your computer with [Zephyr](https://github.com/coot/zephyr/rel
4945To create a bundle that is essentially an `index.html` and an `index.js` file run the following command:
5046
5147```sh
52−yarn bundle
48+npx yarn bundle
5349```
5450
5551# 👟 Running
package.json+2−1
@@ -28,7 +28,8 @@
2828 "webpack": "^4.43.0",
2929 "webpack-cli": "^3.3.12",
3030 "webpack-dev-server": "^3.11.0",
31− "webpack-merge": "^5.0.9"
31+ "webpack-merge": "^5.0.9",
32+ "yarn": "^1.22.4"
3233 },
3334 "scripts": {
3435 "clean": "rimraf node_modules output dce-output .spago dist/* *.lock dist",