{
  "name": "allegro",
  "private": true,
  "version": "0.1.0",
  "fedran": {
    "pov": "0037",
    "vol": "00"
  },
  "description": "A novel by D. Moonfire",
  "author": "D. Moonfire",
  "license": "CC-BY-NC-SA-4.0",
  "repository": {
    "type": "git",
    "url": "git+https://gitlab.com/fedran/allegro.git"
  },
  "homepage": "https://fedran.com/allegro/",
  "scripts": {
    "build:pdf": "mfgames-writing-format build pdf",
    "build:epub": "mfgames-writing-format build epub",
    "build": "npm run build:epub && npm run build:mobi && npm run build:pdf",
    "build:extended": "npm run build && npm run build:html && npm run build:docx",
    "build:docx": "sed 's@&#173;@@g' < dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.html | pandoc -f html -t docx -o dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.docx",
    "build:mobi": "kindlegen dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.epub",
    "build:html": "mfgames-writing-format build html",
    "prebuild:mobi": "npm run build:epub",
    "prebuild": "rm -f $npm_package_name-*.* $npm_package_name.tar.bz2",
    "bundle": "tar -cjf $npm_package_name.tar.bz2 *.epub *.pdf",
    "prebundle": "npm run build",
    "upload": "aws --endpoint-url https://$AWS_ENDPOINT s3 cp --acl public-read $npm_package_name.tar.bz2 s3://$AWS_BUCKET/$npm_package_name.tar.bz2",
    "preupload": "npm run bundle"
  },
  "dependencies": {
    "@fedran/writing-hyphen": "^1.0.0",
    "@fedran/writing-theme": "^3.0.5",
    "@mfgames-writing/epub2": "^1.1.3",
    "@mfgames-writing/format": "^2.0.0",
    "@mfgames-writing/guillemet": "^1.0.0",
    "@mfgames-writing/html": "^0.1.1",
    "@mfgames-writing/hyphen": "^0.4.3",
    "@mfgames-writing/weasyprint": "^4.0.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^7.6.1",
    "@commitlint/config-conventional": "^7.6.0",
    "@semantic-release/changelog": "^3.0.6",
    "@semantic-release/git": "^7.0.18",
    "commitizen": "^2.10.1",
    "cz-conventional-changelog": "^2.1.0",
    "husky": "^0.14.3",
    "semantic-release": "^15.14.0"
  },
  "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"
    }
  }
}