@afifu/setup
v1.1.3
Published
CLI to create Next.js project or setup existing project
Downloads
26
Readme
CLI to create Next.js project or setup existing project.
npx @afifu/setup
There are 2 options:
- Create Next.js TS project
- Add additional setup to current project
Select one of them and it will take care of it.
Create Next.js App
Run the npx command and choose "Create Next.js TS project".
Or you can simply run this command,
npx @afifu/setup <app-name>
// Example: npx @afifu/setup my-awesome-app
It will create Next.js TypeScript project cloned from Next.js TS Starter Template, which is packed with:
- ⚡️ Next.js 12
- ⚛️ React 18
- 🎐 Tailwind CSS 3
- 🪄 Prettier — Format your code automatically, this will also run on save
- 🧼 ESLint — Find & fix problems in your code, and auto sort your imports
- 🐶 Husky & Lint Staged — Check & fix code when commit, block commit if bad code detected
- 📜 Commit Lint — Make sure the commit message follows the conventional commit
- ⚙️ Github Actions — Check your code on push & pull-request
- 🤖 Dependabot — Create pull-request to update your dependencies
- 🔗 Absolute Import — Import modules using
@/
prefix - 💟 React Icons — Include popular icons in your React projects easily
- 🌟 React Power-Ups — Collection of React hooks to speed-up your app development
Setup Existing Project
Add these to your existing project easily: