|
| 1 | +{ |
| 2 | + "name": "eugenematvejev/css_compiler", |
| 3 | + "description": "compiles css assets from sass or less on composer events", |
| 4 | + "type": "lib", |
| 5 | + "license": "MIT", |
| 6 | + "authors": [ |
| 7 | + { |
| 8 | + "name": "Eugene Matvejev", |
| 9 | + "email": "eugene.matvejev@gmail.com" |
| 10 | + } |
| 11 | + ], |
| 12 | + "autoload": { |
| 13 | + "psr-4": { |
| 14 | + "EM\\CssCompiler\\Handler\\": "", |
| 15 | + "EM\\CssCompiler\\": "src/" |
| 16 | + } |
| 17 | + }, |
| 18 | + "autoload-dev": { |
| 19 | + "psr-4": { |
| 20 | + "EM\\Tests\\CssCompiler\\": "tests/" |
| 21 | + } |
| 22 | + }, |
| 23 | + "require": { |
| 24 | + "php": ">= 7.0.4", |
| 25 | + "leafo/lessphp": "^0.5", |
| 26 | + "leafo/scssphp": "0.6.3 as dev-master", |
| 27 | + "leafo/scssphp-compass": "dev-master" |
| 28 | + }, |
| 29 | + "require-dev": { |
| 30 | + "composer/composer": "^1.1", |
| 31 | + "phpunit/phpunit": "^5.4" |
| 32 | + }, |
| 33 | + "minimum-stability": "dev", |
| 34 | + "scripts": { |
| 35 | + "post-update-cmd": "@custom-events", |
| 36 | + "post-install-cmd": "@custom-events", |
| 37 | + "custom-events": [ |
| 38 | + "EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS" |
| 39 | + ] |
| 40 | + }, |
| 41 | + "config": { |
| 42 | + "bin-dir": "bin/" |
| 43 | + }, |
| 44 | + "extra": { |
| 45 | + "css-compiler": [ |
| 46 | + { |
| 47 | + "format": "compact", |
| 48 | + "force": true, |
| 49 | + "input": [ |
| 50 | + "tests/shared-fixtures/scss" |
| 51 | + ], |
| 52 | + "output": "var/cache/assets/scss.css" |
| 53 | + }, |
| 54 | + { |
| 55 | + "format": "compact", |
| 56 | + "force": true, |
| 57 | + "input": [ |
| 58 | + "tests/shared-fixtures/sass" |
| 59 | + ], |
| 60 | + "output": "var/cache/assets/sass.css" |
| 61 | + }, |
| 62 | + { |
| 63 | + "format": "compact", |
| 64 | + "input": [ |
| 65 | + "tests/shared-fixtures/compass/app.scss" |
| 66 | + ], |
| 67 | + "output": "var/cache/assets/compass.css" |
| 68 | + } |
| 69 | + ] |
| 70 | + } |
| 71 | +} |
0 commit comments