A sample project with webpack, karma and cypress
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
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 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.