@twreporter/zoom-in-ui

0.1.0 • Public • Published

zoom-in-ui

npm (latest) npm (rc)

What is this

An interface used for generating zoom in embedded code.

How to use this

Install

yarn add @twreporter/zoom-in-ui

or you can use npm:

npm install --save @twreporter/zoom-in-ui

Example

  1. Serve the distribution files by Google Cloud Function
const express = require('express')
const path = require('path')

const app = express()

app.use(
  express.static(
    path.join(__dirname, 'node_modules/@twreporter/zoom-in-ui/dist')
  )
)

app.get('/', (req, res) => {
  res.status(200).sendFile(path.join(__dirname, '/index.html'))
})

How to develop this

# Run development server
make dev

How to build this

# Babel transpile es6 and above to es5 at lib/
# Build webpack bundle and index.html to dist/
make build

Dependencies (10)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @twreporter/zoom-in-ui

    Weekly Downloads

    9

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    570 kB

    Total Files

    20

    Last publish

    Collaborators

    • duidae
    • twreporter-admin
    • taylrj
    • aylieinthecity