chore: initial commit
This commit is contained in:
commit
e9f3ac0b6d
7 changed files with 9616 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
node_modules/
|
||||
*.epub
|
||||
*.pdf
|
7
.yo-rc.json
Normal file
7
.yo-rc.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"generator-mfgames-writing": {
|
||||
"promptValues": {
|
||||
"author": "D. Moonfire"
|
||||
}
|
||||
}
|
||||
}
|
4
README.md
Normal file
4
README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
If I Lead This Dance by D. Moonfire
|
||||
=================================
|
||||
|
||||
This is the repository for *If I Lead This Dance* by D. Moonfire.
|
5
chapters/chapter-01.md
Normal file
5
chapters/chapter-01.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Your First Chapter
|
||||
---
|
||||
|
||||
This is the first chapter of *If I Lead This Dance*.
|
9503
package-lock.json
generated
Normal file
9503
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
58
package.json
Normal file
58
package.json
Normal file
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"name": "if-i-lead-this-dance",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"scripts": {
|
||||
"build:epub": "mfgames-writing-format build epub",
|
||||
"build:pdf": "mfgames-writing-format build pdf",
|
||||
"build": "npm run build:epub && npm run build:pdf"
|
||||
},
|
||||
"release": {
|
||||
"branch": "master",
|
||||
"message": "chore(release): v${nextRelease.version}\n\n${nextRelease.notes}",
|
||||
"verifyConditions": [
|
||||
"@semantic-release/changelog",
|
||||
"@semantic-release/git"
|
||||
],
|
||||
"analyzeCommits": [
|
||||
"@semantic-release/commit-analyzer"
|
||||
],
|
||||
"prepare": [
|
||||
"@semantic-release/changelog",
|
||||
"@semantic-release/git"
|
||||
],
|
||||
"publish": [],
|
||||
"success": [],
|
||||
"fail": []
|
||||
},
|
||||
"commitlint": {
|
||||
"extends": [
|
||||
"@commitlint/config-conventional"
|
||||
]
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "./node_modules/cz-conventional-changelog"
|
||||
}
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@commitlint/cli": "^8.0.0",
|
||||
"@commitlint/config-conventional": "^8.0.0",
|
||||
"@fedran/writing-theme": "^2.0.2",
|
||||
"@mfgames-writing/epub2": "^1.1.3",
|
||||
"@mfgames-writing/format": "^2.0.0",
|
||||
"@mfgames-writing/hyphen": "^0.4.3",
|
||||
"@mfgames-writing/weasyprint": "^3.0.2",
|
||||
"@semantic-release/changelog": "^3.0.2",
|
||||
"@semantic-release/git": "^7.0.8",
|
||||
"commitizen": "^3.1.1",
|
||||
"cz-conventional-changelog": "^2.1.0",
|
||||
"husky": "^2.4.0",
|
||||
"semantic-release": "^15.13.12"
|
||||
}
|
||||
}
|
36
publication.yaml
Normal file
36
publication.yaml
Normal file
|
@ -0,0 +1,36 @@
|
|||
metadata:
|
||||
title: "If I Lead This Dance"
|
||||
author: "D. Moonfire"
|
||||
language: en
|
||||
|
||||
theme: "@fedran/writing-theme"
|
||||
outputDirectory: .
|
||||
outputFilename: "{{ edition.name }}-{{ edition.version }}.{{ edition.editionName }}"
|
||||
|
||||
editions:
|
||||
|
||||
epub:
|
||||
format: "@mfgames-writing/epub2"
|
||||
|
||||
|
||||
pdf:
|
||||
format: "@mfgames-writing/weasyprint"
|
||||
images:
|
||||
grayscale: true
|
||||
opaque: true
|
||||
|
||||
|
||||
contents:
|
||||
- element: toc
|
||||
linear: false
|
||||
title: Contents
|
||||
exclude:
|
||||
editions: [pdf]
|
||||
- element: chapter
|
||||
number: 1
|
||||
directory: chapters
|
||||
source: /^chapter-\d+.md$/
|
||||
start: true
|
||||
page: 1
|
||||
pipeline: &pipelines
|
||||
- module: "@mfgames-writing/hyphen"
|
Loading…
Reference in a new issue