Ghost/ghost/zip
Hannah Wolfe 35ff6d1462 Expose extract, promisify + test cleanup
- Expose extract-zip as a utility
- Wrap extract and zipFolder in promisify
- Cleanup tests slightly
2020-03-20 19:59:15 +00:00
..
lib 🐛 Ignored node_modules dir when archiving (#10969) 2019-08-06 16:17:41 +08:00
test Expose extract, promisify + test cleanup 2020-03-20 19:59:15 +00:00
.eslintrc.js Prepared new zip package 2020-03-20 16:21:52 +00:00
index.js Expose extract, promisify + test cleanup 2020-03-20 19:59:15 +00:00
LICENSE Prepared new zip package 2020-03-20 16:21:52 +00:00
package.json Prepared new zip package 2020-03-20 16:21:52 +00:00
README.md Prepared new zip package 2020-03-20 16:21:52 +00:00

Zip

Install

npm install @tryghost/zip --save

or

yarn add @tryghost/zip

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2020 Ghost Foundation - Released under the MIT license.