allegro/package.json

91 lines
3 KiB
JSON
Raw Permalink Normal View History

2019-12-18 05:07:43 +00:00
{
"name": "allegro",
"private": true,
"version": "0.31.1",
"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/",
2019-12-18 05:07:43 +00:00
"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",
"lint": "fedran-lint --require-teaser"
},
"dependencies": {
"@fedran/lint": "^0.1.0",
"@fedran/writing-hyphen": "^1.0.0",
"@fedran/writing-theme": "^3.0.5",
2020-02-25 05:27:31 +00:00
"@mfgames-writing/epub2": "^1.1.8",
"@mfgames-writing/format": "^1.2.2",
"@mfgames-writing/guillemet-pipeline": "^1.0.6",
"@mfgames-writing/html": "^0.1.6",
"@mfgames-writing/hyphen": "^0.4.8",
"@mfgames-writing/weasyprint": "^4.0.6",
2020-02-06 04:02:52 +00:00
"commitlint": "^8.3.5"
},
"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",
2020-02-06 04:01:28 +00:00
"husky": "^4.2.1",
"semantic-release": "^15.14.0"
2019-12-18 05:07:43 +00:00
},
"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",
2020-01-05 16:02:57 +00:00
"@semantic-release/npm",
2019-12-18 05:07:43 +00:00
"@semantic-release/git"
],
"publish": [],
"success": [],
"fail": []
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
2019-12-18 05:07:43 +00:00
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}