trafimage-maps
v1.30.12
Published
trafimage-maps web component
Downloads
1,815
Keywords
Readme
trafimage-maps
About
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.
Github repo.
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 trafimage-maps