{"id":20406651,"url":"https://github.com/xwp/undercurrent","last_synced_at":"2025-04-12T15:08:06.591Z","repository":{"id":26548637,"uuid":"109154482","full_name":"xwp/undercurrent","owner":"xwp","description":"Common tools to facilitate frontend development and testing.","archived":false,"fork":false,"pushed_at":"2023-07-20T03:16:32.000Z","size":619,"stargazers_count":9,"open_issues_count":6,"forks_count":4,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-04-12T15:08:02.289Z","etag":null,"topics":["build-system","gulp","webpack","workflow"],"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/xwp.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":"2017-11-01T16:20:00.000Z","updated_at":"2023-07-19T18:48:59.000Z","dependencies_parsed_at":"2022-09-14T20:51:53.110Z","dependency_job_id":null,"html_url":"https://github.com/xwp/undercurrent","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fundercurrent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fundercurrent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fundercurrent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fundercurrent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xwp","download_url":"https://codeload.github.com/xwp/undercurrent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586234,"owners_count":21128997,"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":["build-system","gulp","webpack","workflow"],"created_at":"2024-11-15T05:18:38.069Z","updated_at":"2025-04-12T15:08:06.574Z","avatar_url":"https://github.com/xwp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Undercurrent](https://raw.githubusercontent.com/xwp/artwork/master/undercurrent/banner-white-blue.jpg)\n\n[![Build Status](https://travis-ci.com/xwp/undercurrent.svg?token=oAggoNR8iywASwLW3E52\u0026branch=master)](https://travis-ci.com/xwp/undercurrent)\n\n# Undercurrent\n\nA slightly opinionated, but highly configurable build system using Gulp and Webpack for optimized frontend tooling, development and testing.\n\n## Installation\n\n```\nyarn add -D undercurrent\n```\n\n```\nnpm install undercurrent --save-dev\n```\n\n## Usage\n\nUndercurrent comes with a default schema and tasks:\n\n- `clean`: clears the `dist` directory in the project cwd directory.\n- `copy`: copies any font from `assets/fonts`;\n- `images`: minifies images.\n- `css`: builds CSS from SCSS using PostCSS for transformations and also provides linting using Stylelint.\n- `js`: build JS using Webpack and runs ESLint and a Babel loader.\n- `watch`: watches changes for `copy`, `css` and `images`.\n\nWithin the `package.json` of your project, you simply need to add a `script` to run Undercurrent:\n\n```\ncross-env NODE_ENV=development gulp --gulpfile $(npm root)/undercurrent/src/index.js --cwd $(npm prefix)\n```\n\nThis script would use the default schema and workflow; however, you can write your own workflow, schema and tasks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxwp%2Fundercurrent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxwp%2Fundercurrent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxwp%2Fundercurrent/lists"}