From 1133e23305a7326cbeb08e6e0dbcb4c2f0dcad9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20J=C3=B6nsson?= Date: Wed, 14 Mar 2018 16:07:09 +0100 Subject: [PATCH] Add standalone gulp mode. This changes the webpack task to only do a static build --- bin/fimfic2epub | 3 --- gulpfile.babel.js | 14 +++++++++++++- package.json | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) delete mode 100755 bin/fimfic2epub diff --git a/bin/fimfic2epub b/bin/fimfic2epub deleted file mode 100755 index 0288904..0000000 --- a/bin/fimfic2epub +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env node -// fimfic2epub 1.7.15 -!function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.w={},o(o.s=6)}([function(e,t){e.exports=require("../package.json")},function(e,t){e.exports=require("path")},function(e,t){e.exports=require("fs")},function(e,t){e.exports=require("../dist/fimfic2epub")},function(e,t){e.exports=require("mithril/test-utils/browserMock")},function(e,t){e.exports=require("commander")},function(e,t,o){"use strict";const n=o(5).command("fimfic2epub [filename]").description(o(0).description).version(o(0).version).option("-d, --dir ","Directory to store ebook in. Is prepended to filename").option("-t, --title ","Set the title of the story").option("-a, --author ","Set the author of the story").option("-c, --no-comments-link","Don't add link to online comments").option("-H, --no-headings","Don't add headings to chapters").option("-r, --no-reading-ease","Don't calculate Flesch reading ease").option("-e, --no-external","Don't embed external resources, such as images (breaks EPUB spec)").option("-n, --no-notes","Don't include author notes").option("-i, --notes-index","Create an index with all author notes at the end of the ebook").option("-p, --paragraphs