Skip to content

Commit

Permalink
Merge pull request #113 from btzr-io/preact
Browse files Browse the repository at this point in the history
Preact [WIP]
  • Loading branch information
workhorsy authored Apr 3, 2018
2 parents 4996e94 + 82b8536 commit 553640a
Show file tree
Hide file tree
Showing 105 changed files with 9,616 additions and 85,452 deletions.
34 changes: 34 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"projectOwner": "workhorsy",
"projectName": "comic_book_reader",
"files": ["README.md"],
"imageSize": 100,
"commit": false,
"contributorsPerLine": 4,
"contributors": [
{
"login": "workhorsy",
"name": "Matthew Brennan Jones",
"avatar_url": "https://avatars3.githubusercontent.com/u/2733986?v=4",
"profile": "http://workhorsy.org",
"contributions": [
"code",
"translation",
"bug",
"question"
]
},
{
"login": "btzr-io",
"name": "Baltazar Gomez",
"avatar_url": "https://avatars1.githubusercontent.com/u/14793624?v=4",
"profile": "http://codepen.io/btzr-io",
"contributions": [
"design",
"platform",
"code"
]
}
],
"repoType": "github"
}
5 changes: 5 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "yarn pretty-quick --staged"
}
}
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
bin
dist
test
build
/src/assets
/src/lib
*.lock
*.log
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"printWidth": 100,
"singleQuote": true,
"semi": false
}
File renamed without changes.
31 changes: 20 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,40 @@
http://comic-book-reader.com

Warning
===================
This branch is a port to Preact, and does not work yet!
> ### :warning: Warning
> This branch is a port to Preact, and does not work yet!
# Comic Book Reader

Comic Book Reader
===================
* Can read CBR, CBZ, CBT, and PDF files
* Runs in the browser as a JavaScript and HTML web page
* Works well on a touch device or desktop
* Saves opened comics in the browser
* Works when offline thanks to Service Workers.
* Regularly tested in Firefox, Chrome, and Internet Explorer

# Install Requirements
### Install Requirements

```bash
npm install
```

# Run for development
### Run for development

```bash
npm start
yarn dev
```


# Install git hooks to automatically generate src/lib/version_date.js file on commit
### Format code
```bash
./bin/install_hooks.sh
yarn format
```

## Contributors

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification.

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
| [<img src="https://avatars3.githubusercontent.com/u/2733986?v=4" width="100px;"/><br /><sub><b>Matthew Brennan Jones</b></sub>](http://workhorsy.org)<br />[💻](https://github.com/workhorsy/comic_book_reader/commits?author=workhorsy "Code") [🌍](#translation-workhorsy "Translation") [🐛](https://github.com/workhorsy/comic_book_reader/issues?q=author%3Aworkhorsy "Bug reports") [💬](#question-workhorsy "Answering Questions") | [<img src="https://avatars1.githubusercontent.com/u/14793624?v=4" width="100px;"/><br /><sub><b>Baltazar Gomez</b></sub>](http://codepen.io/btzr-io)<br />[🎨](#design-btzr-io "Design") [📦](#platform-btzr-io "Packaging/porting to new platform") [💻](https://github.com/workhorsy/comic_book_reader/commits?author=btzr-io "Code") |
| :---: | :---: |
<!-- ALL-CONTRIBUTORS-LIST:END -->
5 changes: 0 additions & 5 deletions bin/install_hooks.sh

This file was deleted.

4 changes: 0 additions & 4 deletions bin/pre-commit

This file was deleted.

Binary file removed favicon.ico
Binary file not shown.
169 changes: 0 additions & 169 deletions index.html

This file was deleted.

Binary file removed invalid_image.png
Binary file not shown.
Loading

0 comments on commit 553640a

Please sign in to comment.