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.
- react
- redux
- react-router
- enzyme
- jest
- cypress
- react-spatial
- eslint with airbnb
- prettier
- sass
Install:
yarn install
Start:
yarn start
Publish as NPM package:
- Build to publish:
yarn build:es
- Publish:
yarn publish:build
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>