{"id":22123487,"url":"https://github.com/proai/packsy","last_synced_at":"2026-01-16T01:02:17.350Z","repository":{"id":57317875,"uuid":"177219952","full_name":"ProAI/packsy","owner":"ProAI","description":"📦 Start development of a package with pre-defined prettier, eslint, babel and rollup config","archived":false,"fork":false,"pushed_at":"2024-05-25T16:37:01.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T19:01:52.247Z","etag":null,"topics":["babel","eslint","package-development","prettier","rollup"],"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/ProAI.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-22T23:07:25.000Z","updated_at":"2024-05-25T16:34:21.000Z","dependencies_parsed_at":"2024-09-23T13:36:03.315Z","dependency_job_id":"fbec3bdf-b946-454f-bbb0-11f13680e041","html_url":"https://github.com/ProAI/packsy","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProAI%2Fpacksy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProAI%2Fpacksy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProAI%2Fpacksy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProAI%2Fpacksy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProAI","download_url":"https://codeload.github.com/ProAI/packsy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246828500,"owners_count":20840474,"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","package-development","prettier","rollup"],"created_at":"2024-12-01T15:33:49.724Z","updated_at":"2026-01-16T01:02:17.217Z","avatar_url":"https://github.com/ProAI.png","language":"JavaScript","readme":"# 📦 Packsy\n\nThis package helps you to set up a new npm package blazing fast. Use eslint, prettier, babel and rollup with zero configuration.\n\n🛠 See [packsy-starter](https://github.com/ProAI/packsy-starter) for usage example and starter kit.\n\n## Installation\n\n```shell\nnpm install packsy\n# or\nyarn add packsy\n```\n\n## Commands\n\n| Name                | Description                                                              |\n| ------------------- | ------------------------------------------------------------------------ |\n| `packsy build`      | Builds production ready bundles with Rollup. Output directory is `dist`. |\n| `packsy dev`        | Compiles files for development with Babel. Output directory is `lib`.    |\n| `packsy format`     | Formats all files. All Prettier cli options can be used.                 |\n| `packsy lint`       | Lints all files. All ESLint cli options can be used.                     |\n| `packsy pre-commit` | Formats and lints all staged files, validates `package.json`.            |\n| `packsy validate`   | Lints all files. validates `package.json`.                               |\n\n## Prettier and ESLint configs\n\nThe package provides a default Prettier and ESLint configuration. See `.prettierrc.js` and `.eslintrc.js` in [packsy-starter](https://github.com/ProAI/packsy-starter) for usage.\n\n## Development workflow (linked package)\n\nLink the package as usual using yarn's or npm's `link`/`unlink` commands first. Then execute `packsy dev`.\n\n`packsy dev` compiles all files with babel in watch mode, so that a file will be compiled every time that you change it.\n\n## Projects that use Packsy\n\n- 🚚 [react-transporter](https://github.com/ProAI/react-transporter)\n- 🎨 [react-essentials](https://github.com/ProAI/react-essentials)\n- 📥 [react-stacks](https://github.com/ProAI/react-stacks)\n- 🏷️ [react-metadata](https://github.com/ProAI/react-metadata)\n- 🌍 [intlized-components](https://github.com/ProAI/intlized-components)\n- 🌟 [extended-components](https://github.com/ProAI/extended-components)\n\n## FAQ\n\n**What is the difference between `packsy build` and `packsy dev`?**\n\nFirst the output folders are different (`dist` for build and `lib` for dev command). Second the build command uses Rollup (with Babel) while dev uses only Babel. Using only Babel leads to faster compile times, which is useful for development. Also the dev command uses the watch mode of Babel.\n\n## Inspiration\n\nThis package is inspired by Kent C. Dodds's awesome package [kcd-scripts](https://github.com/kentcdodds/kcd-scripts).\n\n## License\n\nThis package is released under the [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproai%2Fpacksy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproai%2Fpacksy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproai%2Fpacksy/lists"}