承接 eugene-matvejev/css-compiler 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

eugene-matvejev/css-compiler

最新稳定版本:1.0.1

Composer 安装命令:

composer require eugene-matvejev/css-compiler

包简介

compiles SASS and LESS assets on composer's callback

README 文档

README

Scrutinizer Code Quality codecov SensioLabsInsight

HHVM Status

Latest Stable Version Total Downloads License composer.lock

PHP CSS compiler with composer handler

can be triggered from composer's script's section: compiles SCSS with compass|LESS

how to use

composer require eugene-matvejev/css-compiler

add callback into into composer's scripts

"EM\\CssCompiler\\ScriptHandler::generateCSS"

example

"scripts": {
    "post-update-cmd": "@custom-events",
    "post-install-cmd": "@custom-events",
    "custom-events": [
        "EM\\CssCompiler\\ScriptHandler::generateCSS"
    ]
}

add css-compiler information inside of the extra composer configuration

  • format: compression format
  • input: array of relative paths to the composer.json, all files will be picked up recursivly inside of the directory
  • output: relative file path to the composer.json, where to save output (hard-copy)

example

"extra": {
    "css-compiler": [
        {
            "format": "compact",
            "input": [
                "tests/shared-fixtures/compass/app.scss"
            ],
            "output": "var/cache/assets/compass.css"
        },
        {
            "format": "compact",
            "input": [
                "tests/shared-fixtures/sass"
            ],
            "output": "var/cache/assets/sass.css"
        }
    ]
}

统计信息

  • 总下载量: 1.51k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-06-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固