Skip to content

Commit

Permalink
added coffeeify to dependencies
Browse files Browse the repository at this point in the history
require payment/src/payment to solve webpack building issues
improve readme
  • Loading branch information
shaystern committed Oct 31, 2015
1 parent cd92ddd commit d4b29b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ card-react is a React component that aims to do the same for React.
Include card-react in your code:

```html
ReactCardFormContainer = require('card-react')
import ReactCardFormContainer from 'card-react';
```

Once included, you can initialize the component. you'll need to make the component the container of your form:
Expand All @@ -51,10 +51,10 @@ Once included, you can initialize the component. you'll need to make the compone
// initial values to render in the card element
initialValues= {
{
number='4242424242424242' // optional — default •••• •••• •••• ••••
cvc='123' // optional — default •••
expiry='16/12' // optional — default ••/••
name='Random Name' // optional — default FULL NAME
number: '4242424242424242', // optional — default •••• •••• •••• ••••
cvc: '123', // optional — default •••
expiry: '16/12', // optional — default ••/••
name: 'Random Name' // optional — default FULL NAME
}
}

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"main": "lib/card-react-form-container.js",
"dependencies": {
"payment": "0.0.10",
"classnames": "^2.1.2"
"classnames": "^2.1.2",
"coffeeify": "^1.1.0"
},
"devDependencies": {
"bourbon": "^4.2.3",
"browserify": "^10.2.4",
"coffee-react": "^3.2.0",
"coffee-reactify": "^3.0.0",
"coffee-script": "^1.9.3",
"coffeeify": "^1.1.0",
"grunt": "^0.4.5",
"grunt-browserify": "^3.8.0",
"grunt-coffee-react": "^2.4.1",
Expand Down

0 comments on commit d4b29b5

Please sign in to comment.