mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2026-05-26 07:08:08 +00:00
Update libs
This commit is contained in:
@@ -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']
|
||||
|
||||
4
butterfly/static/main.min.js
vendored
4
butterfly/static/main.min.js
vendored
File diff suppressed because one or more lines are too long
11
package.json
11
package.json
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user