Skip to content

Commit 7e9548c

Browse files
removed husky pre-commit checks
1 parent 978f4b5 commit 7e9548c

File tree

3 files changed

+37
-7
lines changed

3 files changed

+37
-7
lines changed

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
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)

package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
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"
@@ -79,11 +79,6 @@
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",

0 commit comments

Comments
 (0)