Update libs

This commit is contained in:
Florian Mounier
2014-07-18 11:11:07 +02:00
parent 2db77cc250
commit c0943dfde9
3 changed files with 13 additions and 27 deletions

View File

@@ -13,20 +13,11 @@ module.exports = (grunt) ->
files:
'butterfly/static/main.min.js': 'butterfly/static/main.js'
sass_to_scss:
butterfly:
expand: true
cwd: 'sass/'
src: '*.sass'
dest: 'butterfly/scss/'
ext: '.scss'
sass:
butterfly:
expand: true
cwd: 'butterfly/scss'
src: '*.scss'
cwd: 'butterfly/sass'
src: '*.sass'
dest: 'butterfly/static/'
ext: '.css'
@@ -61,7 +52,7 @@ module.exports = (grunt) ->
files: [
'sass/*.sass'
]
tasks: ['sass_to_scss', 'sass']
tasks: ['sass']
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-contrib-watch'
@@ -69,12 +60,8 @@ module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-contrib-cssmin'
grunt.loadNpmTasks 'grunt-coffeelint'
grunt.loadNpmTasks 'grunt-sass'
grunt.loadNpmTasks 'grunt-sass-to-scss'
grunt.registerTask 'dev', [
'coffeelint', 'coffee', 'sass_to_scss', 'sass', 'watch']
grunt.registerTask 'css', ['sass_to_scss', 'sass']
'coffeelint', 'coffee', 'sass', 'watch']
grunt.registerTask 'css', ['sass']
grunt.registerTask 'default', [
'coffeelint', 'coffee',
'sass_to_scss', 'sass',
'uglify']
'coffeelint', 'coffee', 'sass', 'uglify']

File diff suppressed because one or more lines are too long

View File

@@ -13,13 +13,12 @@
},
"homepage": "https://github.com/paradoxxxzero/butterfly",
"devDependencies": {
"grunt": "~0.4.4",
"grunt": "^0.4.5",
"grunt-coffeelint": "0.0.10",
"grunt-contrib-coffee": "^0.10.1",
"grunt-contrib-cssmin": "^0.10.0",
"grunt-contrib-uglify": "^0.5.0",
"grunt-contrib-watch": "^0.6.1",
"grunt-contrib-uglify": "^0.4.0",
"grunt-contrib-cssmin": "^0.9.0",
"grunt-coffeelint": "0.0.8",
"grunt-sass": "^0.12.1",
"grunt-sass-to-scss": "^0.1.9"
"grunt-sass": "^0.14.0"
}
}