Browse Source

Setting up sass

pull/214/head
connors 11 years ago
parent
commit
e7a6e2eaa4
  1. 17
      Gruntfile.js
  2. 0
      lib/scss/bars.scss
  3. 0
      lib/scss/base.scss
  4. 0
      lib/scss/buttons.scss
  5. 0
      lib/scss/chevrons.scss
  6. 0
      lib/scss/counts.scss
  7. 0
      lib/scss/forms.scss
  8. 0
      lib/scss/lists.scss
  9. 0
      lib/scss/modals.scss
  10. 0
      lib/scss/popovers.scss
  11. 0
      lib/scss/push.scss
  12. 0
      lib/scss/segmented-controllers.scss
  13. 0
      lib/scss/sliders.scss
  14. 0
      lib/scss/toggles.scss
  15. 41
      package.json

17
Gruntfile.js

@ -19,6 +19,19 @@ module.exports = function(grunt) {
dest: 'build/<%= pkg.name %>.min.js'
}
}
sass: {
dist : {
files: [{
expand: true,
cwd: 'ratchet',
src: ['lib/scss/*.scss'],
dest: 'dist',
ext: '.css'
}]
}
}
});
// Load the plugin that provides the "uglify" task.
@ -29,3 +42,7 @@ module.exports = function(grunt) {
grunt.registerTask('default', ['uglify']);
};
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.registerTask('default', ['sass']);

0
lib/css/bars.css → lib/scss/bars.scss

0
lib/css/base.css → lib/scss/base.scss

0
lib/css/buttons.css → lib/scss/buttons.scss

0
lib/css/chevrons.css → lib/scss/chevrons.scss

0
lib/css/counts.css → lib/scss/counts.scss

0
lib/css/forms.css → lib/scss/forms.scss

0
lib/css/lists.css → lib/scss/lists.scss

0
lib/css/modals.css → lib/scss/modals.scss

0
lib/css/popovers.css → lib/scss/popovers.scss

0
lib/css/push.css → lib/scss/push.scss

0
lib/css/segmented-controllers.css → lib/scss/segmented-controllers.scss

0
lib/css/sliders.css → lib/scss/sliders.scss

0
lib/css/toggles.css → lib/scss/toggles.scss

41
package.json

@ -1,26 +1,33 @@
{
"name": "ratchet"
, "version": "2.0.0"
, "devDependencies": {
"name": "ratchet",
"version": "2.0.0",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.6.3",
"grunt-contrib-nodeunit": "~0.2.0",
"grunt-contrib-uglify": "~0.2.2"
}
, "keywords": ["ratchet", "css", "ios", "prototype"]
, "homepage": "http://maker.github.com/ratchet/"
, "author": "Connor Sears, Dave Gamache, and Jacob Thornton"
, "repository": {
"type": "git"
, "url": "https://github.com/maker/ratchet.git"
}
, "bugs": {
"grunt-contrib-uglify": "~0.2.2",
"grunt-contrib-sass": "~0.5.0"
},
"keywords": [
"ratchet",
"css",
"ios",
"prototype"
],
"homepage": "http://maker.github.com/ratchet/",
"author": "Connor Sears, Dave Gamache, and Jacob Thornton",
"repository": {
"type": "git",
"url": "https://github.com/maker/ratchet.git"
},
"bugs": {
"url": "https://github.com/maker/ratchet/issues"
}
, "licenses": [
},
"licenses": [
{
"type": "MIT"
, "url": "http://www.opensource.org/licenses/MIT"
"type": "MIT",
"url": "http://www.opensource.org/licenses/MIT"
}
]
}
Loading…
Cancel
Save