Skip to content
Snippets Groups Projects

Arkindex Frontend

Dev Setup

  1. Install Node.js 12 or later and NPM
  2. Clone the repository
  3. npm install

Common operations

  • npm run build: Build for development, no Docker image

  • npm start: Start a local development server on localhost:8080

  • npm run production: Build for production, no Docker image

  • npm run lint: Perform ESLint checks

  • npm run lintfix: Perform ESLint checks and try to automatically fix some issues

  • npm run test: Run unit tests

  • npm run start-test: Run unit tests, then watch for edits and re-run with each change

  • make build: Build to a local Docker image using latest GitLab CI artifact

  • make clean: Clean build stuff

  • make all: Clean and build

Linting rules

See the .eslintrc.yml file for the exact ESLint settings. The linting rules are based on the following sets:

Some rules have been customized: