Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit ec539ff

Browse files
authored
Add site map (#103)
* Add sitemap * Updated
1 parent 9f8e786 commit ec539ff

File tree

4 files changed

+18
-26
lines changed

4 files changed

+18
-26
lines changed

README.md

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,26 @@
1-
### <p align="center"><img width="150px" height="150px" src="https://raw.githubusercontent.com/code-kotis/barcode-scanner/master/app/images/touch/android-chrome-192x192.png"></p>
1+
### <p align="center"><img width="150px" height="150px" src="https://raw.githubusercontent.com/code-kotis/qr-code-scanner/master/app/images/touch/android-chrome-192x192.png"></p>
22

3-
# [QR Code Scanner](https://qrcodescan.in) ![Build](https://travis-ci.org/code-kotis/barcode-scanner.svg?branch=master)
3+
# [QR Code Scanner](https://qrcodescan.in)
44

5-
*QRCode Scanner - a simple, fast and useful progressive web application*
5+
*QR Code Scanner - a simple, fast and useful progressive web application*
66

77
### [Live](https://qrcodescan.in)
88

99
## Features
1010

11-
- App Shell.
12-
13-
- Secure via https using [cloudflare free ssl](https://www.cloudflare.com/ssl/)
14-
15-
- Works offline.
16-
17-
- Fully Responsive.
18-
19-
- Add to home screen, Splash screen.
20-
21-
- Supported Browser - Google Chrome, Firefox, Opera **(Both Desktop & Mobile)**, Microsoft Edge (**(Insider Preview build)**) and now supports iOS as well.
11+
- App Shell
12+
- Offline
13+
- Secure via https
14+
- Responsive
15+
- Add to home screen & Splash screen
16+
- Supported Browser (Mobile & Desktop) - Google Chrome, Firefox, Safari, Opera, Microsoft Edge and now supports iOS as well.
2217

2318
## Installation
2419

2520
1. Clone this repo
2621

2722
```bash
28-
git clone https://github.com/code-kotis/barcode-scanner
23+
git clone https://github.com/code-kotis/qr-code-scanner
2924
```
3025

3126
2. Installation
@@ -46,12 +41,6 @@
4641
npm run build
4742
```
4843

49-
5. Deploy
50-
51-
```bash
52-
npm run deploy
53-
```
54-
5544
### Contributions
5645

5746
If you find a bug, please file an issue. PR's are most welcome ;)

app/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<div class="app__layout">
2626
<!-- Header -->
2727
<header class="app__header">
28-
<span class="app__header-icon" onclick="window.open('https://github.com/code-kotis/barcode-scanner', '_blank', 'toolbar=0,location=0,menubar=0');">
28+
<span class="app__header-icon" onclick="window.open('https://github.com/code-kotis/qr-code-scanner', '_blank', 'toolbar=0,location=0,menubar=0');">
2929
<svg fill="#FFFFFF" height="27" viewBox="0 0 24 24" width="27" xmlns="http://www.w3.org/2000/svg">
3030
<path d="M0 0h24v24H0z" fill="none" />
3131
<path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z" />

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "barcode-scanner",
3-
"description": "a simple, fast and useful progressive web application.",
4-
"version": "3.1.0",
2+
"name": "qr-code-scanner",
3+
"description": "QR Code Scanner is the fastest and most user-friendly web application.",
4+
"version": "1.0.0",
55
"scripts": {
66
"start": "webpack-dev-server --hot --inline --open --mode=development",
77
"build": "cross-env NODE_ENV=production webpack-cli --mode=production --config webpack.config.js",
@@ -34,6 +34,7 @@
3434
"mini-css-extract-plugin": "^0.4.4",
3535
"optimize-css-assets-webpack-plugin": "^5.0.1",
3636
"prettier": "^1.14.3",
37+
"sitemap-webpack-plugin": "^0.8.0",
3738
"style-loader": "^0.23.1",
3839
"webpack": "^4.20.2",
3940
"webpack-cli": "^3.1.2",

webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
66
const ExtractTextPlugin = require('extract-text-webpack-plugin');
77
const CopyWebpackPlugin = require('copy-webpack-plugin');
88
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
9+
const SitemapPlugin = require('sitemap-webpack-plugin').default;
910

1011
module.exports = {
1112
entry: './app/js/main.js',
@@ -44,7 +45,8 @@ module.exports = {
4445
}),
4546
new CopyWebpackPlugin([{ from: 'images/', to: 'images' }, 'decoder.js', 'manifest.json', 'CNAME'], {
4647
context: './app'
47-
})
48+
}),
49+
new SitemapPlugin('https://qrcodescan.in', ['/'])
4850
],
4951
module: {
5052
rules: [

0 commit comments

Comments
 (0)