assets-bower-ci
A front-end assets management tool for php frameworks
Features
- only need one json config file
- support compress for js and css file.
- support dependency (but some bug #26)
Example
php
- run
index.php
inexample/php
folder. you will see a page which haslink
andscript
from theparsed.json
- change
assets.json
and runexample.js
, repeat step 1, the assets loaded changed
nginx
- in order to load fonts properly, you need to set CORS header for your static files, this conf file is a example. You may need to set the header in your cdn provider as well
TODO
- Use node-config for configuration
- Upload files to cdn server
- Support env variables
- refactor to make code cleaner
- support other frameworks, like laravel, symfony.
DONE
- Use Travis CI for test.
- support different environment
- remove bower support. it's too hard to use
- remove custom helpers, use lodash or other util libs