{"_id":"@dlinc/file-guard-config","name":"@dlinc/file-guard-config","dist-tags":{"latest":"1.2.1"},"versions":{"1.2.1":{"name":"@dlinc/file-guard-config","description":"A JS script as a git hook that can be used to prevent","version":"1.2.1","author":{"name":"Dogwood Logic, Inc."},"bin":{"file-guard-config":"lib/index.js"},"bugs":{"url":"https://github.com/dogwoodlogic/file-guard-config/issues"},"dependencies":{"@dotenvx/dotenvx":"^1.9.1","boolean":"^3.2.0","bytes":"^3.1.2","comma-separated-tokens":"^2.0.3","lodash-es":"^4.17.21","micromatch":"^4.0.7","omit-empty":"^1.0.0","yargs":"^17.7.2"},"devDependencies":{"eslint":"^8.56.0","eslint-config-digitalbazaar":"^5.0.1","eslint-plugin-jsdoc":"^48.1.0","eslint-plugin-unicorn":"^51.0.1"},"homepage":"https://github.com/dogwoodlogic/file-guard-config","license":"BSD-3-Clause","repository":{"type":"git","url":"git+https://github.com/dogwoodlogic/file-guard-config.git"},"scripts":{"lint":"npx eslint 'packages/**.js'","lint:fix":"npx eslint 'packages/**.js'--fix"},"type":"module","_id":"@dlinc/file-guard-config@1.2.1","gitHead":"c0d8f354f465e4fb00c50994ca5d673e8550c8bf","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-n6+VHGKBBeeJm8qxNu7S+nrrFHcrY6bmJ04ckfc63dsIFas7XxBylRGIHoTZFTH3CnNrepGJItfMyO1PTIN7aQ==","shasum":"853360e4230354f7ef0e93994becf76d997f1403","tarball":"https://registry.npmjs.org/@dlinc/file-guard-config/-/file-guard-config-1.2.1.tgz","fileCount":7,"unpackedSize":5427,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFV/5ImuUGhx/afdPDxl5XThGzcPl/a8iGfVi0BkeR6NAiEAp8MuzzVUpAaAINF/GsLdT5Mw2PCETwIny9VNg2XrqE0="}]},"_npmUser":{"name":"tolson","email":"tolson@dlinc.io"},"directories":{},"maintainers":[{"name":"elally","email":"elally@dlinc.io"},{"name":"tolson","email":"tolson@dlinc.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file-guard-config_1.2.1_1724705435841_0.855099197460196"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-26T20:50:35.707Z","1.2.1":"2024-08-26T20:50:36.009Z","modified":"2024-08-26T20:50:36.364Z"},"maintainers":[{"name":"elally","email":"elally@dlinc.io"},{"name":"tolson","email":"tolson@dlinc.io"}],"description":"A JS script as a git hook that can be used to prevent","homepage":"https://github.com/dogwoodlogic/file-guard-config","repository":{"type":"git","url":"git+https://github.com/dogwoodlogic/file-guard-config.git"},"author":{"name":"Dogwood Logic, Inc."},"bugs":{"url":"https://github.com/dogwoodlogic/file-guard-config/issues"},"license":"BSD-3-Clause","readme":"# file-guard-config\n\nA JS script as a git hook that can be used to prevent\n\n- Files over a certain size from being pushed\n- Files of a certain extension type from being pushed\n- Files of a certain extension and size from being pushed\n\n## Config\n\nThe following environment variables (all prefixed with `FG`) can\nbe added to the `.env.lefthook` to configure this hook.\n\n|          Config         | Default | Description                                                                                                            |\n|:------------------------|---------|------------------------------------------------------------------------------------------------------------------------|\n| `FG_MAX_SIZE`             | '50mb'  | The maximum file size allowed by this hook                                                                             |\n| `FG_MAX_SIZE_IGNORE_GLOB` | false   | Whether the file size is applied to globbed files. When this is false all staged files must be under the max file size |\n| `FG_BLOCK_GLOBBED`        | false   | Flag that will block any matches to the glob pattern                                                                   |\n| `FG_EXT_GLOB`             | '*'     | A glob pattern to match files against                                                                                  |","readmeFilename":"README.md"}