{"id":25308797,"url":"https://github.com/sifrr/sifrr-dev","last_synced_at":"2025-10-28T13:31:34.120Z","repository":{"id":34918358,"uuid":"189378206","full_name":"sifrr/sifrr-dev","owner":"sifrr","description":"Development tools for packages/webapps etc","archived":false,"fork":false,"pushed_at":"2023-03-04T03:49:44.000Z","size":3667,"stargazers_count":3,"open_issues_count":38,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T09:05:27.521Z","etag":null,"topics":["changelog","development","npm","package","testing"],"latest_commit_sha":null,"homepage":"https://github.com/sifrr/sifrr","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/sifrr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-05-30T08:44:07.000Z","updated_at":"2022-11-10T07:57:46.000Z","dependencies_parsed_at":"2024-06-21T04:10:34.264Z","dependency_job_id":null,"html_url":"https://github.com/sifrr/sifrr-dev","commit_stats":{"total_commits":707,"total_committers":4,"mean_commits":176.75,"dds":"0.37906647807637905","last_synced_commit":"3542b202d3af6047d9a91700fd6f8f562ac43635"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sifrr%2Fsifrr-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sifrr%2Fsifrr-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sifrr%2Fsifrr-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sifrr%2Fsifrr-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sifrr","download_url":"https://codeload.github.com/sifrr/sifrr-dev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238229953,"owners_count":19437724,"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":["changelog","development","npm","package","testing"],"created_at":"2025-02-13T12:35:47.428Z","updated_at":"2025-10-28T13:31:28.752Z","avatar_url":"https://github.com/sifrr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sifrr-dev · [![npm version](https://img.shields.io/npm/v/@sifrr/dev.svg)](https://www.npmjs.com/package/@sifrr/dev)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/sifrr/sifrr-dev/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\" alt=\"GitHub license\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://circleci.com/gh/sifrr/sifrr-dev\"\u003e\u003cimg alt=\"CircleCI\" src=\"https://img.shields.io/circleci/project/github/sifrr/sifrr-dev/master.svg?logo=circleci\u0026style=flat-square\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://coveralls.io/github/sifrr/sifrr-dev?branch=master\"\u003e\u003cimg src=\"https://img.shields.io/coveralls/github/sifrr/sifrr-dev.svg?style=flat-square\" alt=\"Coverage Status\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://dependabot.com/\"\u003e\u003cimg src=\"https://badgen.net/badge/Dependabot/enabled/green?icon=dependabot\" alt=\"Dependabot badge\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Development tools for sifrr packages, webapps\n\n## Size\n\n| Type                             |                                                                                Size                                                                                 |\n| :------------------------------- | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------: |\n| Normal (`dist/sifrr.dev.cjs.js`) | [![Normal](https://img.badgesize.io/sifrr/sifrr-dev/master/dist/sifrr.dev.cjs.js?maxAge=600)](https://github.com/sifrr/sifrr-dev/blob/master/dist/sifrr.dev.cjs.js) |\n\n## Tools\n\n- `getRollupConfig` Rollup configs to bundle JavaScript/TypeScript for node packages, es modules and browser packs. Supports node syntax as well as es module syntax, and TypeScript.\n- `generateChangelog` Generate Changelog during release\n- `loadDir` Load directory recursively\n- `eslintrc` ESLint config and prettier\n- `deepMerge` Deep Merge Objects\n- `checkTag` check if a tag exists on github\n- `exec` async execute a shell command with stdout and stderr\n- `gitAddCommitPush` run command \u003e git add files \u003e git commit \u003e git push\n- `runTests` Run a full fledged test suite using mocha, chai, sinon, puppeteer, etc. Supports node syntax as well as es module syntax.\n\n## Other packages\n\n- [@commitlint/cli](https://github.com/conventional-changelog/commitlint) - Linting commits\n- [Husky](https://github.com/typicode/husky) - Git hooks made easy\n- [browserslist](https://github.com/browserslist/browserslist#readme) - browserlist used by babel, eslint, postcss, etc.\n- [coveralls](https://github.com/nickmerwin/node-coveralls#readme) - upload coverage to coveralls.io\n- [mock-require](https://github.com/boblauer/mock-require) - Simple, intuitive mocking of Node.js modules.\n\n## Usage\n\n### Husky\n\nJust add `.huskyrc` and you are good to go.\n\n### ESlint\n\nAdd this to your `eslintrc` config\n\n```js\n{\n  extends: ['sifrr']\n}\n```\n\nand add pre-commit hook in your `.huskyrc`\n\n```json\n{\n  \"hooks\": {\n    \"pre-commit\": \"yarn eslint --fix \\\"src/**/*.js\\\" \u0026\u0026 git add -A\"\n  }\n}\n```\n\nsifrr eslint config extends prettier config and plugin, you can add `prettier.config.js` if you want to change default options for prettier.\n\n### commitlint\n\nadd commit-msg hook in your `.huskyrc`\n\n```rc\n{\n  \"hooks\": {\n    \"commit-msg\": \"yarn commitlint -e $HUSKY_GIT_PARAMS\"\n  }\n}\n```\n\nadd `commitlint.config.js` to your root folder\n\n```js\nmodule.exports = {\n  extends: ['@commitlint/config-conventional']\n};\n```\n\n### Upload coverage to Coveralls\n\nset `COVERALLS_REPO_TOKEN` environment variable, run tests with `lcov` reporter, Upload with this command:\n\n```sh\ncat ./coverage/lcov.info | yarn coveralls\n```\n\n### Eslint\n\nAdd tihs to your `.eslintrc.js`\n\n```js\nmodule.exports = {\n  extends: ['@sifrr']\n};\n```\n\n### Prettier\n\nAdd `prettier.config.js`, and it will be picked by eslint. Add prettier extension in code editor you use for best use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsifrr%2Fsifrr-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsifrr%2Fsifrr-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsifrr%2Fsifrr-dev/lists"}