Skip to content

Mobility as a Service API - data model, tests, and validation

License

Notifications You must be signed in to change notification settings

maasglobal/maas-schemas

Repository files navigation

Shared MaaS Global Type Definitions

This repository contains MaaS Global shared type definitions.

Index

The code is divided into several independent npm packages.

Devops

The following commands should work in all packages where applicable.

npm install -g yarn               # install yarn
yarn                              # install dependencies
yarn lint                         # run linters
yarn typecheck                    # run static type checks
yarn test                         # run tests
yarn prettify                     # auto format code base
yarn ci                           # perform a local CI test run
yarn build                        # create a production build
yarn clean                        # remove build artefacts
yarn readme-ts                    # extract readme code examples
yarn deploy-npm                   # deploy npm package
yarn deploy-alpha                 # deploy prelease npm package