create-app-setup
v0.1.0
Published
A CLI tool to quickly set up frontend & backend projects with various frameworks.
Maintainers
Readme
create-app-setup
A CLI tool to quickly set up frontend & backend projects with various frameworks.
create-app-setup simplifies the process of setting up new projects by providing an easy-to-use command-line interface that can create project templates with a variety of frameworks and configurations.
Features
- Quickly set up frontend and backend projects.
- Supports popular frameworks like React, Next.js, Vite, etc.
- Configurable setup options like TypeScript, ESLint, Prettier, Jest, Storybook, and more.
- Cross-platform support (Windows, Linux, macOS).
- Customizable configurations for various tech stacks.
Installation
You can install create-app-setup globally using npm or yarn:
npm install -g create-app-setupOr use it directly without installing globally:
npx create-app-setupUsage
Once installed, you can use create-app-setup to initialize a new project. The CLI will guide you through various configuration options to set up your project.
Example Command:
create-app-setup my-projectThis command will start the setup for a new project called my-project. The tool will prompt you to choose frameworks, languages, package managers, and more.
Setup Options
- Choose the Framework: React, Next.js, Vite, etc.
- Choose the Language: JavaScript or TypeScript.
- Add ESLint: Choose whether to add ESLint for linting.
- Add Prettier: Choose whether to add Prettier for code formatting.
- Add Storybook: Enable Storybook for component development.
- Testing Setup: Choose your testing framework, like Jest.
- Choose Package Manager: npm, yarn, or pnpm.
- Choose Compiler: Babel, SWC, etc.
Once the setup is complete, create-app-setup will create a project directory and install the necessary dependencies based on your selections.
CLI Commands
create-app-setup <project-name>
Starts the setup for a new project. It will prompt you for options and then generate the project files.
Example:
create-app-setup my-nextjs-appThis command will create a my-nextjs-app directory and start the setup process.
npm link
If you are working on the development version of create-app-setup, you can link it to your local npm setup for testing.
npm run link-clinpm run build
Build the project (TypeScript compilation, etc.).
npm run buildDevelopment
If you want to contribute or develop the tool locally, follow these steps:
Clone the repository:
git clone https://github.com/Akshaythakur766/create-app-setup.gitInstall dependencies:
npm installBuild the project:
npm run buildLink the project for local development:
npm run link-cliRun the tool locally:
npx create-app-setup my-local-project
License
MIT License. See LICENSE for details.
