File tree Expand file tree Collapse file tree 3 files changed +37
-7
lines changed Expand file tree Collapse file tree 3 files changed +37
-7
lines changed Original file line number Diff line number Diff line change 1+ name : Publish React Package
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/setup-node@v1
14+ with :
15+ node-version : 12
16+ - run : npm i && npm run build
17+
18+ publish-npm :
19+ needs : build
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v2
23+ - uses : actions/setup-node@v1
24+ with :
25+ node-version : 12
26+ registry-url : https://registry.npmjs.org/
27+ - run : npm publish
28+ env :
29+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
30+
Original file line number Diff line number Diff line change 22 <img title="Flutterwave" height="200" src="https://flutterwave.com/images/logo-colored.svg" width="50%"/>
33</p >
44
5+ # Flutterwave v3 React Library
6+ ![ npm] ( https://img.shields.io/npm/v/flutterwave-react-v3 )
7+ ![ npm] ( https://img.shields.io/npm/dt/flutterwave-react-v3 )
8+ ![ NPM] ( https://img.shields.io/npm/l/flutterwave-react-v3 )
9+
510## Table of Contents
611
712- [ About] ( #about )
Original file line number Diff line number Diff line change 11{
22 "name" : " flutterwave-react-v3" ,
3- "version" : " 1.0.2 " ,
3+ "version" : " 1.0.5 " ,
44 "description" : " Official React Package for Flutterwave v3 payment APIs" ,
55 "main" : " dist/index.js" ,
66 "repository" : {
77 "type" : " git" ,
88 "url" : " git+https://github.com/Flutterwave/Flutterwave-React-v3.git"
99 },
10- "author" : " Joel Ugwumadu <ugwumadu116@gmail.com> " ,
10+ "author" : " Flutterwave Developers " ,
1111 "license" : " MIT" ,
1212 "bugs" : {
1313 "url" : " https://github.com/Flutterwave/Flutterwave-React-v3/issues"
7979 "quoteProps" : " as-needed" ,
8080 "htmlWhitespaceSensitivity" : " css"
8181 },
82- "husky" : {
83- "hooks" : {
84- "pre-commit" : " lint-staged"
85- }
86- },
8782 "lint-staged" : {
8883 "**/*.+(js|ts|graphql|yml|yaml|vue|tsx)" : [
8984 " eslint --fix" ,
You can’t perform that action at this time.
0 commit comments