@canopycanopycanopy/b-ber-reader-react 1.2.13-media-queries.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +16 -0
- package/README.md +34 -0
- package/dist/fonts/CrimsonPro-Regular.ttf +0 -0
- package/dist/fonts/CrimsonPro-SemiBold.ttf +0 -0
- package/dist/fonts/MaterialIcons-Regular.eot +0 -0
- package/dist/fonts/MaterialIcons-Regular.ttf +0 -0
- package/dist/fonts/MaterialIcons-Regular.woff +0 -0
- package/dist/fonts/MaterialIcons-Regular.woff2 +0 -0
- package/dist/index.js +35 -0
- package/dist/styles.css +1 -0
- package/index.d.ts +212 -0
- package/package.json +126 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
b-ber is a toolchain for creating publications in a variety of digital
|
|
2
|
+
formats
|
|
3
|
+
Copyright (C) 2018 Triple Canopy
|
|
4
|
+
|
|
5
|
+
This program is free software: you can redistribute it and/or modify
|
|
6
|
+
it under the terms of the GNU General Public License as published by
|
|
7
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
(at your option) any later version.
|
|
9
|
+
|
|
10
|
+
This program is distributed in the hope that it will be useful,
|
|
11
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
GNU General Public License for more details.
|
|
14
|
+
|
|
15
|
+
You should have received a copy of the GNU General Public License
|
|
16
|
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# `@canopycanopycanopy/b-ber-reader-react`
|
|
2
|
+
|
|
3
|
+
The `b-ber-reader-react` package contains the source code for the `b-ber-reader` package.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
$ npm i -g @canopycanopycanopy/b-ber-reader-react
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Develop
|
|
12
|
+
|
|
13
|
+
Serve the app in the **dev** directory.
|
|
14
|
+
|
|
15
|
+
Rename **index.example.js** **index.js**, update the `Reader` props with a valid `bookURL` or `manifestURL`, and run
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
npm serve
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
The `serve` script will run a Webpack dev server and inject updates when changes are made in the **src** directory.
|
|
22
|
+
|
|
23
|
+
## Customize
|
|
24
|
+
|
|
25
|
+
Extend the **config.development.js** and **config.production.js** files in the **webpack** directory.
|
|
26
|
+
|
|
27
|
+
Pass in the custom configuration file as an argument to the **package.json** scripts, e.g.,
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
npm watch webpack/config.custom.js
|
|
31
|
+
npm build webpack/config.custom.js
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
See **config.custom-example.js** for example implementation.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|