An open API service indexing awesome lists of open source software.

https://github.com/ck-developer/laravel-elixir-bower


https://github.com/ck-developer/laravel-elixir-bower

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# Laravel Elixir Bower Normalize

### Install

```sh
$ npm install laravel-elixir-bower-normalize --save-dev
```

### Example

bower.json

```javascript
{
"name": "laravel-elixir-bower-normalize",
"version": "1.0.0",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"bootstrap": "~3.3.5"
},
"overrides": {
"jquery": {
"main": [
"dist/jquery.js"
],
"normalize": {
"": "*.js"
}
},
"bootstrap": {
"main": [
"dist/css/bootstrap.min.css",
"dist/css/bootstrap.css",
"dist/js/bootstrap.min.js",
"dist/js/bootstrap.js",
"dist/fonts/*"
],
"normalize": {
"css": "*.css",
"js": "*.js",
"fonts": [
"*.eot",
"*.svg",
"*.ttf",
"*.woff",
"*.woff2"
]
}
}
}
}
```

gulpfile.js

```javascript
var elixir = require('laravel-elixir');

require('laravel-elixir-bower-normalize');

elixir(function (mix) {

// Bower dependencies
mix.bower({
src: './bower_components',
output: './resources/assets/vendor'
});
});
```