Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.4 KB

File metadata and controls

43 lines (33 loc) · 1.4 KB

ReactStream Project Structure

Here's the complete project structure with all required files:

reactstream/
├── index.js                  # Main entry point
├── src/                      # Source files
│   └── reactstream.js        # Core implementation
├── commands/                 # Command implementations
│   ├── analyze.js            # Analysis command
│   └── serve.js              # Development server command
├── bin/                      # Binary executables
│   ├── reactstream.js        # Main binary 
│   └── reactstream-analyze.js # Analyzer binary
├── package.json              # Project metadata and dependencies
├── .eslintrc.js              # ESLint configuration
├── README.md                 # Documentation
└── DOCS.md                   # Detailed documentation

Key Files Overview

1. index.js

The main entry point that loads src/reactstream.js.

2. src/reactstream.js

Central implementation file that handles command routing.

3. commands/analyze.js

The React component analyzer implementation.

4. commands/serve.js

The development server implementation.

5. bin/reactstream.js

Executable script for the main command.

6. bin/reactstream-analyze.js

Executable script for the analyze command.

7. package.json

Project configuration with all necessary dependencies and scripts.