2020-03-20 22:59:15 +03:00
|
|
|
const Promise = require('bluebird');
|
2020-03-20 23:03:38 +03:00
|
|
|
const extract = require('@tryghost/extract-zip');
|
2020-03-20 22:59:15 +03:00
|
|
|
const zipFolder = require('./lib/zip-folder');
|
|
|
|
|
2020-03-20 19:35:13 +03:00
|
|
|
module.exports = {
|
2020-03-20 22:59:15 +03:00
|
|
|
zipFolder: Promise.promisify(zipFolder),
|
|
|
|
extract: Promise.promisify(extract)
|
2020-03-20 19:35:13 +03:00
|
|
|
};
|