Skip to content

Commit

Permalink
major upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
iamraphson committed Oct 16, 2018
1 parent efdff21 commit 60f9237
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["es2015"]
}
"presets": ["@babel/preset-env"]
}
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ npm install vue vue-ravepayment --save
<template>
<Rave
:is-production="false"
:text="raveBtnText"
style-class="paymentbtn"
:email="email"
:amount="amount"
Expand All @@ -38,7 +37,7 @@ npm install vue vue-ravepayment --save
:callback="callback"
:close="close"
currency="NGN"
></Rave>
><i>Pay Me, My Money</i></Rave>
</template>
<script type="text/javascript">
import Rave from 'vue-ravepayment';
Expand All @@ -48,7 +47,6 @@ export default {
},
data(){
return{
raveBtnText: "Pay Me, My Money",
raveKey: "FLWPUBK-xxxxxxxxxxxxxxxx-X",
email: "[email protected]",
amount: 10000
Expand Down
2 changes: 1 addition & 1 deletion dist/rave.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/rave.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/commonjs/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
:callback="callback"
:close="close"
currency="NGN"
></Rave>
><i>Pay Me, My Money</i></Rave>
</p>
</div>
</template>
Expand Down
15 changes: 5 additions & 10 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,20 @@
<head>
<title>Vue RavePayment Example</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="../dist/rave.min.js"></script>
<style>
body {
font-size: 1em;
font-family: 'Tahoma', sans-serif;
}

.paymentbtn{
color: #61DAFB;
width: 250px;
height: 50px;
font-weight: 800;
}
</style>
</head>
<body>
<div id="app">
<Rave
:is-production="false"
:text="raveBtnText"
style-class="paymentbtn"
:email="email"
:amount="amount"
Expand All @@ -32,7 +25,10 @@
:callback="callback"
:close="close"
currency="NGN"
></Rave>
>
<i class="fas fa-money-bill-alt"></i>
Make Payment
</Rave>
</div>

<script type="text/javascript">
Expand Down Expand Up @@ -61,7 +57,6 @@
}
},
data: {
raveBtnText: "Pay Me, My Money",
raveKey: "FLWPUBK-c59ee426f4c86db0eef5d6514cd2b187-X",
email: "[email protected]",
amount: 10000
Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-ravepayment",
"version": "1.0.3",
"version": "2.0.0",
"description": "Vue Rave Payment Component for Vue 2.x.",
"main": "dist/rave.min.js",
"scripts": {
Expand Down Expand Up @@ -33,16 +33,17 @@
},
"homepage": "",
"devDependencies": {
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-preset-es2015": "^6.18.0",
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"babel-loader": "^8.0.4",
"css-loader": "^1.0.0",
"eslint": "^5.3.0",
"eslint": "^5.7.0",
"eslint-config-vue": "^2.0.2",
"eslint-loader": "^2.1.0",
"eslint-plugin-vue": "^4.7.1",
"standard": "^11.0.1",
"uglifyjs-webpack-plugin": "^1.3.0",
"standard": "^12.0.1",
"uglifyjs-webpack-plugin": "^2.0.1",
"vue": "^2.5.17",
"vue-loader": "^15.3.0",
"vue-template-compiler": "^2.5.17",
Expand Down
Loading

0 comments on commit 60f9237

Please sign in to comment.