{"id":17998853,"url":"https://github.com/itsjonq/zero","last_synced_at":"2025-07-18T10:33:37.901Z","repository":{"id":37886602,"uuid":"214326484","full_name":"ItsJonQ/zero","owner":"ItsJonQ","description":"📦 A zero config scripts library","archived":false,"fork":false,"pushed_at":"2022-12-11T04:20:43.000Z","size":6836,"stargazers_count":18,"open_issues_count":23,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T03:44:18.640Z","etag":null,"topics":["babel","eslint","jest","lint-staged","prettier","react","rollup","typescript","zero","zero-config","zero-configuration"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ItsJonQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-11T02:31:41.000Z","updated_at":"2023-10-06T02:55:17.000Z","dependencies_parsed_at":"2023-01-26T15:16:49.784Z","dependency_job_id":null,"html_url":"https://github.com/ItsJonQ/zero","commit_stats":null,"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"purl":"pkg:github/ItsJonQ/zero","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsJonQ%2Fzero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsJonQ%2Fzero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsJonQ%2Fzero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsJonQ%2Fzero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ItsJonQ","download_url":"https://codeload.github.com/ItsJonQ/zero/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsJonQ%2Fzero/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265742717,"owners_count":23820898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["babel","eslint","jest","lint-staged","prettier","react","rollup","typescript","zero","zero-config","zero-configuration"],"created_at":"2024-10-29T22:08:02.682Z","updated_at":"2025-07-18T10:33:37.877Z","avatar_url":"https://github.com/ItsJonQ.png","language":"JavaScript","readme":"# 📦 Zero\n\n[![Build Status](https://travis-ci.org/itsjonq/zero.svg?branch=master)](https://travis-ci.org/itsjonq/zero)\n\n\u003e A zero config scripts library\n\nZero is a [\"zero config\"](https://www.google.com/search?ei=eGJ7XPqGG5K_jgS2wYKoCA\u0026q=javascript+zero+config\u0026oq=javascript+zero+config\u0026gs_l=psy-ab.3..0i22i30l2.2204.6555..6634...4.0..0.88.1939.29......0....1..gws-wiz.......0i71j0i131j0j0i67.eDv8lllu1MY) tool designed to make it easy to create, develop, test, build, and publish libraries.\n\nIt comes with a bunch of modern front-end tools, like Babel, Rollup, ESLint, Prettier, and Jest - All pre-configured to let you build stuff without fiddling with configuration files, scripts and commands.\n\n```\n📦  Zero\n\nzero \u003ccommand\u003e\n\nExample:\n  zero build\n\nOptions:\n  -V, --version     output the version number\n  -h, --help        output usage information\n\nCommands:\n  build [options]   Builds project with Babel, Rollup, or TypeScript\n  bundle [options]  Bundles project into single files with Rollup\n  contributors      Generates markdown file with all contributors\n  format [options]  Formats files with Prettier\n  lint [options]    Lints files with ESLint\n  new               Generate a new module\n  pre-commit        Lints files before staging for commit\n  prestart          Automatically install dependencies before starting\n  release           Publish to npm\n  setup [options]   Sets up tooling in project\n  test [options]    Run test with Jest\n  typecheck         Check types with TypeScript\n  validate          Validates project with lint, tests, and build\n```\n\n## Table of Contents\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n-   [Installation](#installation)\n-   [Usage](#usage)\n    -   [CLI](#cli)\n-   [Extending](#extending)\n    -   [Babel](#babel)\n    -   [ESlint](#eslint)\n    -   [Jest](#jest)\n    -   [Prettier](#prettier)\n-   [Thanks](#thanks)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Installation\n\nAdd Zero to your project with this command:\n\n```\nnpm install --save-dev @itsjonq/zero\n```\n\nOr globally with:\n\n```\nnpm install -g @itsjonq/zero\n```\n\n## Usage\n\nZero comes with a handful of scripts that you can add to your own `package.json` scripts:\n\n```json\n\"scripts\": {\n  \"prestart\": \"zero prestart\",\n  \"build\": \"zero build\",\n  \"format\": \"zero format\",\n  \"lint\": \"zero lint\",\n  \"precommit\": \"zero pre-commit\",\n  \"release\": \"zero release\",\n  \"test\": \"zero test\",\n  \"validate\": \"zero validate\",\n}\n```\n\n### CLI\n\nTo use Zero as a CLI, install it globally, then run this command:\n\n```\nzero\n```\n\nAlternatively, you can run it with [npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b)\n\n```\nnpx @itsjonq/zero\n```\n\n## Extending\n\nZero can build, lint, format, and release out-of-the-box!\n\nIf you need to personalize Babel, ESLint, or Jest, Zero's got you covered. Add your own adjustments by extending Zero's based configurations.\n\n### Babel\n\nCreate a `babel` or `.babelrc` file with:\n\n```\n{\"presets\": [\"@itsjonq/zero/babel\"]}\n```\n\n#### `babel-core@7`\n\nAs of version `1.0.0`, Zero is now on `@babel` version 7. Your project may need to install `babel-core@7.0.0-bridge.0`. To do so, add that package to your `package.json`, or run:\n\n```\nnpm install --save-dev babel-core@7.0.0-bridge.0\n```\n\n#### `@babel/runtime`\n\nZero **does not use** `@babel/runtime`, as it is still being used to compile projects on Babel 6. If you need an ultra-modern Babel 7 ready tool, check out [kcd-scripts](https://github.com/kentcdodds/kcd-scripts).\n\n#### `babel-plugin-react-app`\n\nZero no longer comes with `babel-plugin-react-app`. The reason is because this module uses `@babel/runtime` with the new Babel 7 set up. If your project requires `babel-plugin-react-app` (e.g. building [Docz](https://www.docz.site/)), you'll need to add it yourself as a `devDependencies`.\n\n### ESlint\n\nCreate an `.eslintrc` file with:\n\n```\n{\"extends\": \"./node_modules/@itsjonq/zero/eslint.js\"}\n```\n\n\u003e Note: for now, you'll have to include an `.eslintignore` in your project until\n\u003e [this eslint issue is resolved](https://github.com/eslint/eslint/issues/9227).\n\n### Jest\n\nCreate a `jest.config.js` file with:\n\n```javascript\nconst jestConfig = require('@itsjonq/zero/jest');\n\nmodule.exports = Object.assign(jestConfig, {\n\t// your overrides here\n});\n```\n\n### Prettier\n\nCreate a `.prettierrc.js` file with:\n\n```\nmodule.exports = require(\"@itsjonq/zero/prettier\");\n```\n\n## Thanks\n\nThanks to [kcd-scripts](https://github.com/kentcdodds/kcd-scripts) and [create-react-app](https://github.com/facebook/create-react-app) for the inspiration and code!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjonq%2Fzero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsjonq%2Fzero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjonq%2Fzero/lists"}