create-book 1.1.3 → 10.0.1
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 +658 -10
- package/README.md +7 -8
- package/dist/chunk-CGNTMUWV.js +3612 -0
- package/dist/chunk-CGNTMUWV.js.map +1 -0
- package/dist/chunk-D4XGRVQ6.js +44 -0
- package/dist/chunk-D4XGRVQ6.js.map +1 -0
- package/dist/chunk-VMSWFJV3.js +3598 -0
- package/dist/chunk-VMSWFJV3.js.map +1 -0
- package/dist/cli.js +42546 -0
- package/dist/cli.js.map +1 -0
- package/dist/esm-37JFDZDP.js +6028 -0
- package/dist/esm-37JFDZDP.js.map +1 -0
- package/dist/multipart-parser-J2AQO3RK.js +179 -0
- package/dist/multipart-parser-J2AQO3RK.js.map +1 -0
- package/dist/multipart-parser-PQ4MHJFX.js +172 -0
- package/dist/multipart-parser-PQ4MHJFX.js.map +1 -0
- package/package.json +13 -43
- package/lib/cli.js +0 -12
- package/templates/default/README.md +0 -14
- package/templates/default/gitignore +0 -130
- package/templates/default/manuscript.md +0 -11
- package/templates/default/package.json +0 -15
- package/templates/default/vivliostyle.config.js +0 -31
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# {{capital name space=true}}
|
|
2
|
-
|
|
3
|
-
{{description}}
|
|
4
|
-
|
|
5
|
-
> created by [create-book](https://github.com/vivliostyle/create-book).
|
|
6
|
-
|
|
7
|
-
## References
|
|
8
|
-
|
|
9
|
-
- VFM <https://vivliostyle.github.io/vfm/#/vfm>
|
|
10
|
-
- Vivliostyle CLI <https://github.com/vivliostyle/vivliostyle-cli#readme>
|
|
11
|
-
- Vivliostyle Themes <https://github.com/vivliostyle/themes#readme>
|
|
12
|
-
- Awesome Vivliostyle <https://github.com/vivliostyle/awesome-vivliostyle#readme>
|
|
13
|
-
- Vivliostyle (GitHub) <https://github.com/vivliostyle>
|
|
14
|
-
- Vivliostyle <https://vivliostyle.org>
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
# Logs
|
|
2
|
-
logs
|
|
3
|
-
*.log
|
|
4
|
-
npm-debug.log*
|
|
5
|
-
yarn-debug.log*
|
|
6
|
-
yarn-error.log*
|
|
7
|
-
lerna-debug.log*
|
|
8
|
-
.pnpm-debug.log*
|
|
9
|
-
|
|
10
|
-
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
11
|
-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
12
|
-
|
|
13
|
-
# Runtime data
|
|
14
|
-
pids
|
|
15
|
-
*.pid
|
|
16
|
-
*.seed
|
|
17
|
-
*.pid.lock
|
|
18
|
-
|
|
19
|
-
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
20
|
-
lib-cov
|
|
21
|
-
|
|
22
|
-
# Coverage directory used by tools like istanbul
|
|
23
|
-
coverage
|
|
24
|
-
*.lcov
|
|
25
|
-
|
|
26
|
-
# nyc test coverage
|
|
27
|
-
.nyc_output
|
|
28
|
-
|
|
29
|
-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
30
|
-
.grunt
|
|
31
|
-
|
|
32
|
-
# Bower dependency directory (https://bower.io/)
|
|
33
|
-
bower_components
|
|
34
|
-
|
|
35
|
-
# node-waf configuration
|
|
36
|
-
.lock-wscript
|
|
37
|
-
|
|
38
|
-
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
39
|
-
build/Release
|
|
40
|
-
|
|
41
|
-
# Dependency directories
|
|
42
|
-
node_modules/
|
|
43
|
-
jspm_packages/
|
|
44
|
-
|
|
45
|
-
# Snowpack dependency directory (https://snowpack.dev/)
|
|
46
|
-
web_modules/
|
|
47
|
-
|
|
48
|
-
# TypeScript cache
|
|
49
|
-
*.tsbuildinfo
|
|
50
|
-
|
|
51
|
-
# Optional npm cache directory
|
|
52
|
-
.npm
|
|
53
|
-
|
|
54
|
-
# Optional eslint cache
|
|
55
|
-
.eslintcache
|
|
56
|
-
|
|
57
|
-
# Optional stylelint cache
|
|
58
|
-
.stylelintcache
|
|
59
|
-
|
|
60
|
-
# Microbundle cache
|
|
61
|
-
.rpt2_cache/
|
|
62
|
-
.rts2_cache_cjs/
|
|
63
|
-
.rts2_cache_es/
|
|
64
|
-
.rts2_cache_umd/
|
|
65
|
-
|
|
66
|
-
# Optional REPL history
|
|
67
|
-
.node_repl_history
|
|
68
|
-
|
|
69
|
-
# Output of 'npm pack'
|
|
70
|
-
*.tgz
|
|
71
|
-
|
|
72
|
-
# Yarn Integrity file
|
|
73
|
-
.yarn-integrity
|
|
74
|
-
|
|
75
|
-
# dotenv environment variable files
|
|
76
|
-
.env
|
|
77
|
-
.env.development.local
|
|
78
|
-
.env.test.local
|
|
79
|
-
.env.production.local
|
|
80
|
-
.env.local
|
|
81
|
-
|
|
82
|
-
# parcel-bundler cache (https://parceljs.org/)
|
|
83
|
-
.cache
|
|
84
|
-
.parcel-cache
|
|
85
|
-
|
|
86
|
-
# Next.js build output
|
|
87
|
-
.next
|
|
88
|
-
out
|
|
89
|
-
|
|
90
|
-
# Nuxt.js build / generate output
|
|
91
|
-
.nuxt
|
|
92
|
-
dist
|
|
93
|
-
|
|
94
|
-
# Gatsby files
|
|
95
|
-
.cache/
|
|
96
|
-
# Comment in the public line in if your project uses Gatsby and not Next.js
|
|
97
|
-
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
98
|
-
# public
|
|
99
|
-
|
|
100
|
-
# vuepress build output
|
|
101
|
-
.vuepress/dist
|
|
102
|
-
|
|
103
|
-
# vuepress v2.x temp and cache directory
|
|
104
|
-
.temp
|
|
105
|
-
.cache
|
|
106
|
-
|
|
107
|
-
# Docusaurus cache and generated files
|
|
108
|
-
.docusaurus
|
|
109
|
-
|
|
110
|
-
# Serverless directories
|
|
111
|
-
.serverless/
|
|
112
|
-
|
|
113
|
-
# FuseBox cache
|
|
114
|
-
.fusebox/
|
|
115
|
-
|
|
116
|
-
# DynamoDB Local files
|
|
117
|
-
.dynamodb/
|
|
118
|
-
|
|
119
|
-
# TernJS port file
|
|
120
|
-
.tern-port
|
|
121
|
-
|
|
122
|
-
# Stores VSCode versions used for testing VSCode extensions
|
|
123
|
-
.vscode-test
|
|
124
|
-
|
|
125
|
-
# yarn v2
|
|
126
|
-
.yarn/cache
|
|
127
|
-
.yarn/unplugged
|
|
128
|
-
.yarn/build-state.yml
|
|
129
|
-
.yarn/install-state.gz
|
|
130
|
-
.pnp.*
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# {吾輩|わがはい}は猫である。
|
|
2
|
-
|
|
3
|
-
{吾輩|わがはい}は猫である。名前はまだ無い。
|
|
4
|
-
|
|
5
|
-
どこで生れたかとんと{見当|けんとう}がつかぬ。何でも薄暗いじめじめした所でニャーニャー泣いていた事だけは記憶している。吾輩はここで始めて人間というものを見た。しかもあとで聞くとそれは書生という人間中で一番{獰悪|どうあく}な種族であったそうだ。この書生というのは時々我々を{捕|つかま}えて{煮|に}て食うという話である。しかしその当時は何という考もなかったから別段恐しいとも思わなかった。ただ彼の{掌|てのひら}に載せられてスーと持ち上げられた時何だかフワフワした感じがあったばかりである。掌の上で少し落ちついて書生の顔を見たのがいわゆる人間というものの{見始|みはじめ}であろう。この時妙なものだと思った感じが今でも残っている。第一毛をもって装飾されべきはずの顔がつるつるしてまるで{薬缶|やかん}だ。その{後|ご}猫にもだいぶ{逢|あ}ったがこんな{片輪|かたわ}には一度も{出会|でく}わした事がない。のみならず顔の真中があまりに突起している。そうしてその穴の中から時々ぷうぷうと{煙|けむり}を吹く。どうも{咽|む}せぽくて実に弱った。これが人間の飲む{煙草|たばこ}というものである事はようやくこの頃知った。
|
|
6
|
-
|
|
7
|
-
この書生の掌の{裏|うち}でしばらくはよい心持に坐っておったが、しばらくすると非常な速力で運転し始めた。書生が動くのか自分だけが動くのか分らないが{無暗|むやみ}に眼が廻る。胸が悪くなる。{到底|とうてい}助からないと思っていると、どさりと音がして眼から火が出た。それまでは記憶しているがあとは何の事やらいくら考え出そうとしても分らない。
|
|
8
|
-
|
|
9
|
-
ふと気が付いて見ると書生はいない。たくさんおった兄弟が一{疋|ぴき}も見えぬ。{肝心|かんじん}の母親さえ姿を隠してしまった。その上{今|いま}までの所とは違って{無暗|むやみ}に明るい。眼を明いていられぬくらいだ。はてな何でも{容子|ようす}がおかしいと、のそのそ{這|は}い出して見ると非常に痛い。吾輩は{藁|わら}の上から急に笹原の中へ棄てられたのである。
|
|
10
|
-
|
|
11
|
-
ようやくの思いで笹原を這い出すと向うに大きな池がある。吾輩は池の前に坐ってどうしたらよかろうと考えて見た。別にこれという{分別|ふんべつ}も出ない。しばらくして泣いたら書生がまた迎に来てくれるかと考え付いた。ニャー、ニャーと試みにやって見たが誰も来ない。そのうち池の上をさらさらと風が渡って日が暮れかかる。腹が非常に減って来た。泣きたくても声が出ない。仕方がない、何でもよいから{食物|くいもの}のある所まであるこうと決心をしてそろりそろりと池を{左|ひだ}りに廻り始めた。どうも非常に苦しい。そこを我慢して無理やりに{這|は}って行くとようやくの事で何となく人間臭い所へ出た。ここへ{這入|はい}ったら、どうにかなると思って竹垣の{崩|くず}れた穴から、とある邸内にもぐり込んだ。縁は不思議なもので、もしこの竹垣が破れていなかったなら、吾輩はついに{路傍|ろぼう}に{餓死|がし}したかも知れんのである。一樹の蔭とはよく{云|い}ったものだ。この垣根の穴は{今日|こんにち}に至るまで吾輩が{隣家|となり}の三毛を訪問する時の通路になっている。さて{邸|やしき}へは忍び込んだもののこれから先どうして{善|い}いか分らない。そのうちに暗くなる、腹は減る、寒さは寒し、雨が降って来るという始末でもう一刻の{猶予|ゆうよ}が出来なくなった。仕方がないからとにかく明るくて暖かそうな方へ方へとあるいて行く。今から考えるとその時はすでに家の内に這入っておったのだ。ここで吾輩は{彼|か}の書生以外の人間を再び見るべき機会に{遭遇|そうぐう}したのである。第一に逢ったのがおさんである。これは前の書生より一層乱暴な方で吾輩を見るや否やいきなり{頸筋|くびすじ}をつかんで表へ{抛|ほう}り出した。いやこれは駄目だと思ったから眼をねぶって運を天に任せていた。しかしひもじいのと寒いのにはどうしても我慢が出来ん。吾輩は再びおさんの{隙|すき}を見て台所へ{這|は}い{上|あが}った。すると間もなくまた投げ出された。吾輩は投げ出されては這い上り、這い上っては投げ出され、何でも同じ事を四五遍繰り返したのを記憶している。その時におさんと云う者はつくづくいやになった。この間おさんの{三馬|さんま}を{偸|ぬす}んでこの返報をしてやってから、やっと胸の{痞|つかえ}が下りた。吾輩が最後につまみ出されようとしたときに、この{家|うち}の主人が騒々しい何だといいながら出て来た。下女は吾輩をぶら下げて主人の方へ向けてこの{宿|やど}なしの小猫がいくら出しても出しても{御台所|おだいどころ}へ{上|あが}って来て困りますという。主人は鼻の下の黒い毛を{撚|ひね}りながら吾輩の顔をしばらく{眺|なが}めておったが、やがてそんなら内へ置いてやれといったまま奥へ{這入|はい}ってしまった。主人はあまり口を聞かぬ人と見えた。下女は{口惜|くや}しそうに吾輩を台所へ{抛|ほう}り出した。かくして吾輩はついにこの{家|うち}を自分の{住家|すみか}と{極|き}める事にしたのである。
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{kebab name}}",
|
|
3
|
-
"description": "{{name}}",
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"author": "{{contact}}",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "vivliostyle build",
|
|
8
|
-
"preview": "vivliostyle preview"
|
|
9
|
-
},
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"@vivliostyle/cli": "latest"
|
|
12
|
-
},
|
|
13
|
-
"license": "{{license}}",
|
|
14
|
-
"private": true
|
|
15
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
title: '{{name}}', // populated into `publication.json`, default to `title` of the first entry or `name` in `package.json`.
|
|
3
|
-
author: '{{contact}}', // default to `author` in `package.json` or undefined.
|
|
4
|
-
// language: 'ja', // default to undefined.
|
|
5
|
-
// size: 'A4', // paper size.
|
|
6
|
-
theme: '{{theme.name}}@^{{theme.version}}', // .css or local dir or npm package. default to undefined.
|
|
7
|
-
entry: [
|
|
8
|
-
'manuscript.md', // `title` is automatically guessed from the file (frontmatter > first heading).
|
|
9
|
-
// {
|
|
10
|
-
// path: 'epigraph.md',
|
|
11
|
-
// title: 'Epigraph', // title can be overwritten (entry > file),
|
|
12
|
-
// theme: '@vivliostyle/theme-whatever', // theme can be set individually. default to the root `theme`.
|
|
13
|
-
// },
|
|
14
|
-
// 'glossary.html', // html can be passed.
|
|
15
|
-
], // `entry` can be `string` or `object` if there's only single markdown file.
|
|
16
|
-
// entryContext: './manuscripts', // default to '.' (relative to `vivliostyle.config.js`).
|
|
17
|
-
// output: [ // path to generate draft file(s). default to '{title}.pdf'
|
|
18
|
-
// './output.pdf', // the output format will be inferred from the name.
|
|
19
|
-
// {
|
|
20
|
-
// path: './book',
|
|
21
|
-
// format: 'webpub',
|
|
22
|
-
// },
|
|
23
|
-
// ],
|
|
24
|
-
// workspaceDir: '.vivliostyle', // directory which is saved intermediate files.
|
|
25
|
-
// toc: true, // whether generate and include ToC HTML or not, default to 'false'.
|
|
26
|
-
// cover: './cover.png', // cover image. default to undefined.
|
|
27
|
-
// vfm: { // options of VFM processor
|
|
28
|
-
// hardLineBreaks: true, // converts line breaks of VFM to <br> tags. default to 'false'.
|
|
29
|
-
// disableFormatHtml: true, // disables HTML formatting. default to 'false'.
|
|
30
|
-
// },
|
|
31
|
-
}
|