Skip to content

Commit b26191c

Browse files
author
Marek Rozmus
committed
Merge branch 'put_example_on_github_page'
2 parents 400a62a + b64dc06 commit b26191c

File tree

3 files changed

+178
-2
lines changed

3 files changed

+178
-2
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# react-swipeable-list
22

3+
<h3 align="center">
4+
Swipeable list component for React.
5+
</h3>
6+
7+
<p align="center">
8+
<strong>
9+
<a href="https://sandstreamdev.github.io/react-swipeable-list/">Demo</a>
10+
</strong>
11+
</p>
12+
313
## Installation
414

515
```bash

examples/package-lock.json

Lines changed: 163 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"type": "git",
1111
"url": "https://github.com/sandstreamdev/react-swipeable-list"
1212
},
13+
"homepage": "https://sandstreamdev.github.io/react-swipeable-list/",
1314
"license": "MIT",
1415
"keywords": [
1516
"swipe",
@@ -21,8 +22,9 @@
2122
],
2223
"main": "index.js",
2324
"scripts": {
24-
"build": "webpack --mode production",
25-
"start": "webpack-dev-server"
25+
"predeploy": "webpack --mode production",
26+
"start": "webpack-dev-server",
27+
"deploy": "gh-pages -d dist"
2628
},
2729
"devDependencies": {
2830
"@babel/core": "^7.6.0",
@@ -38,6 +40,7 @@
3840
"eslint-plugin-prettier": "^3.1.0",
3941
"eslint-plugin-react": "^7.14.3",
4042
"eslint-plugin-react-hooks": "^2.0.1",
43+
"gh-pages": "^2.1.1",
4144
"html-webpack-plugin": "^3.2.0",
4245
"prettier": "^1.18.2",
4346
"react-svg-loader": "^3.0.3",

0 commit comments

Comments
 (0)