106.2.1 • Published 4 years ago

gpn-ui-library v106.2.1

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
4 years ago

Gazpromneft - UI library

How to use?

  • Add following link into package.json file "gpn-grr-ui-library": "VERSION"
  • Type npm i
  • Add appropriate component into your module like import { Component } from 'gpn-grr-ui-library';

If you are using Typescript you need add @types in you devDependencies. List of required @types you can find in node_modules/gpn-grr-ui-library/out/public/typings.d.ts.

Development

  • We use Typescript + React
  • We use Sass & CSS Modules
  • We use Webpack for building bundles
  • We use Jest and Enzyme as testing tools
  • All components must be documented
  • As creator of documentation we use Styleguidist

Build

Development

  • Development build and Styleguidist up via command npm start
  • In yours console you will see appropriate URL

Production

  • Production build made by npm run build

New version

Run one of the following commands: npm run release-patch - x.x.X - to increment and push patch version npm run release-minor - x.X.0 - to increment and push minor version npm run release-major - X.0.0 - to increment and push major version

After it new git tag will be pushed to the master branch.