compass-aurora 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,6 @@ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
7
7
  Compass::Frameworks.register('aurora', :path => extension_path)
8
8
 
9
9
  module Aurora
10
- VERSION = "3.0.3"
11
- DATE = "2013-05-05"
10
+ VERSION = "3.0.4"
11
+ DATE = "2013-05-08"
12
12
  end
@@ -12,8 +12,11 @@ module.exports = function (grunt) {
12
12
  tasks: ['compass:dev']
13
13
  },
14
14
  js: {
15
- files: ['<%= project_js %>/{,**/}*.js'],
16
- tasks: ['jshint']
15
+ files: [
16
+ '<%= project_js %>/{,**/}*.js',
17
+ '!<%= project_js %>/{,**/}*.js'
18
+ ],
19
+ tasks: ['jshint', 'uglify:dev']
17
20
  }
18
21
  },
19
22
 
@@ -57,10 +60,51 @@ module.exports = function (grunt) {
57
60
  }
58
61
  },
59
62
 
63
+ svgmin: {
64
+ dist: {
65
+ files: [{
66
+ expand: true,
67
+ cwd: '<%= project_img %>',
68
+ src: '**/*.svg',
69
+ dest: '<%= project_img %>-min'
70
+ }]
71
+ }
72
+ },
73
+
74
+ uglify: {
75
+ dev: {
76
+ options: {
77
+ mangle: false,
78
+ compress: false,
79
+ beautify: true
80
+ },
81
+ files: [{
82
+ expand: true,
83
+ cwd: '<%= project_js %>',
84
+ src: ['**/*.js', '!**/*.min.js'],
85
+ dest: '<%= project_js %>',
86
+ ext: '.min.js'
87
+ }]
88
+ },
89
+ dist: {
90
+ options: {
91
+ mangle: true,
92
+ compress: true
93
+ },
94
+ files: [{
95
+ expand: true,
96
+ cwd: '<%= project_js %>',
97
+ src: ['**/*.js', '!**/*.min.js'],
98
+ dest: '<%= project_js %>',
99
+ ext: '.min.js'
100
+ }]
101
+ }
102
+ },
103
+
60
104
  parallel: {
61
105
  assets: {
62
106
  grunt: true,
63
- tasks: ['compass:dist', 'imagemin']
107
+ tasks: ['compass:dist', 'imagemin', 'svgmin', 'uglify:dist']
64
108
  }
65
109
  }
66
110
  });
@@ -78,6 +122,8 @@ module.exports = function (grunt) {
78
122
  grunt.loadNpmTasks('grunt-contrib-jshint');
79
123
  grunt.loadNpmTasks('grunt-contrib-imagemin');
80
124
  grunt.loadNpmTasks('grunt-parallel');
125
+ grunt.loadNpmTasks('grunt-svgmin');
126
+ grunt.loadNpmTasks('grunt-contrib-uglify');
81
127
 
82
128
  grunt.registerTask('build', [
83
129
  'parallel:assets',
@@ -2,11 +2,12 @@
2
2
  "browser": true,
3
3
  "bitwise": true,
4
4
  "devel": true,
5
- "camelcase": true,
6
5
  "curly": true,
7
6
  "eqeqeq": true,
7
+ "forin": true,
8
8
  "immed": true,
9
9
  "indent": 2,
10
+ "jquery": true,
10
11
  "latedef": true,
11
12
  "newcap": true,
12
13
  "noarg": true,
@@ -15,5 +16,9 @@
15
16
  "undef": true,
16
17
  "unused": true,
17
18
  "trailing": true,
18
- "smarttabs": true
19
+ "smarttabs": true,
20
+ "predef": [
21
+ "Drupal",
22
+ "Modernizr"
23
+ ]
19
24
  }
@@ -9,7 +9,8 @@
9
9
  "grunt-contrib-jshint": "~0.1.1",
10
10
  "grunt-contrib-uglify": "~0.2.0",
11
11
  "grunt-contrib-imagemin": "~0.1.4",
12
- "grunt-parallel": "~0.1.0"
12
+ "grunt-parallel": "~0.1.0",
13
+ "grunt-svgmin": "~0.1.0"
13
14
  },
14
15
  "engines": {
15
16
  "node": ">=0.8.0"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 3
7
7
  - 0
8
- - 3
9
- version: 3.0.3
8
+ - 4
9
+ version: 3.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sam Richard
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-05-05 00:00:00 -05:00
18
+ date: 2013-05-08 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency