/trafimage-maps

Code of the Trafimage web map portal and other applications built on it.

Primary LanguageJavaScriptMIT LicenseMIT

trafimage-maps

npm code style: prettier

This repo contains the code of the Trafimage Map Portal by Swiss Federal Railways SBB and other applications build on it. Components are based on react-spatial.

See demo.

Technologies

  • react
  • redux
  • react-router
  • enzyme
  • jest
  • cypress
  • react-spatial
  • eslint with airbnb
  • prettier
  • sass

Getting Started

Install:

yarn install

Start:

yarn start

Publish as NPM package:

  • Build to publish:
yarn build:es
  • Publish:
yarn publish:build

Use as ES6 module:

When this app is published as npm package, it can be integrated easily in other applications, as ES6 module:

Install

npm install <this-app-package>