{"id":15784648,"url":"https://github.com/toreda/build-tools","last_synced_at":"2025-09-25T21:53:59.068Z","repository":{"id":57098781,"uuid":"245532557","full_name":"toreda/build-tools","owner":"toreda","description":"Prebuilt Webpack workflows to simplify the build process using Gulp.","archived":false,"fork":false,"pushed_at":"2025-07-17T10:26:38.000Z","size":1383,"stargazers_count":3,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-03T17:58:13.350Z","etag":null,"topics":["build","build-automation","build-tool","gulp","toreda","typed","typescript","webpack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/toreda.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,"zenodo":null}},"created_at":"2020-03-06T23:06:21.000Z","updated_at":"2022-04-21T21:44:40.000Z","dependencies_parsed_at":"2024-10-04T20:04:51.446Z","dependency_job_id":"7fdee8f4-9148-4db1-a575-f806ac880708","html_url":"https://github.com/toreda/build-tools","commit_stats":{"total_commits":87,"total_committers":5,"mean_commits":17.4,"dds":0.4367816091954023,"last_synced_commit":"ee62a0ba076dbf1705a4e2bf4b12128d4f978315"},"previous_names":["armorjs/build"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/toreda/build-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toreda%2Fbuild-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toreda%2Fbuild-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toreda%2Fbuild-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toreda%2Fbuild-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toreda","download_url":"https://codeload.github.com/toreda/build-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toreda%2Fbuild-tools/sbom","scorecard":{"id":207629,"data":{"date":"2025-08-04","repo":{"name":"github.com/toreda/build-tools","commit":"ee62a0ba076dbf1705a4e2bf4b12128d4f978315"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":2.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/toreda/build-tools/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/toreda/build-tools/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/toreda/build-tools/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/toreda/build-tools/main.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"21 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-x77j-w7wf-fjmw","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-hc6q-2mpp-qw7j","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T00:07:16.206Z","repository_id":57098781,"created_at":"2025-08-17T00:07:16.206Z","updated_at":"2025-08-17T00:07:16.206Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276987455,"owners_count":25740583,"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","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["build","build-automation","build-tool","gulp","toreda","typed","typescript","webpack"],"created_at":"2024-10-04T20:04:45.330Z","updated_at":"2025-09-25T21:53:59.049Z","avatar_url":"https://github.com/toreda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Toreda](https://content.toreda.com/logo/toreda-logo.png)\n\n[![CI](https://img.shields.io/github/workflow/status/toreda/build-tools/CI?style=for-the-badge)](https://github.com/toreda/build-tools/actions)\n[![Coverage](https://img.shields.io/sonar/coverage/toreda_build-tools?server=https%3A%2F%2Fsonarcloud.io\u0026style=for-the-badge)](https://sonarcloud.io/project/activity?graph=coverage\u0026id=toreda_build-tools)\n[![Sonar Quality Gate](https://img.shields.io/sonar/quality_gate/toreda_build-tools?server=https%3A%2F%2Fsonarcloud.io\u0026style=for-the-badge)](https://sonarcloud.io/project/overview?id=toreda_build-tools)\n\n[![GitHub package.json version (branch)](https://img.shields.io/github/package-json/v/toreda/build-tools/master?style=for-the-badge)](https://github.com/toreda/build-tools/releases/latest)\n[![GitHub Release Date](https://img.shields.io/github/release-date/toreda/build-tools?style=for-the-badge)](https://github.com/toreda/build-tools/releases)\n[![GitHub issues](https://img.shields.io/github/issues/toreda/build-tools?style=for-the-badge)](https://github.com/toreda/build-tools/issues)\n\n[![license](https://img.shields.io/github/license/toreda/build-tools?style=for-the-badge)](https://github.com/toreda/build-tools/blob/master/LICENSE)\n\n# `@toreda/build-tools`\n\nHelpers for common gulp build flows. Reduce complexity and code duplication in your gulpfile. Reduce redundancy and upkeep across multiple projects.\n\n\u0026nbsp;\n\n# Contents\n* [**Usage**](#usage)\n\n* \t[**Package**](#Package)\n\t-\t[Install](#Install)\n\t-\t[Run Tests](#run-tests)\n\t-\t[Build](#build-from-source)\n\t-   [License](#license)\n\n\n\u0026nbsp;\n\n# Usage\n## Examples\n\n### `gulpfile.ts` for TypeScript library\n```typescript\nimport {dest, parallel, series, src} from 'gulp';\n\nimport {Build} from '@toreda/build-tools';\nimport {EventEmitter} from 'events';\nimport {Log} from '@toreda/log';\n\nconst log = new Log();\nconst events = new EventEmitter();\nconst build = new Build({\n\tenv: 'dev',\n\tlog: log,\n\tevents: events\n});\n\nfunction runLint() {\n\n}\n\nfunction createDist() {\n\treturn build.create.dir('./dist', false);\n}\n\nfunction cleanDist() {\n\treturn build.clean.dir('./dist');\n}\n\nfunction buildSrc() {\n\treturn build.run.typescript('./dist', 'tsconfig.json');\n}\n\nexports.default = series(createDist, cleanDist, runLint, buildSrc);\n```\n\n### Using `Build`\n\n\u0026nbsp;\n\n# Package\n\n## Install\nInstall `@toreda/build-tools` directly from NPM.\n\n### Install with Yarn (preferred)\n```bash\nyarn add @toreda/build-tools --dev\n```\n\n### Install using NPM\n```bash\nnpm install @toreda/build-tools --save-dev\n```\n\n\n## Run Tests\nInstall or clone `@toreda/build-tools` [(see above)](#install).\n\nOur unit tests use [Jest](https://jestjs.io/).\n\nInstalling jest is not required after project dependencies are installed ([see above](#install)).\n```bash\nyarn test\n```\n\n# Build from source\n\nThe next steps are the same whether you installed the package using NPM or cloned the repo from Github.\n\n### Build with Yarn\n Enter the following commands in order from the build-tools project root.\n```bash\nyarn build\n```\n\n### Build with NPM\n Enter the following commands in order from the build-tools project root.\n```bash\nnpm run-script build\n```\n\n\u0026nbsp;\n# Legal\n\n## License\n[MIT](LICENSE) \u0026copy; Toreda, Inc.\n\n\u0026nbsp;\n\n## Copyright\nCopyright \u0026copy; 2019 - 2022 Toreda, Inc. All Rights Reserved.\n\nhttps://www.toreda.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoreda%2Fbuild-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoreda%2Fbuild-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoreda%2Fbuild-tools/lists"}