0.0.125 • Published 2 years ago

@spankchain-dev/spankpay-lib v0.0.125

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

@spankchain-dev/spankpay-lib

Library that provides general Spank react components

NPM JavaScript Style Guide

Install

npm install --save @spankchain-dev/spankpay-lib

Usage

In order to add this lib into the front end repositories 1- Add fonts into the project that will use the lib, the one located in => /example/public/fonts/ 2- Add font-face like /example/src/index.css

import React, { Component } from 'react';

import MyComponent from '@spankchain-dev/spankpay-lib';

class Example extends Component {
  render() {
    return <MyComponent />;
  }
}

Local development

Install all dependencies lib and example

in lib directory => yarn install
in example directory => yarn install

Build lib | Build lib in watch mode

in lib directory => yarn build | yarn start

Run the example

in example directory => yarn start

Storybook

We use Storybook in example enviroment, to start it just run

yarn storybook

it will start Storybook at localhost:6006 and keep watching the changes in the lib to reload it (it takes a time to rebuild the lib)

How to Publish to NPM

  • Each new PR should have an updated version on the package.json file. (i.e. go from 0.96 to 0.97).
  • After approval the PR should be merged.
  • Then go to Actions click on Publish to NPM and then go to the workflows table and then Run the workflow for the develop branch.

License

MIT © SpankPay

0.0.125

2 years ago

0.0.124

3 years ago

0.0.120

3 years ago

0.0.123

3 years ago

0.0.122

3 years ago

0.0.121

3 years ago

0.0.119

3 years ago

0.0.113

3 years ago

0.0.112

3 years ago

0.0.111

3 years ago

0.0.110

3 years ago

0.0.109

3 years ago

0.0.108

3 years ago

0.0.107

3 years ago

0.0.106

3 years ago

0.0.105

3 years ago

0.0.104

3 years ago

0.0.103

3 years ago

0.0.99

4 years ago

0.0.102

3 years ago

0.0.101

3 years ago

0.0.100

4 years ago

0.0.95

4 years ago

0.0.96

4 years ago

0.0.97

4 years ago

0.0.98

4 years ago

0.0.93

4 years ago

0.0.94

4 years ago

0.0.92

4 years ago

0.0.89

4 years ago

0.0.90

4 years ago

0.0.91

4 years ago

0.0.84

4 years ago

0.0.88

4 years ago

0.0.80

4 years ago

0.0.81

4 years ago

0.0.83

4 years ago

0.0.79

4 years ago

0.0.78

4 years ago

0.0.76

4 years ago

0.0.75

4 years ago

0.0.72

4 years ago

0.0.70

4 years ago

0.0.66

4 years ago

0.0.64

4 years ago

0.0.65

4 years ago

0.0.62

4 years ago

0.0.63

4 years ago

0.0.61

4 years ago

0.0.60

4 years ago

0.0.59

4 years ago

0.0.52

4 years ago

0.0.53

4 years ago

0.0.54

4 years ago

0.0.57

4 years ago

0.0.58

4 years ago

0.0.50

4 years ago

0.0.49

4 years ago

0.0.44

4 years ago

0.0.45

4 years ago

0.0.46

4 years ago

0.0.47

4 years ago

0.0.48

4 years ago

0.0.43

4 years ago

0.0.40

4 years ago

0.0.39

4 years ago

0.0.38

4 years ago

0.0.37

4 years ago

0.0.36

4 years ago

0.0.34

4 years ago

0.0.35

4 years ago

0.0.33

4 years ago

0.0.31

4 years ago

0.0.32

4 years ago

0.0.30

4 years ago

0.0.29

4 years ago

0.0.28

4 years ago

0.0.24

4 years ago

0.0.25

4 years ago

0.0.26

4 years ago

0.0.27

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.17

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago