2.0.4 • Published 2 years ago

@moneypensionservice/directories v2.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

MaPS - Directories React Component Library

Build Status npm version style: styled-components npm.io

Installation

The component library is available via NPM or Yarn:

  $ npm install @moneypensionservice/directories
  # or
  $ yarn add @moneypensionservice/directories

Usage

You can find a list of all available components on the documentation website as well as guides to set up the library on your React application.

Technologies used

Running the project locally with Styleguidist

Install NPM dependencies

  $ npm install

Preview components

  $ npm start

Live reloading and preview of the components should be available at http://localhost:6060 powered by Styleguidist.

Testing

  $ npm test

Building the project

Cleanup and rebuild the files in the lib directory:

  $ npm run prepublishOnly

Make sure the project builds before publishing and display the contents of the package that will be published to NPM:

  $ npm run postbuild

Publishing package to NPM

If your user is a member of the NPM registry, login:

  $ npm login --scope=@moneypensionservice

Now you should be ready to publish the package:

  $ npm publish --access=public

Adding new users to the NPM Registry

Create an account at npmjs.com. You should ask for an invitation to join the organisation registry.

An admin can add a new member to the registry:

  $ npm adduser --scope=@moneypensionservice

or via npmjs.com following this guide.

Deploying the documentation

Documentation will automatically updated via TravisCI when changes are made to the master branch if the build is successfull. It is available online as a GitHub Page at https://moneyadviceservice.github.io/react_library/.

To generate the Styleguidist documentation to the dist-docs directory on your local machine:

  $ npm run docs:build
2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.9.4

3 years ago

1.9.3

4 years ago

1.9.2

4 years ago

1.9.1

4 years ago

1.9.0

4 years ago

1.8.22

4 years ago

1.8.21

4 years ago

1.8.20

4 years ago

1.8.17

4 years ago

1.8.18

4 years ago

1.8.19

4 years ago

1.8.15

4 years ago

1.8.16

4 years ago

1.8.14

4 years ago

1.8.9

4 years ago

1.8.10

4 years ago

1.8.11

4 years ago

1.8.12

4 years ago

1.8.13

4 years ago

1.8.8

4 years ago

1.8.6

4 years ago

1.8.5

4 years ago

1.8.4

4 years ago

1.8.2

4 years ago

1.8.3

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.1

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago