Created
December 15, 2013 15:06
-
-
Save i8ramin/7974067 to your computer and use it in GitHub Desktop.
Modified Gruntfile.js and package.json files to work with Appgyver Steroids
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,**/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
module.exports = function (grunt) { | |
// show elapsed time at the end | |
require('time-grunt')(grunt); | |
// load all grunt tasks | |
require('load-grunt-tasks')(grunt); | |
grunt.initConfig({ | |
watch: { | |
compass: { | |
files: ['app/scss/{,**/}*.{scss,sass}'], | |
tasks: ['compass'] | |
} | |
}, | |
compass: { | |
options: { | |
sassDir: 'app/scss', | |
cssDir: 'www/stylesheets', | |
imagesDir: 'www/images', | |
fontsDir: 'app/scss/fonts', | |
httpImagesPath: '/images', | |
relativeAssets: false, | |
debugInfo: false | |
}, | |
dist: {} | |
} | |
}); | |
grunt.registerTask('default', [ | |
'steroids-make', | |
// 'steroids-compile-sass', | |
'compass' | |
// 'watch' | |
]); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "mySteroidsProject", | |
"version": "0.0.1", | |
"description": "My awesome AppGyver Steroids project.", | |
"repository": "N/A", | |
"readme": "N/A", | |
"private": true, | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"devDependencies": { | |
"grunt-steroids": "0.1.x", | |
"grunt-contrib-compass": "0.7.x", | |
"grunt-contrib-watch": "0.5.x", | |
"load-grunt-tasks": "0.2.x", | |
"time-grunt": "0.2.x" | |
}, | |
"license": "none", | |
"engines": { | |
"steroids": "3.1.4" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment