This repository is a quick-start template for vanilla JavaScript projects. It includes a pre-configured setup for Webpack, Babel, ESLint, Prettier, and testing with Jest.
- Webpack: Module bundling and asset management.
- Babel: JavaScript transpilation for using the latest JS features.
- ESLint: Code quality and consistency checks, configured with Airbnb's base guide.
- Prettier: Automated code formatting.
- Jest: Testing framework for JavaScript.
- Clone the Template: Click on the 'use this template' button on the top right side of the repo.
- Install Dependencies: Run
npm installto install all dependencies. - Update to Latest Package Versions (Optional): Run
npm update. - Development Server: Use
npm run devto start the webpack development server. - Building: Run
npm run buildto create a production build. - Linting: Use
npm run lintto run ESLint using the airbnb style guide. - Formatting: Run
npm run prettierto format the codebase. - Testing: Run
npm testto run tests with Jest.