AudioLib/README.md
Alexander I. Chebykin 75990ea5c3 Styles now in SASS
Styles now in SASS. Node packages updated.
2022-04-07 01:03:34 +03:00

85 lines
1.4 KiB
Markdown

# audiobookslibrary
## Project setup
```
yarn install
```
### Compiles and hot-reloads for development
```
yarn run serve
```
### Compiles and minifies for production
```
yarn run build
```
### Run your tests
```
yarn run test
```
### Lints and fixes files
```
yarn run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
## Library configuration
lib/authors.json - Authors info
file format:
```
[
{
"author": "Author 1 name",
"books": "lib/Author 1 name/books.json",
"image": "lib/Author 1 name/photo.png"
},
...
{
"author": "Author N name",
"books": "lib/Author N name/books.json",
"image": "lib/Author N name/photo.png"
}
]
```
lib/Author name/books.json - Books info
file format:
```
[
{
"title": "Book 1 title",
"image": "lib/Author name/Book 1 title/cover.jpg",
"book": "lib/Author name/Book 1 title/book.json"
},
...
{
"title": "Book N title",
"image": "lib/Author name/Book N title/cover.jpg",
"book": "lib/Author name/Book N title/book.json"
}
]
```
lib/Author name/Book title/book.json - Book info
file format:
```
[
{
"book": "lib/Author name/Book title/chapter1.mp3",
"title": "Chapter 1 title"
},
...
{
"book": "lib/Author name/Book title/chapterN.mp3",
"title": "Chapter N title"
}
]
```