Skip to content

Commit

Permalink
* chore: added grunt jobs * chore: updated .gitignore * added package…
Browse files Browse the repository at this point in the history
….json * updated version
  • Loading branch information
JohnnyTheTank committed Nov 25, 2015
1 parent 276a38a commit 508b0e7
Show file tree
Hide file tree
Showing 6 changed files with 290 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/.sass-cache
/node_modules
/.idea
.DS_Store
.codekit-cache
Expand Down
46 changes: 46 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
module.exports = function(grunt) {

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
distMin: {
options: { // Target options
style: 'compressed',
sourcemap: 'none'
},
files: {
'dist/bootstrap-block-grid.min.css': 'src/bootstrap-block-grid.scss'
}
},
dist: {
options: { // Target options
style: 'expanded',
sourcemap: 'none'
},
files: {
'src/bootstrap-block-grid.css': 'src/bootstrap-block-grid.scss',
'dist/bootstrap-block-grid.css': 'src/bootstrap-block-grid.scss'
}
}

},
watch: {
minifySCSS: {
files: [
'src/*.scss'
],
tasks: ['sass'],
options: {
spawn: true,
},
}
},
});

grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-sass');

grunt.registerTask('default', ['watch']);

};

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"authors": [
"Jonathan Hornung <[email protected]>"
],
"version": "1.0.0",
"version": "1.0.1",
"description": "block grid for bootstrap",
"main": "dist/bootstrap-block-grid.min.css",
"moduleType": [
Expand Down
Loading

0 comments on commit 508b0e7

Please sign in to comment.