UNPKG

asciidoctor-chunker

Version:

Creates chunked (multi-page) HTML from Asciidoctor's single HTML file with supporting the fine-tuned splits in chapters, sections and any depth of subsections.

51 lines 1.6 kB
{ "name": "asciidoctor-chunker", "version": "1.0.7", "description": "Creates chunked (multi-page) HTML from Asciidoctor's single HTML file with supporting the fine-tuned splits in chapters, sections and any depth of subsections.", "author": "Wataru Shito (https://github.com/wshito)", "bin": { "asciidoctor-chunker": "dist/asciidoctor-chunker.js" }, "repository": { "type": "git", "url": "https://github.com/wshito/asciidoctor-chunker" }, "homepage": "https://github.com/wshito/asciidoctor-chunker", "scripts": { "build": "webpack", "sample": "cd test/resources; make single; cd -; node src/index.mjs test/resources/output/single/sample.html --depth 2:4,3:2 -o test/resources/output/html_chunks", "manual": "cd example; make single; cd -; node src/index.mjs example/output-single/single/user-manual.html -o example/output-chunk/html_chunk", "test": "npm run sample && ava --verbose", "watch:test": "npm run sample && ava --watch", "pack": "make", "clean": "make clean; cd test/resources; make clean; cd ../../example; make clean; cd -" }, "keywords": [ "asciidoctor", "asciidoc", "documentation", "document", "web", "html", "docbook", "chunked html", "markdown" ], "license": "MIT", "dependencies": { "cheerio": "^1.0.0", "commander": "^13.0.0" }, "devDependencies": { "ava": "^6.2.0", "webpack": "^5.97.1", "webpack-cli": "^6.0.1", "webpack-shebang-plugin": "^1.1.8" }, "ava": { "files": [ "test/**/test*.mjs", "test/**/test*.js" ] } }