Skip to content

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

License

Notifications You must be signed in to change notification settings

ricardo-melo-martins/typescript-skeleton-playwright

Repository files navigation

⚡ 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

$ npm i

Install supported browsers for Playwright

$ 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

License

Typescript Skeleton Playwright is MIT licensed.

Author

Created with fun by Ricardo Melo Martins, Thanks! ❤️.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published