{"id":14965820,"url":"https://github.com/snowdogapps/magento2-frontools","last_synced_at":"2025-10-07T20:22:12.374Z","repository":{"id":40762625,"uuid":"50524402","full_name":"SnowdogApps/magento2-frontools","owner":"SnowdogApps","description":"Set of front-end tools for Magento 2 based on Gulp.js","archived":false,"fork":false,"pushed_at":"2024-04-08T14:28:27.000Z","size":2531,"stargazers_count":428,"open_issues_count":17,"forks_count":140,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-05-29T07:56:21.026Z","etag":null,"topics":["browsersync","csslint","gulp","hacktoberfest","magento","magento2","magento2-extension","sass","sass-lint","stylelint","toolset","yarn"],"latest_commit_sha":null,"homepage":null,"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/SnowdogApps.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":"2016-01-27T17:23:12.000Z","updated_at":"2025-04-08T22:06:23.000Z","dependencies_parsed_at":"2024-06-18T12:38:09.468Z","dependency_job_id":"015e8961-7d6f-446a-aa4f-18c092d5b5b7","html_url":"https://github.com/SnowdogApps/magento2-frontools","commit_stats":{"total_commits":483,"total_committers":34,"mean_commits":"14.205882352941176","dds":0.3561076604554866,"last_synced_commit":"2a5854781c970044af38aabdce2efa1a6bf9e56e"},"previous_names":[],"tags_count":86,"template":false,"template_full_name":null,"purl":"pkg:github/SnowdogApps/magento2-frontools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowdogApps%2Fmagento2-frontools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowdogApps%2Fmagento2-frontools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowdogApps%2Fmagento2-frontools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowdogApps%2Fmagento2-frontools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SnowdogApps","download_url":"https://codeload.github.com/SnowdogApps/magento2-frontools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowdogApps%2Fmagento2-frontools/sbom","scorecard":{"id":131586,"data":{"date":"2025-08-11","repo":{"name":"github.com/SnowdogApps/magento2-frontools","commit":"3ff9b234acce2b7684efbc982141ed04dd993f8e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":2,"reason":"Found 6/21 approved changesets -- score normalized to 2","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"57 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-crh6-fp67-6883","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-r7jx-5m6m-cpg9","Warn: Project is vulnerable to: GHSA-j4f2-536g-r55m","Warn: Project is vulnerable to: GHSA-r7qp-cfhv-p84w","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-282f-qqgm-c34q","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-r8f7-9pfq-mjmv","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-6fx8-h7jm-663j","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-7mwh-4pqv-wmr8","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-25hc-qcg6-38wj","Warn: Project is vulnerable to: GHSA-qm95-pgcg-qqfq","Warn: Project is vulnerable to: GHSA-cqmj-92xf-r6r9","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-fhg7-m89q-25r3","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T05:21:09.946Z","repository_id":40762625,"created_at":"2025-08-16T05:21:09.946Z","updated_at":"2025-08-16T05:21:09.946Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278838827,"owners_count":26054804,"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-10-07T02:00:06.786Z","response_time":59,"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":["browsersync","csslint","gulp","hacktoberfest","magento","magento2","magento2-extension","sass","sass-lint","stylelint","toolset","yarn"],"created_at":"2024-09-24T13:35:23.299Z","updated_at":"2025-10-07T20:22:12.338Z","avatar_url":"https://github.com/SnowdogApps.png","language":"JavaScript","readme":"# **DEPRECATED** \n\n## This is no longer supported, please consider using [Cream fork](https://github.com/creaminternet/magento2-frontools) instead.\n\n\n[![Packagist](https://img.shields.io/packagist/v/snowdog/frontools.svg)](https://packagist.org/packages/snowdog/frontools) [![Packagist](https://img.shields.io/packagist/dt/snowdog/frontools.svg)](https://packagist.org/packages/snowdog/frontools)\n\n## Magento 2 Frontools\nSet of front-end tools for Magento 2\n\n## Requirements\n* Unix-like OS (please, do not ask about Windows support)\n* Node.js [LTS version](https://nodejs.org/en/about/releases/). We recommend using [Volta](https://volta.sh/).\n* Magento 2 project with SASS based theme for example [SASS version of \"Blank\"](https://github.com/SnowdogApps/magento2-theme-blank-sass) or [Alpaca Theme](https://github.com/SnowdogApps/magento2-alpaca-theme)\n\n## Installation\n1. Run `composer require snowdog/frontools`\n2. Go to package directory `cd vendor/snowdog/frontools`\n3. Run `yarn` or `npm install`\n4. Decide where you want to keep your config files.\nYou can store them in Frontools `config` directory or in `dev/tools/frontools/config` (recommended).\nThere is a `setup` task to copy all sample config files from the `config` to `dev/tools/frontools/config` and create a convenient symlink `tools` in the project root.\nIf you want to keep config files inside frontools `config` dir, you have to handle this manually.\n5. Define your themes in `themes.json`.\n\n## `themes.json` structure\nCheck `config/themes.json.sample` to get samples.\n- `src` - full path to theme\n- `dest` - full path to `pub/static/[theme_area]/[theme_vendor]/[theme_name]`\n- `locale` - array of available locales\n- `parent` - name of parent theme\n- `stylesDir` - (default `styles`) path to styles directory. For `theme-blank-sass` it's `styles`. By default Magento 2 use `web/css`.\n- `disableSuffix` - disable adding `.min` suffix using `--prod` flag.\n- `postcss` - (default `[\"autoprefixer({ overrideBrowserslist: browserslist })\"]`) PostCSS plugins config. Have to be an array.\n- `modules` - list of modules witch you want to map inside your theme\n- `ignore` - array of ignore patterns\n\n## `watcher.json` structure\nCheck `config/watcher.json.sample` to get samples.\n- `usePolling` - set this to `true` to successfully watch files over a network (i.e. Docker or Vagrant) or when your watcher dosen't work well. Warning, enabling this option may lead to high CPU utilization! [chokidar docs](https://github.com/paulmillr/chokidar#performance)\n\n## `sass-compiler.json` structure\nYou can choose Sass compiler between the default, but [already deprecated](https://github.com/sass/node-sass/issues/2952), `node-sass` or a newer and faster `dart-sass`.\n\nSince the Dart Sass does not have the same set of features as Node Sass, for now we will keep the older version as default.\n\n## Optional configurations for 3rd party plugins\nYou will find sample config files for theses plugins in `vendor/snowdog/frontools/config` directory.\n* Create [browserSync](https://www.browsersync.io/) configuration\n* Create [eslint](https://eslint.org/) configuration\n* Create [sass-lint](https://github.com/sasstools/sass-lint) configuration\n* Create [stylelint](https://github.com/stylelint/stylelint) configuration\n* Create [svg-sprite](https://github.com/jkphl/gulp-svg-sprite) configuration\n\n## Tasks list\nUse `yarn [taskName]` or `npm run [taskName]` to run the task.\n* `babel` - Run [Babel](https://babeljs.io/), a compiler for writing next generation JavaScript.\n  * `--theme name` - Process single theme.\n  * `--prod` - Production output - minifies and uglyfy code.\n* `clean` - Removes `/pub/static` directory content.\n* `csslint` - Run [stylelint](https://github.com/stylelint/stylelint) based tests.\n  * `--theme name` - Process single theme.\n  * `--ci` - Enable throwing errors. Useful in CI/CD pipelines.\n* `dev` - Runs [browserSync](https://www.browsersync.io/) and `inheritance`, `babel`, `styles`, `watch` tasks.\n  * `--theme name` - Process single theme.\n  * `--disableLinting` - Disable JS, SASS, CSS linting.\n  * `--disableMaps` - Disable inline source maps generation.\n* `emailfix` - Fixes email stylesheet for Magento \u003c 2.3.0. [Related issue](https://github.com/MyIntervals/emogrifier/issues/296)\n  * `--prod` - Production output - minifies styles and add `.min` sufix.\n* `eslint` - Run [eslint](https://eslint.org/) against all JS files.\n  * `--theme name` - Process single theme.\n  * `--fix` - Autofix errors\n  * `--ci` - Enable throwing errors. Useful in CI/CD pipelines.\n* `inheritance` - Create necessary symlinks to resolve theme styles inheritance and make the base for styles processing. You have to run in before styles compilation and after adding new files.\n* `magepackBundle` - Run [magepack](https://github.com/magesuite/magepack) `bundle` command.\n  * `-c` or `--config` - (required) Path to previously generated Magepack config file.\n  * `--theme name` - Process single theme.\n* `magepackGenerate` - Run [magepack](https://github.com/magesuite/magepack) `generate` command.\n  * `--cms-url` - (required) URL to one of CMS pages (e.g. homepage).\n  * `--category-url` - (required) URL to one of category pages.\n  * `--product-url` - (required) URL to one of product pages.\n  * `-u` or `--auth-username` - Username for Basic Auth.\n  * `-p` or `--auth-password` - Passoword for Basic Auth.\n  * `-d` or `--debug` - Turn on debugging mode.\n* `sasslint` - Run [sass-lint](https://github.com/sasstools/sass-lint) based tests.\n  * `--theme name` - Process single theme.\n  * `--ci` - Enable throwing errors. Useful in CI/CD pipelines.\n* `setup` - Creates a convenient symlink from `/tools` to `/vendor/snowdog/frontools` and copies all sample files if no configuration exists.\n  * `--symlink name` - If you don't want to use `tools` as the symlink you can specify another name.\n* `styles` - Use this task to manually trigger styles processing pipeline.\n  * `--theme name` - Process single theme.\n  * `--disableMaps` - Disable inline source maps generation.\n  * `--prod` - Production output - minifies styles and add `.min` suffix.\n  * `--ci` - Enable throwing errors. Useful in CI/CD pipelines.\n* `svg` - Run [svg-sprite](https://github.com/jkphl/gulp-svg-sprite) to generate SVG sprite.\n  * `--theme name` - Process single theme.\n* `watch` - Watch for style changes and run processing tasks.\n  * `--theme name` - Process single theme.\n  * `--disableLinting` - Disable JS, SASS, CSS linting.\n  * `--disableMaps` - Disable inline source maps generation.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowdogapps%2Fmagento2-frontools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnowdogapps%2Fmagento2-frontools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowdogapps%2Fmagento2-frontools/lists"}