Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ricardo-melo-martins/typescript-skeleton-playwright

🎭 RMM 🎭 This is a basic framework, a minimalist template using Typescript. It assists me in the quick start to create tests, POC or projects.
https://github.com/ricardo-melo-martins/typescript-skeleton-playwright

nodejs nodemon playwright playwright-javascript playwright-typescript productivity skeleton template typescript typescript-skeleton vscode

Last synced: about 2 months ago
JSON representation

🎭 RMM 🎭 This is a basic framework, a minimalist template using Typescript. It assists me in the quick start to create tests, POC or projects.

Awesome Lists containing this project

README

        

### âš¡ RMM âš¡

# Typescript Skeleton Playwright 🎭

This is a basic framework, a minimalist template using Typescript. It assists me in the quick start to create tests, POC or projects.

## Features

- TypeScript 5.3+ is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.
- ESLint statically analyzes your code to quickly find problems. It is built into most text editors and you can run ESLint as part of your continuous integration pipeline.
- Prettier is an opinionated code formatter.
- Nodemon is a utility, that will monitor for any changes in your source and automatically restart your server. Perfect for development.
- @types/node - This package contains type definitions for node (https://nodejs.org/).
- Playwright enables reliable end-to-end testing for modern web apps.

## Install

Install npm dependencies

```bash
$ npm i
```

Install supported browsers for Playwright
```bash
$ npx playwright install
```

## Package.json

Available commands for:

### Build
- `build` - Build one or more projects and their dependencies
- `build:watch` - Watch input files
- `build:release` - Build specified settings on `tsconfig.release.json`
- `prebuild` - Checks possibility

### Execution

- `start` - Run static compiled on path `dist`
- `start:dev` - Run nodemon on path `src`
- `start:prod` - Run production env on path `dist`

### Code style
- `format` - Prettier format code style
- `lint` - ESLint code format verify
- `lint:fix` - ESLint verify and fix

### Clean
- `clean` - Remove cache, coverage and dist folder

### Test
- `test` - Run all tests (src, e2e)
- `test:cov` - show test coverage information reported in the output

## System requirements

- Node 20+
- Typescript Cli
- Vscode `(Optional)` This template has productivity-focused settings, snippets, and extensions.

## License

Typescript Skeleton Playwright is [MIT licensed](LICENSE).

## Author

Created with fun by [Ricardo Melo Martins](https://github.com/ricardo-melo-martins), Thanks! :heart:.