/webpack-test-demo

A sample project with webpack, karma and cypress

Primary LanguageJavaScriptMIT LicenseMIT

Webpack Test Demo UI Project

Summary

A sample project with webpack, karma and cypress

Dev Setup

See .nvmrc for node version or if using NVM/AVM, then ignore this line and get on with your life...

  # if not running AVN:
  nvm use

  # install NPM dependencies:
  npm install

  # build app and serve on localhost:
  # (open a browser window)
  npm start

  # run tests (unit & functional):
  npm test

  # run unit tests only:
  npm run test:unit

  # run functional tests only:
  npm run test:e2e

  # build the app
  npm run build

Editor Config

This project uses EditorConfig to define and maintain basic coding styles. It works out of the box with IDEA when enabled. Plugins for other editors are available.

ESLint

ESLint is configured with code styling rules and is run during the build. Our config extends from eslint-config-angular and uses eslint-plugin-angular. It works out of the box with IDEA when enabled. Plugins for other editors are available.

ESLint automatically fixes problems (currently mostly whitespace) on some rules.