Skip to content

Commit d43977c

Browse files
Update commands README.md (#8)
* Update README.md * style: remove extra space --------- Co-authored-by: Wesley B <62723358+wesleyboar@users.noreply.github.com>
1 parent 50ff548 commit d43977c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The components are [React components](https://react.dev/learn) that should be [w
8585
3. Start demo:
8686

8787
```sh
88-
npx nx serve core-components
88+
npm start
8989
```
9090

9191
For more commands, see [Commands](#commands).
@@ -128,7 +128,7 @@ For more commands, see [Commands](#commands).
128128

129129
### Unit Tests
130130

131-
Run `nx test core-components` to execute the unit tests via [Vitest](https://vitest.dev/).
131+
Run `npm test` to execute the unit tests via [Vitest](https://vitest.dev/).
132132

133133
### End-to-End Tests
134134

@@ -140,10 +140,9 @@ Perform manually by installing and testing the components in a separate resposit
140140

141141
| command | task | service |
142142
| ---------------------------------------- | ------------------ | -------------------------------------- |
143-
| `npx nx serve core-components` | start demo | [Storybook](https://storybook.js.org/) |
144-
| `npx nx build core-components` | build components | [Vite](https://vitejs.dev/) |
145-
| `npx nx build-storybook core-components` | build demo | [Storybook](https://storybook.js.org/) |
146-
| `npx nx test core-components` | execute unit tests | [Vitest](https://vitest.dev/) |
143+
| `npm run start` | start demo | [Storybook](https://storybook.js.org/) |
144+
| `npm run build` | build components | [Vite](https://vitejs.dev/) |
145+
| `npm run test` | execute unit tests | [Vitest](https://vitest.dev/) |
147146

148147
<!-- Link Aliases -->
149148

0 commit comments

Comments
 (0)