https://github.com/ck-developer/laravel-elixir-bower
https://github.com/ck-developer/laravel-elixir-bower
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ck-developer/laravel-elixir-bower
- Owner: ck-developer
- License: mit
- Created: 2015-09-26T09:56:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-26T10:11:38.000Z (over 10 years ago)
- Last Synced: 2025-01-11T04:29:30.514Z (about 1 year ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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'
});
});
```