Skip to content

Commit d12b52e

Browse files
committed
docs: fix name of script in README
1 parent 61951f6 commit d12b52e

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -20,39 +20,46 @@ A command-line tool for analyzing React component usage hierarchies in your proj
2020
## Installation
2121

2222
1. Clone the repository:
23+
2324
```bash
2425
git clone <your-repo-url>
2526
cd react-component-usage-finder
2627
```
2728

2829
2. Install dependencies:
30+
2931
```bash
3032
npm install
3133
```
3234

3335
3. Make the script executable:
36+
3437
```bash
35-
chmod +x index.js
38+
chmod +x main.js
3639
```
3740

3841
4. Optional: Install globally to use from anywhere:
42+
3943
```bash
4044
npm install -g .
4145
```
4246

4347
## Usage
4448

4549
### Basic Usage
50+
4651
```bash
47-
node index.js -c ComponentName
52+
node main.js -c ComponentName
4853
```
4954

5055
### Specify Directory
56+
5157
```bash
52-
node index.js -d /path/to/project -c ComponentName
58+
node main.js -d /path/to/project -c ComponentName
5359
```
5460

5561
### If Installed Globally
62+
5663
```bash
5764
react-component-usage-finder -c ComponentName
5865
```

0 commit comments

Comments
 (0)