Skip to content

Commit

Permalink
Merge pull request #42 from erichbehrens/fix/update-scripts
Browse files Browse the repository at this point in the history
Fix/update scripts
  • Loading branch information
erichbehrens committed May 6, 2018
2 parents 78da363 + 15f440c commit c332339
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

A Slider/Carousel component for React supporting custom css animations.

[Demo](http://erichbehrens.github.io/react-animated-slider/) - [Codesandbox Playground](https://codesandbox.io/s/p582xl40j)
[Demo](https://erichbehrens.github.io/react-animated-slider/) - [Codesandbox Playground](https://codesandbox.io/s/p582xl40j)

![Preview](https://res.cloudinary.com/riangle/image/upload/v1511700118/react-animated-slider_qqedfm.png)

Expand Down Expand Up @@ -88,7 +88,7 @@ Will be rendered inside the next button
**onSlideChange** - `function`, called after the current slide has changed; receives an object with the new slide index as argument:

```js
<Slider onSlideChange={event => console.log(event.slideIndex)>
<Slider onSlideChange={event => console.log(event.slideIndex)}>
```

**classNames** `object`, default
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "react-animated-slider",
"version": "1.1.1",
"version": "1.1.2",
"description": "Animated slider component for react",
"main": "build/index.js",
"scripts": {
"start": "webpack-dev-server --config webpack.config.pages.js --mode development",
"test": "jest",
"build": "webpack-cli --mode production",
"lint": "eslint src",
"deploy": "npm run build && npm run build:pages && npm publish && npm run deploy:pages",
"deploy:pages": "gh-pages -d pages",
"build:pages": "webpack --mode production --config webpack.config.pages.js"
"predeploy": "webpack --mode production --config webpack.config.pages.js",
"deploy": "gh-pages -d pages",
"prepublish": "npm run lint && npm run test && npm run build"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function Header() {
<h1>
React Animated Slider
<a href="https://github.com/erichbehrens/react-animated-slider" target="_blank">
<img src="http://svgshare.com/i/3zm.svg" alt="GitHub Repository" />
<img src="https://svgshare.com/i/3zm.svg" alt="GitHub Repository" />
</a>
</h1>

Expand Down

0 comments on commit c332339

Please sign in to comment.