@mediatool/frontend-tools
Common configs and tooling for bundling, testing, linting frontend modules
Linting
Required to create an .eslintrc.js file in the target module containing the following;
module.exports = {
extends: '@mediatool/eslint-config-mediatool',
}
Testing
yarn frontend-tools test
Runs all tests
yarn frontend-tools test.unit
Runs all unit tests
yarn frontend-tools test.unit.components
Runs all component unit tests
yarn frontend-tools test.unit.functions
Runs all function unit tests
yarn frontend-tools test.it
Runs all integration tests
Cypress end to end tests are yet to be configured.
Development server
Yet to be configured.
Bundling
Yet to be configured.