compass-aurora 3.0.0.alpha.4 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/aurora.rb +2 -2
- data/templates/bower/manifest.rb +20 -0
- data/templates/corona/manifest.rb +0 -8
- data/templates/corona/partials/design/_design.scss +0 -2
- data/templates/grunt/manifest.rb +23 -0
- data/templates/polaris/manifest.rb +0 -8
- data/templates/project/manifest.rb +0 -8
- data/templates/shared/Gemfile.txt +1 -1
- data/templates/shared/Gruntfile.js +57 -13
- data/templates/shared/jshintrc.txt +19 -0
- data/templates/shared/package.json.erb +5 -1
- metadata +6 -5
data/lib/aurora.rb
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
description "Aurora Bower Configuration"
|
2
|
+
no_configuration_file!
|
3
|
+
|
4
|
+
# Bower's for the Birds
|
5
|
+
file '../shared/bowerrc.txt', :to => '.bowerrc'
|
6
|
+
file '../shared/component.json.erb', :to => 'component.json', :erb => true
|
7
|
+
|
8
|
+
help %Q{
|
9
|
+
Please contact Sam Richard with questions:
|
10
|
+
|
11
|
+
sam@snug.ug
|
12
|
+
}
|
13
|
+
|
14
|
+
welcome_message %Q{
|
15
|
+
Aurora Bower Configuration.
|
16
|
+
|
17
|
+
See http://snugug.github.io/Aurora/ for full documentation.
|
18
|
+
|
19
|
+
Now run `bower install` to install your Bower dependencies.
|
20
|
+
}
|
@@ -22,14 +22,6 @@ file '../shared/_mixins.scss', :like => :stylesheet, :to => 'partials/base/_mixi
|
|
22
22
|
|
23
23
|
file '../shared/_extendables.scss', :like => :stylesheet, :to => 'partials/global/_extendables.scss'
|
24
24
|
|
25
|
-
# Bower's for the Birds
|
26
|
-
file '../shared/bowerrc.txt', :to => '.bowerrc'
|
27
|
-
file '../shared/component.json.erb', :to => 'component.json', :erb => true
|
28
|
-
|
29
|
-
# Grunt's for the Boars
|
30
|
-
file '../shared/Gruntfile.js', :to => 'Gruntfile.js'
|
31
|
-
file '../shared/package.json.erb', :to => 'package.json', :erb => true
|
32
|
-
|
33
25
|
# Developer Consistency
|
34
26
|
file '../shared/Gemfile.txt', :to => 'Gemfile'
|
35
27
|
file '../shared/editorconfig.txt', :to => '.editorconfig'
|
@@ -0,0 +1,23 @@
|
|
1
|
+
description "Aurora Grunt Configuration"
|
2
|
+
no_configuration_file!
|
3
|
+
|
4
|
+
# Grunt's for the Boars
|
5
|
+
file '../shared/Gruntfile.js', :to => 'Gruntfile.js'
|
6
|
+
file '../shared/package.json.erb', :to => 'package.json', :erb => true
|
7
|
+
file '../shared/jshintrc.txt', :to => '.jshintrc'
|
8
|
+
|
9
|
+
help %Q{
|
10
|
+
Please contact Sam Richard with questions:
|
11
|
+
|
12
|
+
sam@snug.ug
|
13
|
+
}
|
14
|
+
|
15
|
+
welcome_message %Q{
|
16
|
+
Aurora Grunt Configuration.
|
17
|
+
|
18
|
+
See http://snugug.github.io/Aurora/ for full documentation.
|
19
|
+
|
20
|
+
Now run `npm install` to install your Grunt dependencies.
|
21
|
+
|
22
|
+
You can now simply run `grunt watch` to compile your Sass and start LiveReload.
|
23
|
+
}
|
@@ -22,14 +22,6 @@ file '../shared/_functions.scss', :like => :stylesheet, :to => 'partials/global/
|
|
22
22
|
file '../shared/_mixins.scss', :like => :stylesheet, :to => 'partials/global/_mixins.scss'
|
23
23
|
file '../shared/_extendables.scss', :like => :stylesheet, :to => 'partials/global/_extendables.scss'
|
24
24
|
|
25
|
-
# Bower's for the Birds
|
26
|
-
file '../shared/bowerrc.txt', :to => '.bowerrc'
|
27
|
-
file '../shared/component.json.erb', :to => 'component.json', :erb => true
|
28
|
-
|
29
|
-
# Grunt's for the Boars
|
30
|
-
file '../shared/Gruntfile.js', :to => 'Gruntfile.js'
|
31
|
-
file '../shared/package.json.erb', :to => 'package.json', :erb => true
|
32
|
-
|
33
25
|
# Developer Consistency
|
34
26
|
file '../shared/Gemfile.txt', :to => 'Gemfile'
|
35
27
|
file '../shared/editorconfig.txt', :to => '.editorconfig'
|
@@ -22,14 +22,6 @@ file '../shared/_functions.scss', :like => :stylesheet, :to => 'partials/global/
|
|
22
22
|
file '../shared/_mixins.scss', :like => :stylesheet, :to => 'partials/global/_mixins.scss'
|
23
23
|
file '../shared/_extendables.scss', :like => :stylesheet, :to => 'partials/global/_extendables.scss'
|
24
24
|
|
25
|
-
# Bower's for the Birds
|
26
|
-
file '../shared/bowerrc.txt', :to => '.bowerrc'
|
27
|
-
file '../shared/component.json.erb', :to => 'component.json', :erb => true
|
28
|
-
|
29
|
-
# Grunt's for the Boars
|
30
|
-
file '../shared/Gruntfile.js', :to => 'Gruntfile.js'
|
31
|
-
file '../shared/package.json.erb', :to => 'package.json', :erb => true
|
32
|
-
|
33
25
|
# Developer Consistency
|
34
26
|
file '../shared/Gemfile.txt', :to => 'Gemfile'
|
35
27
|
file '../shared/editorconfig.txt', :to => '.editorconfig'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
source 'https://rubygems.org'
|
3
3
|
|
4
4
|
# ~> Refers to all versions of the given gem on the current full version number, so it will be able to use any version of Compass Aurora until Compass Aurora 4.x.x. For a specific version of a gem, remove the ~>
|
5
|
-
gem 'compass-aurora', '~>3.0.0
|
5
|
+
gem 'compass-aurora', '~>3.0.0'
|
6
6
|
gem 'toolkit', '~>1.0.0'
|
7
7
|
gem 'singularitygs', '~>1.0.7'
|
8
8
|
gem 'breakpoint', '~>2.0.2'
|
@@ -5,37 +5,81 @@ module.exports = function (grunt) {
|
|
5
5
|
grunt.initConfig({
|
6
6
|
watch: {
|
7
7
|
options: {
|
8
|
-
|
8
|
+
livereload: 9001
|
9
9
|
},
|
10
10
|
css: {
|
11
|
-
|
12
|
-
|
11
|
+
files: ['sass/{,**/}*.scss'],
|
12
|
+
tasks: ['compass:dev']
|
13
|
+
},
|
14
|
+
js: {
|
15
|
+
files: ['js/{,**/}*.js'],
|
16
|
+
tasks: ['jshint']
|
13
17
|
}
|
14
18
|
},
|
15
19
|
|
16
20
|
compass: {
|
17
21
|
options: {
|
18
|
-
|
19
|
-
|
22
|
+
config: 'config.rb',
|
23
|
+
bundleExec: true
|
24
|
+
},
|
25
|
+
dev: {
|
26
|
+
options: {
|
27
|
+
imagesDir: 'images'
|
28
|
+
}
|
20
29
|
},
|
21
|
-
|
22
|
-
|
30
|
+
dist: {
|
31
|
+
options: {
|
32
|
+
imagesDir: 'images-min',
|
33
|
+
force: true
|
34
|
+
}
|
35
|
+
}
|
36
|
+
},
|
37
|
+
|
38
|
+
jshint: {
|
39
|
+
options: {
|
40
|
+
jshintrc: '.jshintrc'
|
23
41
|
},
|
24
|
-
|
25
|
-
|
42
|
+
all: ['js/{,**/}*.js']
|
43
|
+
},
|
44
|
+
|
45
|
+
imagemin: {
|
46
|
+
dist: {
|
47
|
+
options: {
|
48
|
+
optimizationLevel: 3
|
49
|
+
},
|
50
|
+
files: [{
|
51
|
+
expand: true,
|
52
|
+
cwd: 'images',
|
53
|
+
src: ['**/*.png', '**/*.jpg'],
|
54
|
+
dest: 'images-min/'
|
55
|
+
}]
|
56
|
+
}
|
57
|
+
},
|
58
|
+
|
59
|
+
parallel: {
|
60
|
+
assets: {
|
61
|
+
grunt: true,
|
62
|
+
tasks: ['compass:dist', 'imagemin']
|
26
63
|
}
|
27
64
|
}
|
28
65
|
});
|
29
66
|
|
67
|
+
|
30
68
|
grunt.event.on('watch', function(action, filepath) {
|
31
|
-
grunt.config([
|
69
|
+
grunt.config([
|
70
|
+
'compass:dev',
|
71
|
+
'jshint'
|
72
|
+
], filepath);
|
32
73
|
});
|
33
74
|
|
34
75
|
grunt.loadNpmTasks('grunt-contrib-watch');
|
35
76
|
grunt.loadNpmTasks('grunt-contrib-compass');
|
36
|
-
|
77
|
+
grunt.loadNpmTasks('grunt-contrib-jshint');
|
78
|
+
grunt.loadNpmTasks('grunt-contrib-imagemin');
|
79
|
+
grunt.loadNpmTasks('grunt-parallel');
|
37
80
|
|
38
81
|
grunt.registerTask('build', [
|
39
|
-
'
|
82
|
+
'parallel:assets',
|
83
|
+
'jshint'
|
40
84
|
]);
|
41
|
-
}
|
85
|
+
};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"browser": true,
|
3
|
+
"bitwise": true,
|
4
|
+
"devel": true,
|
5
|
+
"camelcase": true,
|
6
|
+
"curly": true,
|
7
|
+
"eqeqeq": true,
|
8
|
+
"immed": true,
|
9
|
+
"indent": 2,
|
10
|
+
"latedef": true,
|
11
|
+
"newcap": true,
|
12
|
+
"noarg": true,
|
13
|
+
"quotmark": true,
|
14
|
+
"regexp": true,
|
15
|
+
"undef": true,
|
16
|
+
"unused": true,
|
17
|
+
"trailing": true,
|
18
|
+
"smarttabs": true
|
19
|
+
}
|
@@ -6,7 +6,11 @@
|
|
6
6
|
"devDependencies": {
|
7
7
|
"grunt": "~0.4.0",
|
8
8
|
"grunt-contrib-watch": "~0.4.0",
|
9
|
-
"grunt-contrib-compass": "~0.
|
9
|
+
"grunt-contrib-compass": "~0.2.0",
|
10
|
+
"grunt-contrib-jshint": "~0.1.1",
|
11
|
+
"grunt-contrib-uglify": "~0.2.0",
|
12
|
+
"grunt-contrib-imagemin": "~0.1.4",
|
13
|
+
"grunt-parallel": "~0.1.0"
|
10
14
|
},
|
11
15
|
"engines": {
|
12
16
|
"node": ">=0.8.0"
|
metadata
CHANGED
@@ -1,14 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-aurora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
4
|
+
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 3
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
|
10
|
-
- 4
|
11
|
-
version: 3.0.0.alpha.4
|
9
|
+
version: 3.0.0
|
12
10
|
platform: ruby
|
13
11
|
authors:
|
14
12
|
- Sam Richard
|
@@ -17,7 +15,7 @@ autorequire:
|
|
17
15
|
bindir: bin
|
18
16
|
cert_chain: []
|
19
17
|
|
20
|
-
date: 2013-05-
|
18
|
+
date: 2013-05-04 00:00:00 -05:00
|
21
19
|
default_executable:
|
22
20
|
dependencies:
|
23
21
|
- !ruby/object:Gem::Dependency
|
@@ -106,6 +104,7 @@ files:
|
|
106
104
|
- stylesheets/aurora/_singularity-grid.scss
|
107
105
|
- stylesheets/aurora/_susy-grid.scss
|
108
106
|
- stylesheets/aurora/_system.scss
|
107
|
+
- templates/bower/manifest.rb
|
109
108
|
- templates/box-sizing/behaviors/box-sizing/boxsizing.htc
|
110
109
|
- templates/box-sizing/behaviors/box-sizing/boxsizing.php
|
111
110
|
- templates/box-sizing/manifest.rb
|
@@ -121,6 +120,7 @@ files:
|
|
121
120
|
- templates/corona/partials/global/_type.scss
|
122
121
|
- templates/corona/print.scss
|
123
122
|
- templates/corona/style.scss
|
123
|
+
- templates/grunt/manifest.rb
|
124
124
|
- templates/polaris/manifest.rb
|
125
125
|
- templates/polaris/partials/global/_base.scss
|
126
126
|
- templates/polaris/partials/layouts/_layouts.scss
|
@@ -148,6 +148,7 @@ files:
|
|
148
148
|
- templates/shared/Gemfile.txt
|
149
149
|
- templates/shared/gitignore.txt
|
150
150
|
- templates/shared/Gruntfile.js
|
151
|
+
- templates/shared/jshintrc.txt
|
151
152
|
- templates/shared/package.json.erb
|
152
153
|
- templates/shared/README-Partials.md
|
153
154
|
- templates/shared/README-Sass.md
|