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

Commit 9a68f93

Browse files
authored
Upgraded to webpack v4 & added prettier, travis, dangerjs (#57)
* Upgraded to webpack v4 * Added prettier, pre-commit stage. * Moved from webpack v2 to v4. * Updated few file names. * Added netlify demo for each PR. * Added DangerJS & Travis.
1 parent 0f0026f commit 9a68f93

File tree

17 files changed

+209908
-49708
lines changed

17 files changed

+209908
-49708
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ npm-debug.log*
55
node_modules
66
.DS_Store
77
dist
8+
.env

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.json
2+
/dist

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 140,
3+
"singleQuote": true,
4+
"parser": "babylon"
5+
}

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
node_js:
3+
- 8
4+
5+
cache:
6+
yarn: true
7+
directories:
8+
- .npm
9+
10+
skip_cleanup: true
11+
12+
before_script:
13+
- yarn install
14+
- yarn danger ci
15+
16+
script:
17+
- yarn run build

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### <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>
22

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

55
*QRCode Scanner - a simple, fast and useful progressive web application*
66

@@ -9,13 +9,13 @@
99
## Features
1010

1111
- App Shell.
12-
12+
1313
- Secure via https using [cloudflare free ssl](https://www.cloudflare.com/ssl/)
14-
14+
1515
- Works offline.
1616

1717
- Fully Responsive.
18-
18+
1919
- Add to home screen, Splash screen.
2020

2121
- Supported Browser - Google Chrome, Firefox, Opera **(Both Desktop & Mobile)**, Microsoft Edge (**(Insider Preview build)**) and now supports iOS as well.

app/css/styles.css

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/*! minireset.css v0.0.2 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}img,embed,object,audio{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0;text-align:left}
1+
/*! minireset.css v0.0.2 | MIT License | github.com/jgthms/minireset.css */
2+
html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}img,embed,object,audio{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0;text-align:left}
23

34
body {
45
font-family: Roboto, Helvetica,Arial,sans-serif;
@@ -16,13 +17,11 @@ body {
1617
.app__header {
1718
width: 100%;
1819
height: 56px;
19-
/*box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);*/
2020
color: #fff;
2121
display: flex;
2222
-webkit-box-align: center;
2323
-ms-flex-align: center;
2424
align-items: center;
25-
/*background: #607D8B;*/
2625
position: fixed;
2726
top: 0;
2827
left: 0;
@@ -349,8 +348,6 @@ video {
349348
}
350349

351350
.app__overlay {
352-
/* border-color: #ffffff;
353-
border-width: 5px; */
354351
border: 0;
355352
}
356353

0 commit comments

Comments
 (0)