Skip to content

Commit 009ef9e

Browse files
author
Mark Murray
committed
update readme
1 parent 7d726af commit 009ef9e

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

README.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,10 @@ ___
5757

5858
A simple bash script has been added to the bin folder to quickly create react components with test files.
5959

60-
To run, execute:
60+
To run, execute `node ./bin/comp` and follow the instructions.
6161

62-
```
63-
./bin/comp.sh (name)
64-
```
62+
You will be prompted to give your component a name, choose between stateful and stateless, choose the destination and whether to create a test file.
6563

66-
This will create a folder for the component in `assets/components` with two files inside:
64+
This will create a folder for the component with two files:
6765
- {ComponentName}.jsx
6866
- {ComponentName}.test.js
69-
70-
___
71-
72-
### Testing
73-
74-
To run the react tests using jest:
75-
```shell
76-
npm test
77-
```

0 commit comments

Comments
 (0)