unzimmer.js -> tools

This commit is contained in:
vss-devel 2019-02-28 19:21:47 +03:00
parent 4e19018dd5
commit d559ce4f80
3 changed files with 54 additions and 23 deletions

View File

@ -12,39 +12,33 @@
"zim",
"pack"
],
"optionalDependencies": {
"xz": "^1.3.0"
},
"dependencies": {
"animated-gif-detector": "^1.2.0",
"cheerio": "*",
"child-process": "*",
"commander": "^2.11.0",
"csv-parse": "*",
"csv-stringify": "^4.3.1",
"encodeurl": "^1.0.1",
"expand-home-dir": "*",
"fs-extra": "^3.0.1",
"generic-pool": "^3.1.7",
"request-promise-native": "^1.0.5",
"sqlite": "^2.8.0",
"sqlite3": "*",
"cheerio": "*",
"html-minifier": "^3.5.21",
"iconv-lite": "^0.4.17",
"langs": "^2.0.0",
"lzma-native": "*",
"mime-db": "*",
"encodeurl": "^1.0.1",
"iconv-lite": "^0.4.17",
"quick-lru": "^1.0.0",
"mime-types": "*",
"mmmagic": "*",
"moment": "^2.22.2",
"moment-duration-format": "^2.2.2",
"mozjpeg": "*",
"expand-home-dir": "*",
"lzma-native": "*",
"uuid": "*",
"csv-parse": "*",
"mz": "^2.6.0",
"promised-read": "^2.0.1",
"quick-lru": "^1.0.0",
"request-promise-native": "^1.0.5",
"sanitize-filename": "^1.6.1",
"sharp": "^0.17.3",
"sqlite": "^2.8.0",
"sqlite3": "*",
"uuid": "*"
"generic-pool": "^3.1.7",
"mozjpeg": "*",
"child-process": "*",
"animated-gif-detector": "^1.2.0",
"mime-db": "*"
},
"engines": {
"node": ">=8.0.0"

37
tools/package.json Normal file
View File

@ -0,0 +1,37 @@
{
"name": "unzimmer",
"version": "",
"description": "",
"main": "unzimmer.js",
"scripts": {
"test": "echo no tests"
},
"private": true,
"keywords": [
"mediawiki",
"zim",
"unpack"
],
"dependencies": {
"xz": "^1.3.0",
"expand-home-dir": "*",
"fs-extra": "^3.0.1",
"mime-db": "*",
"mime-types": "*",
"generic-pool": "^3.1.7",
"promised-read": "^2.0.1",
"cheerio": "*",
"commander": "^2.11.0",
"csv-stringify": "^4.3.1",
"moment": "^2.22.2",
"moment-duration-format": "^2.2.2"
},
"engines": {
"node": ">=8.0.0"
},
"bin": {
"unzimmer": "./unzimmer.js"
},
"author": "Vadim Shlykahov",
"license": "ISC"
}

View File

@ -10,8 +10,8 @@
const os = require('os')
const osProcess = require('process')
const osPath = require( 'path' )
const expandHomeDir = require( 'expand-home-dir' )
const expandHomeDir = require( 'expand-home-dir' )
const fs = require( 'fs-extra' )
const mimeDb = require( 'mime-db' )
const mime = require( 'mime-types' )