Skip to content

Instantly share code, notes, and snippets.

View ronnyhartenstein's full-sized avatar

Ronny Hartenstein ronnyhartenstein

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ronnyhartenstein
ronnyhartenstein / bower_concat.js
Last active August 29, 2015 14:16
OXID Bootstrap Responsive: Bower concat
module.exports = function (grunt, options) {
return {
vendor_libs: {
dest: './out/meinshop/src/js/vendor-libs.js',
include: [
'jquery',
'jquery-ui',
'bootstrap',
'modernizr',
'underscore',
@ronnyhartenstein
ronnyhartenstein / copy.js
Last active August 29, 2015 14:16
OXID Bootstrap Responsive: Grunt copy
module.exports = function (grunt, options) {
return {
azure_reset: {
src: './out/azure/src/css/reset.css',
dest: './out/meinshop/src/css/vendor/_azure_reset.scss'
},
azure_theme: {
src: './out/azure/src/css/oxid.css',
dest: './out/meinshop/src/css/vendor/_azure_oxid.scss'
},
@ronnyhartenstein
ronnyhartenstein / aliases.yaml
Last active August 29, 2015 14:16
OXID Bootstrap Responsive: Grunt Aliases Tasks
default:
- js_vendor_libs
- js_all
- css
js_vendor:
- bower_concat:vendor_libs
- uglify:vendor_libs
js:
@ronnyhartenstein
ronnyhartenstein / csswring.js
Created March 6, 2015 18:57
OXID Bootstrap Responsive: Grunt csswring
module.exports = function (grunt, options) {
return {
options: {
report: "gzip",
removeAllComments: true,
preserveHacks: true
},
vendor: {
src: [
'./out/azure/src/css/libs/jscrollpane.css',
@ronnyhartenstein
ronnyhartenstein / exec.js
Created March 6, 2015 18:58
OXID Bootstrap Responsive: Grunt exec
module.exports = function (grunt, options) {
return {
bower_update: 'bower update'
};
};
@ronnyhartenstein
ronnyhartenstein / sass.js
Last active August 29, 2015 14:16
OXID Bootstrap Responsive: Grunt SASS
module.exports = function (grunt, options) {
return {
meinshop: {
options: {
style: 'compact',
sourcemap: 'auto',
loadPath: ['./bower_components/bootstrap-sass/assets/stylesheets']
},
files: {
'./out/meinshop/src/css/meinshop.css': './out/meinshop/src/css/meinshop.scss'
@ronnyhartenstein
ronnyhartenstein / watch.js
Last active August 29, 2015 14:16
OXID Bootstrap Responsive: Grunt watch
module.exports = function (grunt, options) {
return {
options: {
spawn: false
},
css: {
files: [
'./out/meinshop/src/css/**/*.scss'
],
tasks: ['css_sass']
@ronnyhartenstein
ronnyhartenstein / package.json
Last active August 29, 2015 14:16
OXID Bootstrap Responsive: Node.js package.json
{
"name": "meinshop",
"version": "1.0.0",
"devDependencies": {
"bower": "*",
"grunt": "*",
"grunt-contrib-jshint": "*",
"grunt-contrib-uglify": "*",
"grunt-contrib-watch": "*",
"grunt-contrib-sass": "*",
@ronnyhartenstein
ronnyhartenstein / bower.json
Created March 6, 2015 19:10
OXID Bootstrap Responsive: Bower Pakete
{
"name": "meinshop",
"version": "1.0.0",
"dependencies": {
"bootstrap": "3.3.2",
"bootstrap-sass": "3.3.2",
"fontawesome": "*",
"modernizr": "*",
"jquery": "1.11.2",