Skip to content

Latest commit

 

History

History
81 lines (53 loc) · 1.65 KB

README.md

File metadata and controls

81 lines (53 loc) · 1.65 KB

new-tool

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed Node.js (version 20.x or later).
  • You have installed npm (version 10.x or later).

Installation

  1. Clone the repository:

    git clone https://github.com/lweidig/new-tool.git
  2. Navigate to the project directory:

    cd new-tool
  3. Install the dependencies:

    npm install

Linting

This Project uses ESLint for linting.

To see the config used for this project have a look at eslint.config.mjs

npm run lint

Formatting

This Project adheres to a standardized Coding Style that is implemented via Prettier.

To see the config used for this project have a look at .prettierrc.yaml

npm run format

Building the Project

To build the project, run exactly in this order:

npm run build:erm-moddle
npm run build:erm-js
npm run build:build-check

Running Tests

For now tests are only implemented in the two Libraries erm-moddle and erm-js.

npm run test:erm-moddle
npm run test:erm-js

Starting the Build Check App as a DEV Server

Given you completed all build steps successfully you can finally start the build-check app and see "erm-moddle" and "erm-js" in action.

npm run start:build-check

After running this command you can open the build-check via localhost:8080 in any modern webbrowser of your choosing.

With Ctrl+C the dev server can be gracefully shut down.