Skip to content

About

CLI to scaffold fully configured React libraries.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

create-react-library

A CLI tool to quickly scaffold React libraries with TypeScript and JavaScript templates.

⚠️ Important Notice

This package is under active development. Upcoming versions will include:

  • More intuitive template generation
  • Enhanced customization options

Please report any issues or suggestions in our GitHub repository.

Installation

You can use this tool directly with npx (no installation required):

npx @atsyntax/create-react-library my-library

Or install it globally:

npm install -g @atsyntax/create-react-library

Usage

Create a new React library:

npx @atsyntax/create-react-library my-awesome-library

The CLI will prompt you to choose:

  • Library name
  • TypeScript or JavaScript template
  • Package manager (npm/yarn)
  • Author information

Features

  • 🚀 Quick setup with modern tooling
  • 📦 TypeScript and JavaScript templates
  • 🧪 Pre-configured testing with Jest
  • 📚 ESLint and Prettier configuration
  • 🔧 Rollup bundling setup
  • 📝 Ready-to-use package.json
  • 📱 Example project setup for testing your library

Templates

TypeScript Template

  • TypeScript configuration
  • Declaration files generation
  • Modern ES modules support
  • Example project to test your library

JavaScript Template

  • Babel configuration
  • ES6+ support
  • CommonJS and ES modules support
  • Example project to test your library

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT License

About

CLI to scaffold fully configured React libraries.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages