0.0.125 • Published 1 year ago

@spankchain-dev/spankpay-lib v0.0.125

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.0.124

1 year ago

0.0.120

2 years ago

0.0.123

1 year ago

0.0.122

2 years ago

0.0.121

2 years ago

0.0.119

2 years ago

0.0.113

2 years ago

0.0.112

2 years ago

0.0.111

2 years ago

0.0.110

2 years ago

0.0.109

2 years ago

0.0.108

2 years ago

0.0.107

2 years ago

0.0.106

2 years ago

0.0.105

2 years ago

0.0.104

2 years ago

0.0.103

2 years ago

0.0.99

2 years ago

0.0.102

2 years ago

0.0.101

2 years ago

0.0.100

2 years ago

0.0.95

2 years ago

0.0.96

2 years ago

0.0.97

2 years ago

0.0.98

2 years ago

0.0.93

2 years ago

0.0.94

2 years ago

0.0.92

3 years ago

0.0.89

3 years ago

0.0.90

3 years ago

0.0.91

3 years ago

0.0.84

3 years ago

0.0.88

3 years ago

0.0.80

3 years ago

0.0.81

3 years ago

0.0.83

3 years ago

0.0.79

3 years ago

0.0.78

3 years ago

0.0.76

3 years ago

0.0.75

3 years ago

0.0.72

3 years ago

0.0.70

3 years ago

0.0.66

3 years ago

0.0.64

3 years ago

0.0.65

3 years ago

0.0.62

3 years ago

0.0.63

3 years ago

0.0.61

3 years ago

0.0.60

3 years ago

0.0.59

3 years ago

0.0.52

3 years ago

0.0.53

3 years ago

0.0.54

3 years ago

0.0.57

3 years ago

0.0.58

3 years ago

0.0.50

3 years ago

0.0.49

3 years ago

0.0.44

3 years ago

0.0.45

3 years ago

0.0.46

3 years ago

0.0.47

3 years ago

0.0.48

3 years ago

0.0.43

3 years ago

0.0.40

3 years ago

0.0.39

3 years ago

0.0.38

3 years ago

0.0.37

3 years ago

0.0.36

3 years ago

0.0.34

3 years ago

0.0.35

3 years ago

0.0.33

3 years ago

0.0.31

3 years ago

0.0.32

3 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.24

3 years ago

0.0.25

3 years ago

0.0.26

3 years ago

0.0.27

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.17

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago