@axa-ch/pod-kmu-20-stable

2.1.188 • Public • Published

KMU 2.0 Pod Build Status Actions Status

Prerequisites

  • npm installed
  • yarn installed
  • Make sure to configure git correctly (Windows vs. macOS) git config --global core.autocrlf true

Main dependencies

Run the app

  • Install the needed dependencies npm install
  • Run the app
    • With local services npm run start
    • With ACC env npm run start-acc
    • With DEV env npm run start-dev
    • With ACC stable env npm run start-stable

Typography

The patterns-library v2 does not yet support any typography

Development

Generating fixtures

You can generate new fixtures by running command npm run generate-fixtures, this creates new fixtures for both state (used for unit tests) and mock api. Fixtures are generated from json schemas using https://github.com/json-schema-faker/json-schema-faker.

Json schemas are located in __fixtures__/schemas and generated files are located in __fixtures__/__generated__.

API

The API base url depends on the stage environment You can change stage environment by passing different attribute value to data-stage="mock" or data-stage="local" in index.html. Stage environment is passed in as attibute automatically in deployed pod.

Readme

Keywords

none

Package Sidebar

Install

npm i @axa-ch/pod-kmu-20-stable

Weekly Downloads

0

Version

2.1.188

License

ISC

Unpacked Size

4.71 MB

Total Files

5

Last publish

Collaborators