{"_id":"@bung87/gitzip","_rev":"3-a9579cda377b28c07e97954ff237b8ef","name":"@bung87/gitzip","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@bung87/gitzip","version":"1.0.0","description":"Archives ignoring files from gitignore","main":"lib/gitzip.js","bin":{"gitzip":"bin/cli.js"},"publishConfig":{"access":"public"},"scripts":{"conventional-changelog":"conventional-changelog","lint":"eslint .","lint-fix":"eslint --fix .","unit-test":"jest","test":"npm run lint && npm run unit-test","changelog":"npm run conventional-changelog -- -p angular -i CHANGELOG.md -s"},"author":{"name":"veshu","email":"tcveshu@gmail.com"},"license":"MIT","keywords":["git","git-archive","node-zip","zip","gitignore zip","gitzip"],"dependencies":{"archiver":"^3.0.0","async":"^2.6.1","globby":"^8.0.1","mkdirp":"^1.0.3","yargonaut":"^1.1.4","yargs":"^12.0.5"},"repository":{"type":"git","url":"git+ssh://git@github.com/veshu/gitzip.git"},"homepage":"https://github.com/veshu/gitzip","devDependencies":{"@babel/core":"^7.9.0","@babel/preset-env":"^7.9.0","babel-jest":"^25.2.1","chai":"^4.2.0","command-line-test":"^1.0.10","conventional-changelog-cli":"^2.0.31","eslint":"^5.6.1","eslint-config-prettier":"^3.1.0","eslint-plugin-prettier":"^2.7.0","fs":"0.0.1-security","jest":"^25.2.1","klaw-sync":"^6.0.0","prettier":"^1.14.3","regenerator-runtime":"^0.12.1","rimraf":"^2.6.2","unzip-stream":"^0.3.0"},"gitHead":"722ad8df58d835127a176e619f1fe91518f66c59","bugs":{"url":"https://github.com/veshu/gitzip/issues"},"_id":"@bung87/gitzip@1.0.0","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-FmHRlY+PKIbRy1eXCgNAm7O4XHFboGKpd2WYdiOr7B6VLkkRFaukV8/widhkuBMWUPIpXCCZUtcyYim4j5Tz7Q==","shasum":"8a2a0b0f250894e6794b69beadfadc707476db55","tarball":"https://registry.npmjs.org/@bung87/gitzip/-/gitzip-1.0.0.tgz","fileCount":17,"unpackedSize":15839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTVNcCRA9TVsSAnZWagAAoncP/1ysqe8+azQhm4E8u/TB\ncY13qRh4msgq7w5bN4B6dtmOAWScOaZYecCBZX1ciEM2ti7vyiYqgAfAdUdP\nUNdBOTLmc1/Ivzq2PWIwOp6gukfDSzfXf9ANSztU59kwi2ZBx+fdQ9/91kxW\nd6rUPyc2n+5yPXzd63I2V9IO0axMv1GbjbnXCQS/QB8B/INZb6WPdlpa6sTu\nj7isadO3vidYiyPb+kjo/Qwdx/vVFCkT6LKFBdgdfzz2Er5Zohs35kgN8Hqq\nJSBaqmItUg3KiCPgNTahfcmQ/51GUA5FPh/3PufXl6CAKQ/nJSQaeTXQBhEW\n0zL1T5LiRIsqyUyh6CGfatc2sO5+9Eyb0Ls9f0ZvZ2hQDGfpToCsK+B10SCZ\nu8NfZRe1UW23/RUHMyp8IPUhpDluRY6mNarDkbbC453zqoKkczRVHSRqhKgB\nb6u7u6DHVpHhSS4ll1zASAbWzvG8XxWB6YqyUoHdyvRjfrLY2RqyRfXdh2MW\n6rJLxqkFbHCZ4jxS1DviMjp1f4dZLy87E0YeRiZ6ND4TrAV0H5ASb+wyLuYW\nOzZ7JOeusGz3y/KLFggvqWz8vb8BaqMANLL/wYBvVifwcD+borr5QUM0Le99\nkViYq/xDgt/J9lXBefekqEExqYnEQEwhYmpuA1EIooVaSRKy2XaEDdvPqX4J\n7bxa\r\n=i1Vy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCC/RdHyE/D4JPdRYPhHTJ+G7oBHrcIOt7GxhYw0DRAiQIgRiJRfyJgP9VduR/o4FwWe6iaQXdilA/znA35HbDokwI="}]},"_npmUser":{"name":"bung87","email":"crc32@qq.com"},"directories":{},"maintainers":[{"name":"bung87","email":"crc32@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gitzip_1.0.0_1615680347698_0.7366098374426164"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bung87/gitzip","version":"1.0.1","description":"Archives ignoring files from gitignore","main":"lib/gitzip.js","bin":{"gitzip":"bin/cli.js"},"publishConfig":{"access":"public"},"scripts":{"conventional-changelog":"conventional-changelog","lint":"eslint .","lint-fix":"eslint --fix .","unit-test":"jest","test":"npm run lint && npm run unit-test","changelog":"npm run conventional-changelog -- -p angular -i CHANGELOG.md -s"},"author":{"name":"veshu","email":"tcveshu@gmail.com"},"license":"MIT","keywords":["git","git-archive","node-zip","zip","gitignore zip","gitzip"],"dependencies":{"archiver":"^3.0.0","async":"^2.6.1","globby":"^8.0.1","mkdirp":"^1.0.3","yargonaut":"^1.1.4","yargs":"^12.0.5"},"repository":{"type":"git","url":"git+ssh://git@github.com/veshu/gitzip.git"},"homepage":"https://github.com/veshu/gitzip","devDependencies":{"@babel/core":"^7.9.0","@babel/preset-env":"^7.9.0","babel-jest":"^25.2.1","chai":"^4.2.0","command-line-test":"^1.0.10","conventional-changelog-cli":"^2.0.31","eslint":"^5.6.1","eslint-config-prettier":"^3.1.0","eslint-plugin-prettier":"^2.7.0","fs":"0.0.1-security","jest":"^25.2.1","klaw-sync":"^6.0.0","prettier":"^1.14.3","regenerator-runtime":"^0.12.1","rimraf":"^2.6.2","unzip-stream":"^0.3.0"},"gitHead":"b6535f292781edfee103e86cf3e11402fb74cddb","bugs":{"url":"https://github.com/veshu/gitzip/issues"},"_id":"@bung87/gitzip@1.0.1","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-BfhTmnmnpwH7XcvczEnMS20s+e/Ab/S/RZ4vqpUDWUlE/efM8HK7JoqA3ptIYDTie5hAcViby39vhJ6tcm3akw==","shasum":"cb029c4ef032d26babc4a087ac1d9a9b2719d681","tarball":"https://registry.npmjs.org/@bung87/gitzip/-/gitzip-1.0.1.tgz","fileCount":17,"unpackedSize":15816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTVRcCRA9TVsSAnZWagAAmisP/iTfcKPRG9pOnsb9COPJ\nRA8/FOOGnsL9yOQ1RjZXGAnFL/4gILHK2z6+rO+7dx08CM4lzyibUf2a21qd\nVXy08AI3ha3bql2PUtHdt03DqhAqcaqQN5n5VyS0Qp4XXTAB32Y0KAj7vgQ7\nua/n1kcUusCa6r6Ehbf4g264DMwERxRmlETJcIt4QPQmMmD7MpXIch9Nwpya\npGGv1lDsTrNepjfXq6VG0CFvBgIjnBluV9AFBWOmOyJRATo+5dQMlg9PXcyA\nbZWdWf7jzjePOE/9DFqukXdW2obS6QnftUIgXKum8WJMag+b6Q4klCRmoPWb\nRZ3bg5OXjfvfm3VVsC4V+qMC7WaRQHZXVcSno6/1f280Y8NssJnV81ANKgYG\nMGas57OwJ80O+uZQRQda4cyp2qdfevA4em2WfPg/oWC6+eNl8KnixfmucqTt\nYyhOa7K08+7fn31ybFoRYLzYcIHtkjxXfZzPoVJPd33Mrr+AWbCqOKNnGwVX\n2q9/o4syFJYp48oZSGC3MBH23AmmGVUe8jjBJaTzcPhO2frf47m8CjW4D5OX\n+GevliCjsQ0pG/a9dthDFT9XyFhLGrMMU5WApDMeYptcuPbiWow2PnO7enzc\nH6fDLWcgoKFOAiD0bA+IEn6kl4Cw2SwnRAzHG9ES3xVGG0z1SHSjyWdOuSPk\nRes7\r\n=QvBg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuL78PW6Pgxn8z2QfW0uFkuVwREHB0dEehrfSaDLpekAIgIMiYo/D0J0sgJOwceun5c1U/ilZVyygYYDPGY4t6qZQ="}]},"_npmUser":{"name":"bung87","email":"crc32@qq.com"},"directories":{},"maintainers":[{"name":"bung87","email":"crc32@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gitzip_1.0.1_1615680603799_0.7804498568039051"},"_hasShrinkwrap":false},"1.0.2":{"name":"@bung87/gitzip","version":"1.0.2","description":"Archives ignoring files from gitignore","main":"lib/gitzip.js","bin":{"gitzip":"bin/cli.js"},"publishConfig":{"access":"public"},"scripts":{"conventional-changelog":"conventional-changelog","lint":"eslint .","lint-fix":"eslint --fix .","unit-test":"jest","test":"npm run lint && npm run unit-test","changelog":"npm run conventional-changelog -- -p angular -i CHANGELOG.md -s"},"author":{"name":"veshu","email":"tcveshu@gmail.com"},"license":"MIT","keywords":["git","git-archive","node-zip","zip","gitignore zip","gitzip"],"dependencies":{"archiver":"^3.0.0","async":"^2.6.1","globby":"^8.0.1","mkdirp":"^1.0.3","yargonaut":"^1.1.4","yargs":"^12.0.5"},"repository":{"type":"git","url":"git+ssh://git@github.com/veshu/gitzip.git"},"homepage":"https://github.com/veshu/gitzip","devDependencies":{"@babel/core":"^7.9.0","@babel/preset-env":"^7.9.0","babel-jest":"^25.2.1","chai":"^4.2.0","command-line-test":"^1.0.10","conventional-changelog-cli":"^2.0.31","eslint":"^5.6.1","eslint-config-prettier":"^3.1.0","eslint-plugin-prettier":"^2.7.0","fs":"0.0.1-security","jest":"^25.2.1","klaw-sync":"^6.0.0","prettier":"^1.14.3","regenerator-runtime":"^0.12.1","rimraf":"^2.6.2","unzip-stream":"^0.3.0"},"gitHead":"00c93b2dc4f1ff8f47e4595946a36dfc720eb6f9","bugs":{"url":"https://github.com/veshu/gitzip/issues"},"_id":"@bung87/gitzip@1.0.2","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-uwQy/q+Okv4ZhGH5O2VjJlFbGdR/ELTl7Ad4SNtb/q6zqUjfXGO0r+2GlAEkFNsyZXhKxQA2Ma8sXzFF2H0q7w==","shasum":"93453dd78325449de2965c57e5e52c2bd4a55c00","tarball":"https://registry.npmjs.org/@bung87/gitzip/-/gitzip-1.0.2.tgz","fileCount":17,"unpackedSize":16094,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUpwfCRA9TVsSAnZWagAA8CcP/0DPL/LOJkrm2iR/GQGu\nPMk+5qCLbGegfA6O+CCyxqYAgucMjAQnwdhjWKuHJ3A8cOMgguppfudj2Qlw\nvzo4ayh+5zvetlp94KRpNNvdwl6vN0keXCR/QlfzEsxBOueq5A5WhKyoIYvN\niUF85DsbfXOK/507OM6TrMCazqngraqiKnwN7p63hxF3S70DZjZDSA8zy2C3\ns9BI/AOdvpD9A/RotFeDQBE2gY9P1oVft9NAvLlLBbZ9Xnjpe6CWu5CBAkfC\nDVL8COLDaQ1RNnavl6REgML/nLl9HNOcda3VCZhheQxi+lxbHglzCr/0jQye\nmaIUW/071uUHMJBL5jQCWOoAekyHzU15ep+IynKuI4VYNiu3+X/NjQo8TXxD\n0kxI9EBrTk8nMEDNLe1uN4fEUWplY1EPIuXyIIAZMhAHhZ3d9Pstud1Awr3I\nvoDdo00jhi21itgb0LYagveYQ5V3RcW030N53zsHDaOVO9ZpoMusaLuMjsPM\n9rO2pZ6zSdeeFIk5paXXP29otsMm5zusoHESw1rUS+gOWHNFqdiGiz8mV+m4\nlDr4mRIMAk8iiLEq0hvX/kPvUtUG+sjhmv21nvnq/UGlYJfmYYxroDnMoCKZ\nLj0y8R8BxZECtJ0TYJ0USc99KgXeN/8Wg5Kc0jJjDczLO3f9WxNTb9/NUDRM\n1XZd\r\n=2P8A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCChe28f0NTE1CeiQXhcuu7vhagVek29sXfca+UozGfyQIhALufs19iaTKSjbrOqSqQ9+z1+Ll8n+BwMw31TSD3XOrU"}]},"_npmUser":{"name":"bung87","email":"crc32@qq.com"},"directories":{},"maintainers":[{"name":"bung87","email":"crc32@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gitzip_1.0.2_1616026655075_0.10590149633061463"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-14T00:05:47.665Z","1.0.0":"2021-03-14T00:05:47.856Z","modified":"2022-04-04T21:06:08.501Z","1.0.1":"2021-03-14T00:10:03.979Z","1.0.2":"2021-03-18T00:17:35.281Z"},"maintainers":[{"name":"bung87","email":"crc32@qq.com"}],"description":"Archives ignoring files from gitignore","homepage":"https://github.com/veshu/gitzip","keywords":["git","git-archive","node-zip","zip","gitignore zip","gitzip"],"repository":{"type":"git","url":"git+ssh://git@github.com/veshu/gitzip.git"},"author":{"name":"veshu","email":"tcveshu@gmail.com"},"bugs":{"url":"https://github.com/veshu/gitzip/issues"},"license":"MIT","readme":"# :zipper_mouth_face: gitzip\n\nThis module provides a `gitzip` command that creates zip file ignoring files from `.gitignore` file.\n\nIf the source folder doesn't contain `.gitignore` then all files will be zipped.\n\n:bulb: Useful to share the current changes while working on git repository. It complements the git archive where you don't need to commit or stash the changes to create untracked changed file.\n\n## Global command line usage\n\n```\nnpm install -g gitzip\n```\ngo to the folder you want to zip and run \n```\ngitzip\n\n```\n\nThis will generate `submission.zip`\n\n## Command line usage within `package.json` scripts\n\n```\nnpm install --save-dev gitzip\n\n```\n\npackage.json:\n\n```javascript\n{\n    //...\n    \"scripts\": {\n        \"build\" \"...\",\n        \"zip\": \"gitzip -d bundle.zip -s build/*\",\n        \"upload\": \"....\",\n        \"deploy\": \"npm run build && npm run zip && npm run upload\"\n    }\n}\n```\n\n## Programmatic usage from within Node.js\n\n```javascript\nvar zip = require('gitzip');\n\nzip({\n  source: 'build/*',\n  destination: './destination.zip',\n  exclude: ['destination.zip'],\n  include: ['.git']\n}).then(function() {\n  console.log('all done!');\n}).catch(function(err) {\n  console.error(err.stack);\n  process.exit(1);\n});\n\n```\n\n### Options\n\n#### source[-s]\n    \n    * Type: `string`\n    * Default: `.` current directory\n    \nPath to files and folders to include in the zip file. String or Array of Strings. Defaults to current path.\n#### destination\n\n    * Type: `string`\n    * Default: `submission.zip` at current directory\n\nPath to generated .zip file. Defaults to submission.zip in current path.\n#### exclude\n\n    * Type: `string[]`\n\n\nArray of strings of file pattern to exclude from zip\n#### include\n\n    * Type: `string[]`\n\n Array of strings of file pattern to include in zip. \n > Note, include has more precedence than exclude\n\n## Node Version\n\nNode 8 or greater\n\n ## License\n\n This software is released under the terms of the MIT license.","readmeFilename":"readme.md"}