Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #68 from vivliostyle/js-ts-test
Browse files Browse the repository at this point in the history
Update for Vivliostyle.js JS-to-TS migration
  • Loading branch information
MurakamiShinyu authored Aug 5, 2019
2 parents 6650133 + 0c14b15 commit 8ee4e19
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 13 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Vivliostyle UI

Vivliostyle UI is a UI component which can be used with [Vivliostyle.js (core engine)](https://github.com/vivliostyle/vivliostyle.js) to make Vivliostyle Viewer.
Vivliostyle UI is a UI component used with [Vivliostyle.js (core engine)](https://github.com/vivliostyle/vivliostyle.js) to make Vivliostyle Viewer, a Web application for HTML+CSS typesetting and rich paged viewing with EPUB/Web publications support.

## Try Vivliostyle Viewer

- [Vivliostyle Viewer samples](https://vivliostyle.org/samples/)

## Bug reports & feature requests

Expand All @@ -15,3 +19,9 @@ See [Vivliostyle.js Development](https://github.com/vivliostyle/vivliostyle.js/w
## License

Licensed under [AGPL Version 3](http://www.gnu.org/licenses/agpl.html).

## Documentation

- [Vivliostyle Viewer User’s Guide](https://vivliostyle.github.io/vivliostyle.js/docs/en/)

- [Vivliostyle Documentation](https://vivliostyle.org/docs/)
17 changes: 12 additions & 5 deletions dist/README.ja.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Vivliostyle Viewer

Vivliostyle Viewerは、HTML+CSS文書を組版・表示するWebアプリケーションです。
このパッケージは[Vivliostyle core engine](https://github.com/vivliostyle/vivliostyle.js)[Vivliostyle UI](https://github.com/vivliostyle/vivliostyle-ui)およびその他の組版ライブラリーを組み合わせたものです。
Vivliostyle Viewerは、HTML+CSS文書を美しくページ組版・表示するWebアプリケーションであり、EPUBやWeb出版物をサポートします。

このパッケージは[Vivliostyle.js (core engine)](https://github.com/vivliostyle/vivliostyle.js)[Vivliostyle UI](https://github.com/vivliostyle/vivliostyle-ui)を組み合わせたものです。

- オンラインでサンプルを見る <https://vivliostyle.org/samples/>
- リリース版のダウンロード <https://github.com/vivliostyle/vivliostyle.js/releases>
Expand Down Expand Up @@ -35,10 +36,16 @@ Vivliostyle Viewerは、HTML+CSS文書を組版・表示するWebアプリケー

以下にお寄せください。

- GitHub Issues <https://github.com/vivliostyle/vivliostyle.js/issues>
- メーリングリスト <https://groups.google.com/forum/?hl=ja#!forum/vivliostyle-ja>
- GitHub Issues: <https://github.com/vivliostyle/vivliostyle.js/issues>
- UIに関する問題は <https://github.com/vivliostyle/vivliostyle-ui/issues>

## ソースコード

- Vivliostyle core engine on GitHub: <https://github.com/vivliostyle/vivliostyle.js>
- Vivliostyle.js (core engine) on GitHub: <https://github.com/vivliostyle/vivliostyle.js>
- Vivliostyle UI on GitHub: <https://github.com/vivliostyle/vivliostyle-ui>

## ドキュメント

- [Vivliostyle Viewer ユーザーガイド](https://vivliostyle.github.io/vivliostyle.js/docs/ja/)

- [Vivliostyle ドキュメント](https://vivliostyle.org/ja/docs/)
15 changes: 11 additions & 4 deletions dist/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Vivliostyle Viewer

Vivliostyle Viewer is a web application displaying and typesetting HTML+CSS documents.
This is a bundled package of [Vivliostyle core engine](https://github.com/vivliostyle/vivliostyle.js), [Vivliostyle UI](https://github.com/vivliostyle/vivliostyle-ui) and other typesetting libraries.
Vivliostyle Viewer is a Web application for HTML+CSS typesetting and rich paged viewing with EPUB/Web publications support.

This is a bundled package of [Vivliostyle.js (core engine)](https://github.com/vivliostyle/vivliostyle.js) and [Vivliostyle UI](https://github.com/vivliostyle/vivliostyle-ui).

- View samples online: <https://vivliostyle.org/samples/>
- Download release version: <https://github.com/vivliostyle/vivliostyle.js/releases>
Expand Down Expand Up @@ -37,9 +38,15 @@ This is a bundled package of [Vivliostyle core engine](https://github.com/vivlio
Please send them to

- GitHub Issues: <https://github.com/vivliostyle/vivliostyle.js/issues>
- Mailing list: <https://groups.google.com/forum/?hl=ja#!forum/vivliostyle>
- About UI issues <https://github.com/vivliostyle/vivliostyle-ui/issues>

## Source code

- Vivliostyle core engine on GitHub: <https://github.com/vivliostyle/vivliostyle.js>
- Vivliostyle.js (core engine) on GitHub: <https://github.com/vivliostyle/vivliostyle.js>
- Vivliostyle UI on GitHub: <https://github.com/vivliostyle/vivliostyle-ui>

## Documentation

- [Vivliostyle Viewer User’s Guide](https://vivliostyle.github.io/vivliostyle.js/docs/en/)

- [Vivliostyle Documentation](https://vivliostyle.org/docs/)
3 changes: 3 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ function getBrowserify(development, watch) {
function bundleJs(b, name) {
return b.bundle()
.on("error", gutil.log.bind(gutil, "Browserify Error"))
.pipe(name === JS_ENTRIES.production
? require('minify-stream')({ sourceMap: false })
: gutil.noop())
.pipe(source(name))
.pipe(gulp.dest(destDir("js")));
}
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vivliostyle-ui",
"version": "2019.1.106",
"description": "Paged viewer UI with Vivliostyle Engine as its layout engine",
"version": "2019.8.100-pre",
"description": "Vivliostyle Viewer UI component, for rich paged viewing and printing in browser",
"scripts": {
"setup-local-vivliostyle": "node scripts/setup-local-vivliostyle.js",
"build": "gulp build",
Expand Down Expand Up @@ -44,6 +44,7 @@
"karma-sauce-launcher": "^1.2.0",
"karma-verbose-reporter": "0.0.6",
"knockout": "^3.3.0",
"tinyify": "^2.5.1",
"vinyl-source-stream": "^2.0.0",
"watchify": "^3.3.1"
}
Expand Down
2 changes: 1 addition & 1 deletion src/html/vivliostyle-viewer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script src="resources/mathjax-config.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML"></script>
<% if (development) { %>
<script src="../node_modules/vivliostyle/src/vivliostyle.js"></script>
<script src="../node_modules/vivliostyle/lib/vivliostyle.dev.js"></script>
<script src="js/main-dev.js"></script>
<% } else { %>
<script src="js/main.js"></script>
Expand Down

0 comments on commit 8ee4e19

Please sign in to comment.