chore: initial commit

This commit is contained in:
D. Moonfire 2019-06-21 00:51:27 -05:00
commit 136fb08124
7 changed files with 9738 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
node_modules/
*.epub
*.pdf

7
.yo-rc.json Normal file
View file

@ -0,0 +1,7 @@
{
"generator-mfgames-writing": {
"promptValues": {
"author": "D. Moonfire"
}
}
}

4
README.md Normal file
View file

@ -0,0 +1,4 @@
Coins For Your Trouble by D. Moonfire
=====================================
This is the repository for *Coins For Your Trouble* by D. Moonfire.

5
chapters/chapter-01.md Normal file
View file

@ -0,0 +1,5 @@
---
title: Your First Chapter
---
This is the first chapter of *Coins For Your Trouble*.

9625
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

58
package.json Normal file
View file

@ -0,0 +1,58 @@
{
"name": "coins-for-your-trouble",
"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.4",
"@semantic-release/git": "^7.0.12",
"commitizen": "^3.1.1",
"cz-conventional-changelog": "^2.1.0",
"husky": "^2.4.1",
"semantic-release": "^15.13.16"
}
}

36
publication.yaml Normal file
View file

@ -0,0 +1,36 @@
metadata:
title: "Coins For Your Trouble"
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"