Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jagoda11/angular-template
๐ Angular Template Project: A starter template for Angular 18 with ESLint, Prettier, TypeScript, and testing setup. ๐
https://github.com/jagoda11/angular-template
angular angular18 eslint-config jasmine karma typescript
Last synced: about 1 month ago
JSON representation
๐ Angular Template Project: A starter template for Angular 18 with ESLint, Prettier, TypeScript, and testing setup. ๐
- Host: GitHub
- URL: https://github.com/jagoda11/angular-template
- Owner: Jagoda11
- License: other
- Created: 2024-11-12T18:06:18.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-12T18:56:12.000Z (about 1 month ago)
- Last Synced: 2024-11-12T19:19:57.235Z (about 1 month ago)
- Topics: angular, angular18, eslint-config, jasmine, karma, typescript
- Language: HTML
- Homepage:
- Size: 177 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Angular Template Project ๐
![License: Commercial](https://img.shields.io/badge/license-Commercial-pink)
![TypeScript](https://img.shields.io/github/package-json/dependency-version/Jagoda11/angular-template/dev/typescript?label=TypeScript)
![Angular](https://img.shields.io/github/package-json/dependency-version/Jagoda11/angular-template/@angular/core?label=Angular)A starter template for Angular projects with ESLint, Prettier, and custom scripts. This template is designed to help you kickstart your Angular applications with the latest configurations and best practices. ๐
## Features โจ
- **Angular**: Latest version of Angular for building modern web applications.
- **ESLint**: Integrated ESLint for code linting and maintaining code quality.
- **Prettier**: Code formatting with Prettier to ensure consistent code style.
- **TypeScript**: Strongly typed JavaScript for better development experience.
- **Karma & Jasmine**: Testing setup with Karma and Jasmine for unit testing.## Getting Started ๐ ๏ธ
### Prerequisites
- Node.js (v23.1.0 or higher)
- npm (v10.9.0 or higher)### Installation
**Clone the repository**:
```bash
git clone https://github.com/Jagoda11/angular-template.git
cd angular-template
```**Install dependencies**:
```bash
npm install
```**Running the Development Server**
To start the development server, run:```bash
npm start
```This will start the Angular development server and you can view your application at .
**Building the Project**
To build the project,run:```bash
npm run build
```This will create a production build of your application in the dist/ directory.
Running Tests
To run the tests, use:```bash
npm test
```This will execute the unit tests using Karma and Jasmine.
**Linting the Code**
To lint the code, run:```bash
npm run lint
```This will run ESLint on your project to check for code quality issues.
**Formatting the Code**
To format the code using Prettier, run:```bash
npm run format
```This will format your code according to the Prettier configuration.
**Cleaning Up**
To clean up the project (remove node_modules, dist, and package-lock.json), run:```bash
npm run clean
```**Custom Scripts**
**Start:** npm start - ๐ Starting development server...**Build:** npm run build - ๐๏ธ Building project...
**Watch:** npm run watch - ๐ Watching for changes...
**Test:** npm test - ๐งช Running tests...
**Lint:** npm run lint - ๐ Linting...
**Clean:** npm run clean - ๐งฝ Cleaning up...
**Contributing** ๐ค
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the terms of the Commercial License Agreement. For more details, see the [LICENSE](LICENSE.md) file.
ยฉ 2024 Jagoda11