A script to set up a Next.js project with additional configurations by separatrix
- Open your terminal
- Run the following command, replacing with your desired project name:
npx nextjs-setup <project-name>
#or
npm run build
npm run start <project-name>
- The script will create a new Next.js project with the specified name and apply additional configurations
- Sets up a new Next.js project with TypeScript and ESLint
- Installs additional packages like Redux Toolkit, axios, date-fns, etc
- Configures Stylelint and updates tsconfig.json
- Creates necessary directories and files
- Updates package.json with additional scripts