boilerplate-webapp
v1.0.1
Published
Web Application Boilerplate
Readme
Boilerplate WebApp is a web application boilerplate using:
- webpack
- yarn (pnp)
- react
- typescript
- material-ui
- i18next (localization)
- jest (unit testing)
- playwright (e2e testing)
- stylus
- eslint
- prettier
Table of Contents
Building
To build boilerplate-webapp execute:
# install all the required dependencies
yarn install
# generate vs code sdk integrations (recommended for PnP)
yarn dlx @yarnpkg/sdks vscodeRunning
To run the application execute:
yarn startThis runs webpack-dev-server and opens app the app in a new browser window.
Tests
To perform complete run of unit tests execute:
yarn testIf you only want to run a specific test suite you can specify it with -f argument like:
yarn test -f 'src/App.test.tsx'To perform complete run of end2end tests using Playwright execute:
yarn playwright:testIf you only want to run a specific test suite you can specify it with -f argument like:
yarn playwright:test 'tests/application.spec.ts'License
This project is licensed under the MIT License.
