@globalfishingwatch/map-components
Set of components used in global fishing watch world
Last updated 4 days ago by nerik .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @globalfishingwatch/map-components 
SYNC missed versions from official npm registry.

GFW map components

npm version

Set of components used in global fishing watch map frontend.

Using the components

Check out the online documentation

Components structure

component
│   component.js    // Component logic
│   component.css   // Component styles
│   component.mdx   // Generates component documentation
│   index.js // Optional file that generates a new folder below the components one
│            // and exports component code and any possible child component dependencies
│            // This makes possible components code splitting easily with
│            // import Component from '@globalfishingwatch/map-components/components/[component-name]
│
└───subcomponent
│       subcomponent.js
│       subcomponent.css
└───────────────────────

Develop with components

In order to do easier edits on the components while developping parent apps, use this repo locally:

git clone git@github.com:GlobalFishingWatch/map-components.git
cd map-components
yarn install
yarn link
yarn start
cd sandbox
yarn install
yarn link "@globalfishingwatch/map-components"
yarn start

Documentation

Docz is used to include live components documentation using mdx.

This playground could be used locally to test the components running:

yarn docz:dev

Release

Using zeit release to make our life easier, so just run

npx release major|minor|patch

and it will update the package.json, generate the github release and push your changes and finally:

npm publish

(⚠️ don't forget to bump dependency version on parent project if needed!)

License

MIT ©

Current Tags

  • 1.8.1                                ...           latest (4 days ago)

32 Versions

  • 1.8.1                                ...           4 days ago
  • 1.7.4                                ...           18 days ago
  • 1.7.3                                ...           20 days ago
  • 1.7.2                                ...           20 days ago
  • 1.7.1                                ...           a month ago
  • 1.7.0                                ...           2 months ago
  • 1.6.0                                ...           2 months ago
  • 1.5.1                                ...           2 months ago
  • 1.5.0                                ...           2 months ago
  • 1.4.1                                ...           2 months ago
  • 1.4.0                                ...           2 months ago
  • 1.3.1                                ...           2 months ago
  • 1.3.0                                ...           2 months ago
  • 1.2.3                                ...           2 months ago
  • 1.2.1                                ...           2 months ago
  • 1.2.0                                ...           2 months ago
  • 1.1.0                                ...           2 months ago
  • 1.0.2                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
  • 0.8.3                                ...           2 months ago
  • 0.8.2                                ...           2 months ago
  • 0.6.0                                ...           2 months ago
  • 0.5.2                                ...           2 months ago
  • 0.5.1                                ...           2 months ago
  • 0.5.0                                ...           2 months ago
  • 0.4.1                                ...           2 months ago
  • 0.4.0                                ...           3 months ago
  • 0.3.0                                ...           3 months ago
  • 0.2.1                                ...           4 months ago
  • 0.2.0                                ...           4 months ago
  • 0.1.0                                ...           4 months ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 185
Last Day 0
Last Week 48
Last Month 156
Dependencies (22)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |