Configuration files
This section outlines the configuration files available in your project. These files are crucial for managing and customizing the build system, ensuring that the development environment is tailored to meet specific requirements.
Configuration files overview
File name | Description |
---|---|
next.config.mjs | Configuration file for Next.js, allowing customization of the build process, webpack configuration, routing, and more. It defines essential build settings and can be used to configure various Next.js features like image optimization, internationalization, and custom webpack configurations. |
package.json | Manages the project's metadata, scripts, and dependencies, serving as a manifest file for Node.js projects. Essential for npm to identify the project's dependencies, scripts, and version info. |
.editorconfig | Helps maintain consistent coding styles for multiple developers working across various editors and IDEs. It supports a number of properties for setting indent style, charset, and more. For detailed configuration, visit the EditorConfig Documentation. |
tsconfig.json | Configuration file for TypeScript compiler options and project settings. It defines how TypeScript should compile your code and which features to support. For more information, see the TypeScript Documentation. |
.gitignore | Specifies files and directories that Git should ignore. Helps prevent unneeded files from being committed to your repository. |
.eslintrc.json | Sets up ESLint rules to enforce coding styles and catch errors in JavaScript and TypeScript. Detailed documentation is available on ESLint's Configuring Guide. |
.prettierrc | Defines code formatting rules for Prettier, ensuring consistent style across your project. For a detailed list of configurable options, refer to the Prettier Options Documentation. |
.prettierignore | Lists the files and directories that Prettier should ignore, similar to .gitignore but specifically for code formatting. |
.stylelintrc.json | Provides Stylelint configurations to maintain consistent CSS or SCSS syntax in your project. You can explore more about configuring Stylelint and its rules on the Stylelint Rules. |
.stylelintignore | Lists the files and directories that Stylelint should ignore when checking CSS/SCSS files, similar to .gitignore but specifically for style linting. |
scripts/icon-font.mjs | A utility script that generates icon fonts from SVG files. This is used during the build process to create custom icon fonts for the template. |
manifest.ts | Defines the Progressive Web App (PWA) manifest for the application. Located in the src/app directory, this file exports the web app manifest configuration that determines how your app appears when installed on a user's device. |