{"id":18706424,"url":"https://github.com/chisel/ease-task-minify-css","last_synced_at":"2025-11-09T07:30:35.589Z","repository":{"id":51808024,"uuid":"194461702","full_name":"chisel/ease-task-minify-css","owner":"chisel","description":"CSS minifier for Ease task runner.","archived":false,"fork":false,"pushed_at":"2021-05-09T21:43:13.000Z","size":10,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T07:42:22.882Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chisel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-30T01:03:34.000Z","updated_at":"2021-02-14T13:34:26.000Z","dependencies_parsed_at":"2022-08-28T21:40:51.917Z","dependency_job_id":null,"html_url":"https://github.com/chisel/ease-task-minify-css","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chisel%2Fease-task-minify-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chisel%2Fease-task-minify-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chisel%2Fease-task-minify-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chisel%2Fease-task-minify-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chisel","download_url":"https://codeload.github.com/chisel/ease-task-minify-css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239571542,"owners_count":19661164,"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":[],"created_at":"2024-11-07T12:14:05.370Z","updated_at":"2025-02-18T23:43:01.430Z","avatar_url":"https://github.com/chisel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ease Task Runner CSS Minifier Plugin\n\nThis is a plugin for the [Ease task runner](https://github.com/chisel/ease). It uses the [clean-css](https://www.npmjs.com/package/clean-css) module to minify CSS files.\n\n# Installation\n\n```\nnpm install ease-task-minify-css --save-dev\n```\n\n**easeconfig.js:**\n```js\nconst minifyCss = require('ease-task-minify-css');\n\nmodule.exports = ease =\u003e {\n\n  ease.install('minify-css', minifyCss, {});\n\n};\n```\n\n# Configuration\n\nThis plugin takes a config object similar to [Clean CSS Options](https://www.npmjs.com/package/clean-css#constructor-options) while ignoring the property `returnPromise` and adding the following properties:\n  - `dir`: Path to a directory containing all the SASS files, relative to `easeconfig.js`\n  - `outDir`: Path to the output directory where the CSS files should be written, relative to `easeconfig.js`\n  - `cleanOutDir`: Boolean indicating if the output directory should be emptied first\n\n# Example\n\n**easeconfig.js:**\n```js\nconst minifyCss = require('ease-task-minify-css');\n\nmodule.exports = ease =\u003e {\n\n  ease.install('minify-css', minifyCss, {\n    dir: 'css',\n    outDir: 'css',\n    cleanOutDir: false,\n    compatibility: 'ie8',\n    sourceMap: true\n  });\n\n  ease.job('minify-css-files', ['minify-css']);\n\n};\n```\n\n**CLI:**\n```\nease minify-css-files\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchisel%2Fease-task-minify-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchisel%2Fease-task-minify-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchisel%2Fease-task-minify-css/lists"}