1.4.1 ⢠Published 5 months ago
@softfix/frontend-structurecli v1.4.1
Softfix Frontend Structure CLI
š Description
Softfix Frontend Structure CLI is a command-line tool that helps you quickly scaffold a clean and scalable folder structure for React and Next.js projects using TypeScript and ES6 modules. It follows a feature-based architecture to enhance maintainability and scalability.
š¦ Installation
Install the CLI globally using npm:
npx @softfix/frontend-structurecli
š” Steps:
- Run the command above.
- Enter your desired project name when prompted.
- The tool will create a fully structured project folder with a
README.md
inside.
š Folder Structure Example
my-project-name/
āāā public/
ā āāā assets/
āāā src/
ā āāā app/
ā ā āāā routes/
ā ā āāā app.tsx
ā ā āāā provider.tsx
ā ā āāā router.tsx
ā āāā components/
ā āāā config/
ā āāā features/
ā ā āāā awesome-feature/
ā ā āāā api/
ā ā āāā assets/
ā ā āāā components/
ā ā āāā hooks/
ā ā āāā stores/
ā ā āāā types/
ā ā āāā utils/
ā āāā hooks/
ā āāā lib/
ā āāā stores/
ā āāā testing/
ā āāā types/
ā āāā utils/
āāā README.md
š License
MIT License
š Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
š Links
- npm: @softfix/frontend-structurecli
- GitHub: Repository Link (replace with actual repo link if available)