npm module

This commit is contained in:
daniel-j 2016-08-14 20:31:28 +02:00
parent 89828dd2d7
commit 422e0804a1
4 changed files with 27 additions and 12 deletions

1
.gitignore vendored
View file

@ -7,3 +7,4 @@ extension.pem
extension.xpi
extension.zip
fimfic2epub.safariextension/
*.epub

15
.npmignore Normal file
View file

@ -0,0 +1,15 @@
# git ignore
.DS_Store
node_modules/
extension/fimfic2epub.js
extension/eventPage.js
extension.crx
extension.pem
extension.xpi
extension.zip
fimfic2epub.safariextension/
*.epub
# npm ignore
extension/
assets/

View file

@ -15,11 +15,11 @@ Right now the addon is not available in Add-ons for Firefox, but it's fully comp
Installation & usage (command line)
-------------------
You can install the tool by running `npm install -g daniel-j/fimfic2epub`. You can then run it with `$ fimfic2epub <story id>`. This will save the EPUB in the current working directory.
You can install the tool by running `npm install -g fimfic2epub`. You can then run it with `$ fimfic2epub <story id>`. This will save the EPUB in the current working directory.
Example:
```
# Download Tag Test by McPoodle
Download Tag Test by McPoodle
$ fimfic2epub 180690
```

View file

@ -1,8 +1,7 @@
{
"name": "fimfic2epub",
"private": true,
"version": "1.0.4",
"description": "",
"version": "1.0.7",
"description": "Tool to generate EPUB ebooks from fimfiction stories",
"author": "djazz",
"scripts": {
"build": "gulp -p"
@ -18,31 +17,31 @@
"file-saver": "^1.3.2",
"html-entities": "^1.2.0",
"image-size": "^0.5.0",
"jszip": "^3.0.0",
"jszip": "^3.1.1",
"mithril": "^0.2.5",
"pretty-data": "^0.40.0",
"request": "^2.72.0",
"request": "^2.74.0",
"stylus": "^0.54.5",
"tidy-html5": "^0.1.1",
"zero-fill": "^2.2.3"
},
"devDependencies": {
"babel-core": "^6.9.1",
"babel-core": "^6.13.2",
"babel-loader": "^6.2.4",
"del": "^2.2.0",
"del": "^2.2.2",
"exports-loader": "^0.6.3",
"gulp": "^3.9.1",
"gulp-filter": "^4.0.0",
"gulp-json-editor": "^2.2.1",
"gulp-standard": "^7.0.1",
"gulp-util": "^3.0.7",
"gulp-watch": "^4.3.8",
"gulp-watch": "^4.3.9",
"gulp-zip": "^3.2.0",
"lazypipe": "^1.0.1",
"raw-loader": "^0.5.1",
"run-sequence": "^1.2.1",
"run-sequence": "^1.2.2",
"standard": "^7.1.2",
"stylus-loader": "^2.1.1",
"stylus-loader": "^2.2.0",
"webpack": "^2.1.0-beta.13"
},
"standard": {