Add sassyJSON library

This commit is contained in:
Benoit Favreault 2015-03-29 06:16:32 -04:00 committed by Francis Lachapelle
parent 3441a66040
commit b5bea16abb
3 changed files with 7 additions and 3 deletions

View file

@ -33,11 +33,13 @@ module.exports = function(grunt) {
}, },
sass: { sass: {
options: { options: {
cache: false, require: 'SassyJSON',
noCache: true,
loadPath: ['scss', 'bower_components/compass-mixins/lib', loadPath: ['scss', 'bower_components/compass-mixins/lib',
'bower_components/compass-breakpoint/stylesheets', 'bower_components/compass-breakpoint/stylesheets',
'bower_components/breakpoint-slicer/stylesheets', 'bower_components/breakpoint-slicer/stylesheets',
'bower_components/sassy-maps/sass' 'bower_components/sassy-maps/sass',
'node_modules/SassyJSON/dist'
], ],
style: 'expanded' style: 'expanded'
}, },

View file

@ -10,6 +10,7 @@
"grunt-contrib-compass": "^1.0.1", "grunt-contrib-compass": "^1.0.1",
"grunt-contrib-sass": ">=0.8.0", "grunt-contrib-sass": ">=0.8.0",
"grunt-contrib-watch": ">=0.5.3", "grunt-contrib-watch": ">=0.5.3",
"grunt-postcss": "^0.3.0" "grunt-postcss": "^0.3.0",
"sassyjson": "^1.1.8"
} }
} }

View file

@ -13,6 +13,7 @@
@import '_breakpoint.scss', '_sassy-maps.scss'; @import '_breakpoint.scss', '_sassy-maps.scss';
// This is no longer required because we use grunt-contrib-compass (ruby required) // This is no longer required because we use grunt-contrib-compass (ruby required)
//@import '_compass.scss'; //@import '_compass.scss';
@import 'SassyJSON';
@import 'core/variables'; // Will be replace by a complete 'config file @import 'core/variables'; // Will be replace by a complete 'config file